System.Types.TSmallPoint.Subtract

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Subtract(const Point: 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.

See Also