TBLRgba64
64-bit RGBA color (8-bit per component) stored as $AAAARRRRGGGGBBBB.
Definition
Unit: Blend2D
Fields
| Name | Description |
|---|---|
| Value | Packed 64-bit RGBA value. |
Properties
| Name | Description |
|---|---|
| A | |
| B | |
| G | |
| IsOpaque | Whether the color is fully opaque (alpha equals $FFFF). |
| IsTransparent | Whether the color is fully transparent (alpha equals $0000). |
| R |
Constructors
| Name | Description |
|---|---|
| Create(Word, Word, Word, Word) | |
| Create(TBLRgba32) | |
| Create(UInt64) |
Operators
| Name | Description |
|---|---|
| Equal | |
| Implicit(TBLRgba64) | Implicitly converts from a TBLRgba64 to a packed 64-bit RGBA value. |
| Implicit(UInt64) | Implicitly converts from a packed 64-bit RGBA value to a TBLRgba64. |
| NotEqual |
Methods
| Name | Description |
|---|---|
| Create | |
| Equals | |
| Reset(Word, Word, Word, Word) | |
| Reset(TBLRgba32) | |
| Reset(UInt64) | |
| Reset |
Field Descriptions
Value
Packed 64-bit RGBA value.
var Value: UInt64
Type: UInt64
Property Descriptions
A
property A: Word read GetA write SetA
Type: Word
B
property B: Word read GetB write SetB
Type: Word
G
property G: Word read GetG write SetG
Type: Word
IsOpaque
Whether the color is fully opaque (alpha equals $FFFF).
property IsOpaque: Boolean read GetIsOpaque
Type: Boolean
IsTransparent
Whether the color is fully transparent (alpha equals $0000).
property IsTransparent: Boolean read GetIsTransparent
Type: Boolean
R
property R: Word read GetR write SetR
Type: Word
Constructor Descriptions
Create
constructor Create(const AR, AG, AB: Word; const AA: Word = $FFFF); overload
Parameters
AR: Word
AG: Word
AB: Word
AA: Word = $FFFF
Create
constructor Create(const ARgba32: TBLRgba32); overload
Parameters
ARgba32: TBLRgba32
Create
constructor Create(const ARgba64: UInt64); overload
Parameters
ARgba64: UInt64
Operator Descriptions
Equal(TBLRgba64, TBLRgba64)
class operator Equal(const ALeft, ARight: TBLRgba64): Boolean; inline; static
Parameters
ALeft: TBLRgba64
ARight: TBLRgba64
Returns
Boolean
Implicit(TBLRgba64)
Implicitly converts from a TBLRgba64 to a packed 64-bit RGBA value.
class operator Implicit(const AValue: TBLRgba64): UInt64; inline; static
Parameters
AValue: TBLRgba64
Returns
UInt64
Implicit(UInt64)
Implicitly converts from a packed 64-bit RGBA value to a TBLRgba64.
class operator Implicit(const AValue: UInt64): TBLRgba64; inline; static
Parameters
AValue: UInt64
Returns
NotEqual(TBLRgba64, TBLRgba64)
class operator NotEqual(const ALeft, ARight: TBLRgba64): Boolean; inline; static
Parameters
ALeft: TBLRgba64
ARight: TBLRgba64
Returns
Boolean
Method Descriptions
Create
class function Create: TBLRgba64; overload; inline; static
Returns
Equals(TBLRgba64)
function Equals(const AOther: TBLRgba64): Boolean; inline
Parameters
AOther: TBLRgba64
Returns
Boolean
Reset(Word, Word, Word, Word)
procedure Reset(const AR, AG, AB: Word; const AA: Word = $FFFF); overload; inline
Parameters
AR: Word
AG: Word
AB: Word
AA: Word = $FFFF
Reset(TBLRgba32)
procedure Reset(const ARgba32: TBLRgba32); overload; inline
Parameters
ARgba32: TBLRgba32
Reset(UInt64)
procedure Reset(const ARgba64: UInt64); overload; inline
Parameters
ARgba64: UInt64
Reset
procedure Reset; overload; inline