Sign in Join
FPDoc Onlineexperiment

Size function

In unit Types

Return the size of the rectangle.

Declaration

pascal
function Size(AWidth: Integer; AHeight: Integer): TSize

Description

Size returns a TSize record with the indicated AWidth, AHeight. In the case ARect is passed, the width and height are calculated (taking into account that the right, bottom are not considered part of the rectangle).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.