TypeLib Xojo support Plugin |
|
EinhugurColors.RGBColor Class (console safe)
A class that represents RGB color and has ability to store both 8 bits per channel and 16 bits per channel.
This class has bi directional automatic conversion to and from Xojo color.
GenericColor
RGBColor
class EinhugurColors.RGBColor
Properties
Alpha16 | Sets or gets 16bit Alpha value. (65535 = full opaque, 0 = full transparent) |
Alpha8 | Sets or gets 8bit Alpha value. (255 = full opaque, 0 = full transparent) |
Blue16 | Sets or gets 16bit Blue value. |
Blue8 | Sets or gets 8bit Blue value. |
Green16 | Sets or gets 16bit Green value. |
Green8 | Sets or gets 8bit Green value. |
Red16 | Sets or gets 16bit Red value. |
Red8 | Sets or gets 8bit Red value. |
Methods
Because of the automatic conversions to and from Xojo color then the following code stub is perfectly valid:
Dim c as EinhugurColors.RGBColor = &cFF0000
Dim c2 as Color = c
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS