|
A generic colour object that can be used as a colour argument for some internal methiods.
Create a Colour Object
Public Member Functions | |
| Colour (int r=255, int g=255, int b=255, int a=255) | |
Static Public Member Functions | |
| static OMC::Obj | fromHSL (double h, double s, double l, double a) |
Public Attributes | |
| int | r |
| Get and set the red value of the colour 0-255. | |
| int | g |
| Get and set the green value of the colour 0-255. | |
| int | a |
| Get and set the alpha value of the colour 0-255. | |
| float | h |
| Get and set the hue value of the colour 0-360.0. | |
| float | l |
| Get and set the lightness value of the colour 0-100.0. | |
| float | s |
| Get and set the saturation value of the colour 0-100.0. | |
| QString | hex |
| Get and set the hex value of the node in form #FFFFFF. | |

