TPoint

The TPoint type is a record which defines a X,Y integer coordinate.


Point

function Point(X, Y: Integer): TPoint;

TPoint.Create

function TPoint.Create(X, Y: Integer): TPoint; static;

TPoint.DistanceTo

function TPoint.DistanceTo(Other: TPoint): Double;

TPoint.Rotate

function TPoint.Rotate(Radians: Double; Center: TPoint): TPoint;

TPoint.Magnitude

function TPoint.Magnitude: Double;

TPoint.AngleBetween

function TPoint.AngleBetween(Other: TPoint): Double;

TPoint.Offset

function TPoint.Offset(X, Y: Integer): TPoint;

TPoint.Offset

function TPoint.Offset(P: TPoint): TPoint;

TPoint.Random

function TPoint.Random(Min, Max: Integer): TPoint;

TPoint.Random

function TPoint.Random(Value: Integer): TPoint;

TPoint +

operator + (L, R: TPoint): TPoint;

TPoint +=

operator += (var L: TPoint; R: TPoint): TPoint;

TPoint *

operator * (L: TPoint; R: Double): TPoint;

TPoint *=

operator *= (var L: TPoint; R: Double): TPoint;

TPoint -

operator - (L, R: TPoint): TPoint;

TPoint -=

operator -= (var L: TPoint; R: TPoint): TPoint;