[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Types' (#rtl)

TSize

Area size

Declaration

Source position: typshrdh.inc line 38

type TSize = packed record

public

  cx: LongInt;

  

Width in pixels

  cy: LongInt;

  

Height in pixels

  function Add();

  function Distance();

  function IsZero;

  function Subtract();

  class operator equal(TSize,TSize):Boolean();

  class operator notequal(TSize,TSize):Boolean();

  class operator add(TSize,TSize):TSize();

  class operator subtract(TSize,TSize):TSize();

  property Width: LongInt; [rw]

  property Height: LongInt; [rw]

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

TRect

  

Rectangle in a plane


Documentation generated on: Jun 23 2021