System.Types.TSmallPoint.operator Subtraction
Delphi
class operator NotEqual(const Lhs, Rhs : TSmallPoint): Boolean;
class operator Add(const Lhs, Rhs : TSmallPoint): TSmallPoint;
class operator Subtract(const Lhs, Rhs : TSmallPoint): TSmallPoint;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas | System.Types | TSmallPoint |
Description
Calculates the difference between two TSmallPoint objects.
The x property of the result is the difference between the x value of the first TSmallPoint and the value of x of the second TSmallPoint. The y property of the result is the difference between the y value of the first TSmallPoint and the value of y of the second TSmallPoint.