Table of Contents

Class SetNonStrokeColorDeviceGray

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

Set the gray level for non-stroking operations.

public class SetNonStrokeColorDeviceGray : IGraphicsStateOperation
Inheritance
SetNonStrokeColorDeviceGray
Implements
Inherited Members

Constructors

SetNonStrokeColorDeviceGray(decimal)

public SetNonStrokeColorDeviceGray(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