Appends a cubic Bezier curve to the current path.

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

Syntax

C#
public void AppendCurveTo(
	PointF firstControlPoint,
	PointF secondControlPoint,
	PointF endpoint
)
VB
Public Sub AppendCurveTo ( 
	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.

Note that the call to this method does not place any marks on the canvas; only the painting operators (StrokePath(), CloseAndStrokePath(), FillPath Overload, FillAndStrokePath Overload) do that.

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

See Also