Table of Contents

Method AppendCurveTo

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AppendCurveTo(PdfPoint, PdfPoint, PdfPoint)

Appends a cubic Bézier curve to the current path.

public void AppendCurveTo(PdfPoint firstControlPoint, PdfPoint secondControlPoint, PdfPoint endpoint)

Parameters

firstControlPoint PdfPoint

The first control point.

secondControlPoint PdfPoint

The second control point.

endpoint PdfPoint

The endpoint.

Remarks

The curve extends from the CurrentPosition to the endpoint, using firstControlPoint and secondControlPoint as the Bézier 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, FillAndStrokePath) do that.

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