Skip to content

# PDFCCurveToOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the c (curve to) content stream operator.

    public class PDFCCurveToOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFCCurveToOperator

## Constructors

### PDFCCurveToOperator()

Initializes a new PDFCCurveToOperator object.

    public PDFCCurveToOperator()

### PDFCCurveToOperator(Double, Double, Double, Double, Double, Double)

Initializes a new PDFCCurveToOperator object.

    public PDFCCurveToOperator(double x1, double y1, double x2, double y2, 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.

`x2` Double
The X coordinate of the second control point.

`y2` Double
The Y coordinate of the second 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.

### X2

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

    public double X2 { get; set; }

Property Value

Double
The X coordinate of the second 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.

### Y2

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

    public double Y2 { get; set; }

Property Value

Double
The Y coordinate of the second 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.