Table of Contents

Class SetStrokeColorDeviceGray

Namespace
UglyToad.PdfPig.Graphics.Operations
Assembly
UglyToad.PdfPig.dll

Set the gray level for stroking operations.

public class SetStrokeColorDeviceGray : IGraphicsStateOperation
Inheritance
SetStrokeColorDeviceGray
Implements
Inherited Members

Constructors

SetStrokeColorDeviceGray(decimal)

public SetStrokeColorDeviceGray(decimal gray)

Parameters

gray decimal

The gray level.

Fields

Symbol

The symbol for this operation in a stream.

public const string Symbol = "G"

Field Value

string

Properties

Gray

The gray level between 0 (black) and 1 (white).

public decimal Gray { get; }

Property Value

decimal

Operator

public string Operator { get; }

Property Value

string

Methods

Run(IOperationContext)

public void Run(IOperationContext operationContext)

Parameters

operationContext IOperationContext

ToString()

public override string ToString()

Returns

string

Write(Stream)

public void Write(Stream stream)

Parameters

stream Stream