RGBA.kl¶
Types¶
RGBA (struct)¶
The RGBA type represents a 8 bit 4 channel color value, storing the components ordered as red, green, blue and alpha as Byte values.
/*
** Example: RGBA
*/
RGBA red(255, 0, 0, 255);
Members¶
Byte | r | |
Byte | g | |
Byte | b | |
Byte | a |
Methods¶
RGBA ( in Byte r, in Byte g, in Byte b, in Byte a ) | |
RGBA ( in Color c ) | |
RGBA ( in Integer r, in Integer g, in Integer b, in Integer a ) | |
RGBA ( in RGB r ) | |
RGBA ( in RGBA other ) | |
RGBA () | |
RGBA | add ? ( in RGBA other ) |
RGBA | clone ? () |
Boolean | equal ? ( in RGBA other ) |
UInt32 | hash ? () |
RGBA | linearInterpolate ? ( in RGBA other, in Scalar t ) |
RGBA | multiply ? ( in RGBA other ) |
RGBA | multiplyScalar ? ( in Scalar other ) |
RGBA | subtract ? ( in RGBA other ) |