System.Types.TSize.Subtract

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Subtract(const Point: TSize): TSize;

Properties

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

Description

Calculates the difference between two TSize objects.

The cx property of the result is the difference between the cx value of the first TSize and the value of cx of the second TSize.

The cy property of the result is the difference between the cy value of the first TSize and the value of cy of the second TSize.

See Also