Skip to content

TBLBoxI

Box specified as [X0, Y0, X1, Y1] using Integer as a storage type.

Definition

Unit: Blend2D

type TBLBoxI = record ... end;

Fields

Name Description
X0
X1
Y0
Y1

Constructors

Name Description
Create

Operators

Name Description
Equal
NotEqual

Methods

Name Description
Contains(TBLPointI)
Contains(Integer, Integer)
Equals
Reset(TBLBoxI)
Reset(Integer, Integer, Integer, Integer)
Reset

Field Descriptions

X0

var X0: Integer

Type: Integer


X1

var X1: Integer

Type: Integer


Y0

var Y0: Integer

Type: Integer


Y1

var Y1: Integer

Type: Integer


Constructor Descriptions

Create

constructor Create(const AX0, AY0, AX1, AY1: Integer)

Parameters

AX0: Integer

AY0: Integer

AX1: Integer

AY1: Integer


Operator Descriptions

Equal(TBLBoxI, TBLBoxI)

class operator Equal(const ALeft, ARight: TBLBoxI): Boolean; inline; static

Parameters

ALeft: TBLBoxI

ARight: TBLBoxI

Returns

Boolean


NotEqual(TBLBoxI, TBLBoxI)

class operator NotEqual(const ALeft, ARight: TBLBoxI): Boolean; inline; static

Parameters

ALeft: TBLBoxI

ARight: TBLBoxI

Returns

Boolean


Method Descriptions

Contains(TBLPointI)

function Contains(const APoint: TBLPointI): Boolean; overload; inline

Parameters

APoint: TBLPointI

Returns

Boolean


Contains(Integer, Integer)

function Contains(const AX, AY: Integer): Boolean; overload; inline

Parameters

AX: Integer

AY: Integer

Returns

Boolean


Equals(TBLBoxI)

function Equals(const AOther: TBLBoxI): Boolean; inline

Parameters

AOther: TBLBoxI

Returns

Boolean


Reset(TBLBoxI)

procedure Reset(const AOther: TBLBoxI); overload; inline

Parameters

AOther: TBLBoxI


Reset(Integer, Integer, Integer, Integer)

procedure Reset(const AX0, AY0, AX1, AY1: Integer); overload; inline

Parameters

AX0: Integer

AY0: Integer

AX1: Integer

AY1: Integer


Reset

procedure Reset; overload; inline