Skip to content

PDFPathClippingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines a path clipping content stream operator.

public class PDFPathClippingOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFPathClippingOperator

Constructors

PDFPathClippingOperator(PDFContentStreamOperatorType)

Initializes a new PDFPathClippingOperator object.

public PDFPathClippingOperator(PDFContentStreamOperatorType operatorType)

Parameters

operatorType PDFContentStreamOperatorType
The path clipping operator.


Properties

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.


Path

Gets the path clipped by this operator.

public PDFPathVisualObject Path { get; }

Property Value

PDFPathVisualObject
A PDFPathVisualObject object that described the path being clipped.

Remarks

This property is set only when the PDFPageTransform.EnableExtendedOperatorInformation property is set to true on the object that processes this operator.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.