Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.Graphics > Classes > TRSPathData > Methods

TRSPathData.SmoothCurveTo(TRSPoint,TRSPoint) Method

Scroll Prev Top Next More

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

Parameters

ControlPoint2

Type: System.Void

EndPoint

Type: System.Void

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb