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
PdfPointThe first control point.
secondControlPoint
PdfPointThe second control point.
endpoint
PdfPointThe 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.