Skip to content

PdfContentStream.CCurveTo Method

CCurveTo(Double,Double,Double,Double,Double,Double)

Append a cubic Bézier curve to the current path.
Operator: c

C#
public void CCurveTo(double x1, double y1, double x2, double y2, double x3, double y3)

Parameters

x1 Double

X coordinate of the first control point.

y1 Double

Y coordinate of the first control point.

x2 Double

X coordinate of the second control point.

y2 Double

Y coordinate of the second control point.

x3 Double

X coordinate of the third control point.

y3 Double

Y coordinate of the third control point.

Remarks

The curve extends from the current point to the point (x3, y3), using the (x1, y1) and (x2, y2) as the Bézier control points. The new current point is (x3, y3).