Appends a curve to the current TRSPathData.
The curve is defined by 4 points:
• A start point--the last point of the TPathData.
• Two control points, specified by the ControlPoint1 and ControlPoint2 parameters.
• An end point, specified by the EndPoint parameter.
CurveTo adds the control points and the end point of the curve to the Points array. The added points are of type ppCurveTo.
To move the start point of the curve, call the MoveTo or MoveToRel method before calling CurveTo.
To find the end point of the TRSPathData, call the LastPoint method.
Namespace: RSGraphics
Delphi |
public |
Parameters
ControlPoint1
Type: System.Void
ControlPoint2
Type: System.Void
EndPoint
Type: System.Void