Skip to content

PDFSetFillColorOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the sc (set fill color) content stream operator.

public class PDFSetFillColorOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFSetFillColorOperator

Constructors

PDFSetFillColorOperator()

Initializes a new PDFSetFillColorOperator object.

public PDFSetFillColorOperator()

PDFSetFillColorOperator(Double[])

Initializes a new PDFSetFillColorOperator object.

public PDFSetFillColorOperator(Double[] colorComponents)

Parameters

colorComponents Double[]
The color components.


Properties

ColorComponents

Gets or sets the color components.

public Double[] ColorComponents { get; set; }

Property Value

Double[]
The color components.


Context

Gets the content stream container from which the operator is extracted.

public PDFContentStreamContainer Context { get; internal set; }

Property Value

PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.


OpCode

Gets the operator code.

public string OpCode { get; }

Property Value

String
The operator code as it is written in the content stream.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.