FMX.InertialMovement.TPointD.operator Subtraction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class operator NotEqual(const Lhs, Rhs: TPointD): Boolean; overload;
class operator Add(const Lhs, Rhs: TPointD): TPointD;
class operator Subtract(const Lhs, Rhs: TPointD): TPointD;

Properties

Type Visibility Source Unit Parent
function public FMX.InertialMovement.pas FMX.InertialMovement TPointD

Description

Returns the difference between two TPointD points.

operator Subtraction returns the TPointD vertex of the vector obtained as the difference between two vectors having origins in the root of the coordinate system and other vertices in the Lhs and Rhs points, respectively. The X property of the result is the difference between the X value of the first Lhs TPointD point and the X value of the second Rhs point. The Y property of the result is the difference between the Y value of the first Lhs TPointD point and the Y value of the second Rhs point.

See Also