Skip to content

PDFYCurveToOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the y (curve to) content stream operator.

public class PDFYCurveToOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFYCurveToOperator

Constructors

PDFYCurveToOperator()

Initializes a new PDFYCurveToOperator object.

public PDFYCurveToOperator()

PDFYCurveToOperator(Double, Double, Double, Double)

Initializes a new PDFYCurveToOperator object.

public PDFYCurveToOperator(double x1, double y1, double x3, double y3)

Parameters

x1 Double
The X coordinate of the first control point.

y1 Double
The Y coordinate of the first control point.

x3 Double
The X coordinate of the third control point.

y3 Double
The Y coordinate of the third control 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.


X1

Gets or sets the X coordinate of the first control point.

public double X1 { get; set; }

Property Value

Double
The X coordinate of the first control point.


X3

Gets or sets the X coordinate of the third control point.

public double X3 { get; set; }

Property Value

Double
The X coordinate of the third control point.


Y1

Gets or sets the Y coordinate of the first control point.

public double Y1 { get; set; }

Property Value

Double
The Y coordinate of the first control point.


Y3

Gets or sets the Y coordinate of the third control point.

public double Y3 { get; set; }

Property Value

Double
The Y coordinate of the third control point.