Appends a smooth curve to the current TRSPathData.
The smooth curve is defined by 4 points:
• A start point--the last point of the TPathData.
• Two control points. If Points has more than two items, the first control point coincides with the start point of the curve, otherwise it is equal to the second control point. The Control2 parameter specifies the second control point.
• An end point, specified by the EndPoint parameter.
SmoothCurveTo 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 SmoothCurveTo.
To find the end point of the TRSPathData, call the LastPoint method.
Namespace: FMX.RS.Graphics
Delphi |
public |
Parameters
ControlPoint2
Type: System.Void
EndPoint
Type: System.Void
Reference•MoveTo •MoveToRel •CurveTo •CurveToRel •FMX.RS.Graphics.TRSPathData.SmoothCurveToRel(TRSPoint,TRSPoint) |