Returns a point of on the input line segment. The Midpoint parameter specifies the percentage distance along the line segment to return a point. By default, the function returns the mid-point.
Namespace: FMX.RS.Graphics
Delphi |
function RSCenterPoint( const Pt1, Pt2: TRSPoint; Midpoint: Single = 0.5 ): TRSPoint; overload; |
Parameters
Pt1
Type: System.Void
Start point of line segment
Pt2
Type: System.Void
End point of line segment
Midpoint
Type: Single
Percentage distance along the line segment to return a point
Type: TRSPoint