TBLRange
Provides start and end indexes. It has the same semantics as Slices in other programming languages - range is always within [Start, Stop) internal (Start is inclusive, Stop is exclusive). It's used to specify a range of an operation of indexed containers like TBLString, TBLArray, TBLGradient, TBLPath, etc...
Definition
Unit: Blend2D
Fields
Name | Description |
---|---|
Start | |
Stop |
Operators
Name | Description |
---|---|
Equal | |
NotEqual |
Methods
Name | Description |
---|---|
Equals | |
Reset(NativeInt, NativeInt) | Reset the range to [AStart, AStop). |
Reset | Reset the range to [0, 0). |
Field Descriptions
Start
var Start: NativeInt
Type: NativeInt
Stop
var Stop: NativeInt
Type: NativeInt
Operator Descriptions
Equal(TBLRange, TBLRange)
class operator Equal(const ALeft, ARight: TBLRange): Boolean; inline; static
Parameters
ALeft
: TBLRange
ARight
: TBLRange
Returns
Boolean
NotEqual(TBLRange, TBLRange)
class operator NotEqual(const ALeft, ARight: TBLRange): Boolean; inline; static
Parameters
ALeft
: TBLRange
ARight
: TBLRange
Returns
Boolean
Method Descriptions
Equals(TBLRange)
function Equals(const AOther: TBLRange): Boolean; inline
Parameters
AOther
: TBLRange
Returns
Boolean
Reset(NativeInt, NativeInt)
Reset the range to [AStart, AStop).
procedure Reset(const AStart, AStop: NativeInt); overload; inline
Parameters
AStart
: NativeInt
AStop
: NativeInt
Reset
Reset the range to [0, 0).
procedure Reset; overload; inline