PDFSetRgbStrokeOperator¶
Namespace: O2S.Components.PDF4NET.Graphics.Operators
Defines the RG (set RGB level for stroke operations) content stream operator.
Inheritance Object → PDFContentStreamOperator → PDFSetRgbStrokeOperator
Constructors¶
PDFSetRgbStrokeOperator()¶
Initializes a new PDFSetRgbStrokeOperator object.
PDFSetRgbStrokeOperator(Double, Double, Double)¶
Initializes a new PDFSetRgbStrokeOperator object.
Parameters
r Double
The red level.
g Double
The green level.
b Double
The blue level.
Properties¶
B¶
Gets or sets the blue level.
Property Value
Double
The blue level.
Remarks
The blue level is in [0, 1] range.
Context¶
Gets the content stream container from which the operator is extracted.
Property Value
PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.
G¶
Gets or sets the green level.
Property Value
Double
The green level.
Remarks
The green level is in [0, 1] range.
OpCode¶
Gets the operator code.
Property Value
String
The operator code as it is written in the content stream.
R¶
Gets or sets the red level.
Property Value
Double
The red level.
Remarks
The red level is in [0, 1] range.
Type¶
Gets or sets the operator type.
Property Value
PDFContentStreamOperatorType
The type of this operator.