System.Types.TPointF.Add
Delphi
function Add(const Point: TPointF): TPointF; overload; deprecated 'Use TPointF.Offset instead';
function Add(const Point: TPoint): TPointF; overload; deprecated 'Use TPointF.Offset instead';
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas | System.Types | TPointF |
Description
Calculates the sum between two points.
Call the Add function to obtain the sum of two points. The X property of the result is the sum between the X
value of the first TPointF object and the value of X
of the second TPointF object. The Y property of the result is the sum between the Y
value of the first TPointF object and the value of Y
of the second TPointF object.