System.Types.TPointF.Subtract

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Subtract(const Point: TPointF): TPointF; overload; deprecated 'Use TPointF.Offset instead';
function Subtract(const Point: TPoint): TPointF; overload; deprecated 'Use TPointF.Offset instead';

Properties

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

Description

Warning: Subtract is deprecated. Please use Offset.

Calculates the difference between two TPointF objects.

The X property of the result is the difference between the X value of the first TPointF and the value of X of the second TPointF. The Y property of the result is the difference between the Y value of the first TPointF and the value of Y of the second TPointF.

See Also