|
Python Script Engine
8.0
GL Studio Editor Python Script API
|
Public Member Functions | |
| GlsColor () | |
| GlsColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a=255) | |
| void | R (unsigned char val) |
| void | G (unsigned char val) |
| void | B (unsigned char val) |
| void | A (unsigned char val) |
| unsigned char | R (void) const |
| unsigned char | G (void) const |
| unsigned char | B (void) const |
| unsigned char | A (void) const |
Python extension for the GlsColor editor class (was formerly glsColor, which still exists for backwards compatiblity)
| GlsColor::GlsColor | ( | ) |
Default Constructor.
| GlsColor::GlsColor | ( | unsigned char | r, |
| unsigned char | g, | ||
| unsigned char | b, | ||
| unsigned char | a = 255 |
||
| ) |
Construct a color from red, green, blue, and optionally alpha values.
| void GlsColor::A | ( | unsigned char | val | ) |
Set the Alpha component of this color.
| val | The new value for the component |
| unsigned char GlsColor::A | ( | void | ) | const |
| void GlsColor::B | ( | unsigned char | val | ) |
Set the Blue component of this color.
| val | The new value for the component |
| unsigned char GlsColor::B | ( | void | ) | const |
| void GlsColor::G | ( | unsigned char | val | ) |
Set the Green component of this color.
| val | The new value for the component |
| unsigned char GlsColor::G | ( | void | ) | const |
| void GlsColor::R | ( | unsigned char | val | ) |
Set the Red component of this color.
| val | The new value for the component |
| unsigned char GlsColor::R | ( | void | ) | const |