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)
Create a new SetNonStrokeColorDeviceGray.
public SetNonStrokeColorDeviceGray(decimal gray)
Parameters
gray
decimalThe gray level.
Fields
Symbol
The symbol for this operation in a stream.
public const string Symbol = "g"
Field Value
Properties
Gray
The gray level between 0 (black) and 1 (white).
public decimal Gray { get; }
Property Value
Operator
public string Operator { get; }
Property Value
Methods
Run(IOperationContext)
public void Run(IOperationContext operationContext)
Parameters
operationContext
IOperationContext
ToString()
public override string ToString()
Returns
Write(Stream)
public void Write(Stream stream)
Parameters
stream
Stream