Skip to content

TBLBox

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

Definition

Unit: Blend2D

type TBLBox = record ... end;

Fields

Name Description
X0
X1
Y0
Y1

Constructors

Name Description
Create

Operators

Name Description
Add(TBLPoint, TBLBox)
Add(TBLBox, TBLPoint)
Add(Double, TBLBox)
Add(TBLBox, Double)
Divide(TBLPoint, TBLBox)
Divide(TBLBox, TBLPoint)
Divide(Double, TBLBox)
Divide(TBLBox, Double)
Equal
Multiply(TBLPoint, TBLBox)
Multiply(TBLBox, TBLPoint)
Multiply(Double, TBLBox)
Multiply(TBLBox, Double)
NotEqual
Subtract(TBLPoint, TBLBox)
Subtract(TBLBox, TBLPoint)
Subtract(Double, TBLBox)
Subtract(TBLBox, Double)

Methods

Name Description
Contains(TBLPoint)
Contains(Double, Double)
Equals
Reset(TBLBox)
Reset(Double, Double, Double, Double)
Reset

Field Descriptions

X0

var X0: Double

Type: Double


X1

var X1: Double

Type: Double


Y0

var Y0: Double

Type: Double


Y1

var Y1: Double

Type: Double


Constructor Descriptions

Create

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

Parameters

AX0: Double

AY0: Double

AX1: Double

AY1: Double


Operator Descriptions

Add(TBLPoint, TBLBox)

class operator Add(const ALeft: TBLPoint; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: TBLPoint

ARight: TBLBox

Returns

TBLBox


Add(TBLBox, TBLPoint)

class operator Add(const ALeft: TBLBox; const ARight: TBLPoint): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: TBLPoint

Returns

TBLBox


Add(Double, TBLBox)

class operator Add(const ALeft: Double; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: Double

ARight: TBLBox

Returns

TBLBox


Add(TBLBox, Double)

class operator Add(const ALeft: TBLBox; const ARight: Double): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: Double

Returns

TBLBox


Divide(TBLPoint, TBLBox)

class operator Divide(const ALeft: TBLPoint; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: TBLPoint

ARight: TBLBox

Returns

TBLBox


Divide(TBLBox, TBLPoint)

class operator Divide(const ALeft: TBLBox; const ARight: TBLPoint): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: TBLPoint

Returns

TBLBox


Divide(Double, TBLBox)

class operator Divide(const ALeft: Double; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: Double

ARight: TBLBox

Returns

TBLBox


Divide(TBLBox, Double)

class operator Divide(const ALeft: TBLBox; const ARight: Double): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: Double

Returns

TBLBox


Equal(TBLBox, TBLBox)

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

Parameters

ALeft: TBLBox

ARight: TBLBox

Returns

Boolean


Multiply(TBLPoint, TBLBox)

class operator Multiply(const ALeft: TBLPoint; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: TBLPoint

ARight: TBLBox

Returns

TBLBox


Multiply(TBLBox, TBLPoint)

class operator Multiply(const ALeft: TBLBox; const ARight: TBLPoint): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: TBLPoint

Returns

TBLBox


Multiply(Double, TBLBox)

class operator Multiply(const ALeft: Double; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: Double

ARight: TBLBox

Returns

TBLBox


Multiply(TBLBox, Double)

class operator Multiply(const ALeft: TBLBox; const ARight: Double): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: Double

Returns

TBLBox


NotEqual(TBLBox, TBLBox)

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

Parameters

ALeft: TBLBox

ARight: TBLBox

Returns

Boolean


Subtract(TBLPoint, TBLBox)

class operator Subtract(const ALeft: TBLPoint; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: TBLPoint

ARight: TBLBox

Returns

TBLBox


Subtract(TBLBox, TBLPoint)

class operator Subtract(const ALeft: TBLBox; const ARight: TBLPoint): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: TBLPoint

Returns

TBLBox


Subtract(Double, TBLBox)

class operator Subtract(const ALeft: Double; const ARight: TBLBox): TBLBox; inline; static

Parameters

ALeft: Double

ARight: TBLBox

Returns

TBLBox


Subtract(TBLBox, Double)

class operator Subtract(const ALeft: TBLBox; const ARight: Double): TBLBox; inline; static

Parameters

ALeft: TBLBox

ARight: Double

Returns

TBLBox


Method Descriptions

Contains(TBLPoint)

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

Parameters

APoint: TBLPoint

Returns

Boolean


Contains(Double, Double)

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

Parameters

AX: Double

AY: Double

Returns

Boolean


Equals(TBLBox)

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

Parameters

AOther: TBLBox

Returns

Boolean


Reset(TBLBox)

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

Parameters

AOther: TBLBox


Reset(Double, Double, Double, Double)

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

Parameters

AX0: Double

AY0: Double

AX1: Double

AY1: Double


Reset

procedure Reset; overload; inline