Offsets the point in the direction specified by LineEndPt. The Dist parameters specifies the distance to move the point as a percentage (0=0%, 1=100%) of the distance between the input point and the line end point. The moved point is returned.
Namespace: FMX.RS.Graphics
Delphi |
function OffsetPoint( var Pt: TRSPoint; LineEndPt: TRSPoint; Dist: TRSGfxFloat ): TRSPoint; overload; |
Parameters
Pt
Type: System.Void
Point to move
LineEndPt
Type: System.Void
End Point, that together with Pt, specifies the direction to move the point.
Dist
Type: System.Void
Distance to move the point as a percentage (0=0%, 1=100%) of the distance between the input point and the line end point.
Type: TRSPoint