Skip to content

PDFLineToOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the l (line to) content stream operator.

public class PDFLineToOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFLineToOperator

Constructors

PDFLineToOperator()

Initializes a new PDFLineToOperator object.

public PDFLineToOperator()

PDFLineToOperator(Double, Double)

Initializes a new PDFLineToOperator object.

public PDFLineToOperator(double x, double y)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.


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.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.


X

Gets or sets the X coordinate of the point.

public double X { get; set; }

Property Value

Double
The X coordinate of the point.


Y

Gets or sets the Y coordinate of the point.

public double Y { get; set; }

Property Value

Double
The Y coordinate of the point.