System.Types.TPoint.operator Addition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class operator Equal(const Lhs, Rhs : TPoint) : Boolean;
class operator NotEqual(const Lhs, Rhs : TPoint): Boolean;
class operator Add(const Lhs, Rhs : TPoint): TPoint;

Properties

Type Visibility Source Unit Parent
function public System.Types.pas System.Types TPoint

Description

Calculates the sum between two points.

Call Addition to calculate the sum between two points. The X property of the result is the sum between the X value of the first TPoint object and the value of X of the second TPoint object. The Y property of the result is the sum between the Y value of the first TPoint object and the value of Y of the second TPoint object.

See Also