Class SetNonStrokeColorDeviceRgb
- Namespace
- UglyToad.PdfPig.Graphics.Operations
- Assembly
- UglyToad.PdfPig.dll
Set RGB color for non-stroking operations.
public class SetNonStrokeColorDeviceRgb : IGraphicsStateOperation
- Inheritance
-
SetNonStrokeColorDeviceRgb
- Implements
- Inherited Members
Constructors
SetNonStrokeColorDeviceRgb(decimal, decimal, decimal)
Create a new SetNonStrokeColorDeviceRgb.
public SetNonStrokeColorDeviceRgb(decimal r, decimal g, decimal b)
Parameters
Fields
Symbol
The symbol for this operation in a stream.
public const string Symbol = "rg"
Field Value
Properties
B
The blue level between 0 and 1.
public decimal B { get; }
Property Value
G
The green level between 0 and 1.
public decimal G { get; }
Property Value
Operator
public string Operator { get; }
Property Value
R
The red level between 0 and 1.
public decimal R { 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