TSize

Area size

Declaration

Source position: typshrdh.inc line 38

Type
TSize = packed record
public
  cx : LongInt;
  cy : LongInt;
  function Add(const asz: TSize) : TSize;
  function Distance(const asz: TSize) : Double;
  function IsZero : Boolean;
  function Subtract(const asz: TSize) : TSize;
  TSize.class operator =(const asz1: TSize; const asz2: TSize) : Boolean;
  TSize.class operator <>(const asz1: TSize; const asz2: TSize) : Boolean;
  TSize.class operator +(const asz1: TSize; const asz2: TSize) : TSize;
  TSize.class operator -(const asz1: TSize; const asz2: TSize) : TSize;
  property Width : LongInt;
  property Height : LongInt;
end

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

Name Description
LongInt A signed 32-bits integer
LongInt A signed 32-bits integer
LongInt A signed 32-bits integer
LongInt A signed 32-bits integer
TRect Rectangle in a plane