Script
|
#include <colorinterface.h>
Public Member Functions | |
ColorRGBA () | |
Create a new default ColorRGBA (ie. opaque white). More... | |
ColorRGBA (double r, double g, double b, double a) | |
Create a new ColorRGBA. More... | |
Properties | |
int | r |
red value [ 0, 255 ] More... | |
int | g |
green value [ 0, 255 ] More... | |
int | b |
blue value [ 0, 255 ] More... | |
int | a |
alpha value [ 0, 255 ] More... | |
The ColorRGBA class defines a four-dimensional container for colors. ColorRGBA objects can be instantiated in the scripting environment.
You can use it in both Script Editor and scriptModule.
ColorRGBA::ColorRGBA | ( | ) |
Create a new default ColorRGBA (ie. opaque white).
ColorRGBA::ColorRGBA | ( | double | r, |
double | g, | ||
double | b, | ||
double | a | ||
) |
Create a new ColorRGBA.
r | Red value |
g | Green value |
b | Blue value |
a | Alpha value |
|
readwriteprivate |
alpha value [ 0, 255 ]
|
readwriteprivate |
blue value [ 0, 255 ]
|
readwriteprivate |
green value [ 0, 255 ]
|
readwriteprivate |
red value [ 0, 255 ]