Draws a cubic Bezier curve.

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

Syntax

C#
public void DrawCurveTo(
	PointF firstControlPoint,
	PointF secondControlPoint,
	PointF endpoint
)
VB
Public Sub DrawCurveTo ( 
	firstControlPoint As PointF,
	secondControlPoint As PointF,
	endpoint As PointF
)

Parameters

firstControlPoint
Type: System.Drawing.PointF
The first control point.
secondControlPoint
Type: System.Drawing.PointF
The second control point.
endpoint
Type: System.Drawing.PointF
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.

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

See Also