Sign in Join
FPDoc Onlineexperiment

TSize record

In unit Types

Area size.

Declaration

pascal
TSize = packed record

Description

TSize is a type to describe the size of a rectangular area, where cx is the width, cy is the height (in pixels) of the rectangle.

See also

Properties

Widthpublic
Heightpublic

Methods

Addpublic
Distancepublic
IsZeropublic
Subtractpublic
equal(TSize,TSize):Booleanpublic
notequal(TSize,TSize):Booleanpublic
add(TSize,TSize):TSizepublic
subtract(TSize,TSize):TSizepublic

Fields

cxpublicWidth in pixels.
cypublicHeight in pixels.

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