TSize¶
Area size.
Declaration¶
Source position: typshrdh.inc line 38
type
TSize = packed record
cx: LongInt;
cy: LongInt;
function Add : TSize;
function Distance : Double;
function IsZero : Boolean;
function Subtract : TSize;
class operator =(const asz1: TSize; const asz2: TSize) : Boolean;
class operator <>(const asz1: TSize; const asz2: TSize) : Boolean;
class operator +(const asz1: TSize; const asz2: TSize) : TSize;
class operator -(const asz1: TSize; const asz2: 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.