Table of Contents

Method DrawCurveTo

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

DrawCurveTo(PdfPoint, PdfPoint, PdfPoint)

Draws a cubic Bézier curve.

public void DrawCurveTo(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.

Please use AppendCurveTo if you want to append a curve to the current path.