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
firstControlPointPdfPointThe first control point.
secondControlPointPdfPointThe second control point.
endpointPdfPointThe 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.