Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfCanvas Class > PdfCanvas Methods > AppendCurveTo Method > AppendCurveTo Method (PdfPoint, PdfPoint, PdfPoint)
Appends a cubic Bezier curve to the current path.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void AppendCurveTo(
	PdfPoint firstControlPoint,
	PdfPoint secondControlPoint,
	PdfPoint endpoint
)
VB
Public Sub AppendCurveTo ( 
	firstControlPoint As PdfPoint,
	secondControlPoint As PdfPoint,
	endpoint As PdfPoint
)

Parameters

firstControlPoint
Type: BitMiracle.Docotic.Pdf.PdfPoint
The first control point.
secondControlPoint
Type: BitMiracle.Docotic.Pdf.PdfPoint
The second control point.
endpoint
Type: BitMiracle.Docotic.Pdf.PdfPoint
The endpoint.

Remarks

The curve extends from the CurrentPosition to the endpoint, using firstControlPoint and secondControlPoint as the Bezier control points.
The new current point is endpoint.

Note that the call to this method does not place any marks on the canvas; only the painting operators (StrokePath(), CloseAndStrokePath(), FillPath Overload, FillAndStrokePath Overload) do that.

Please use DrawCurveTo Overload if you want to draw a curve immediately.

See Also