Storyboard
Public Member Functions | Properties | List of all members
ColorRGBA Class Reference

#include <colorinterface.h>

Inheritance diagram for ColorRGBA:
Inheritance graph
[legend]
Collaboration diagram for ColorRGBA:
Collaboration graph
[legend]

Public Member Functions

 ColorRGBA ()
 Create a new default ColorRGBA (ie. opaque white).
 
 ColorRGBA (double r, double g, double b, double a)
 Create a new ColorRGBA.
 

Properties

int r
 red value [ 0, 255 ]
 
int g
 green value [ 0, 255 ]
 
int b
 blue value [ 0, 255 ]
 
int a
 alpha value [ 0, 255 ]
 

Detailed Description

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.

Constructor & Destructor Documentation

ColorRGBA::ColorRGBA ( )

Create a new default ColorRGBA (ie. opaque white).

ColorRGBA::ColorRGBA ( double  r,
double  g,
double  b,
double  a 
)

Create a new ColorRGBA.

Parameters
rRed value
gGreen value
bBlue value
aAlpha value

Property Documentation

int ColorRGBA::a
readwrite

alpha value [ 0, 255 ]

int ColorRGBA::b
readwrite

blue value [ 0, 255 ]

int ColorRGBA::g
readwrite

green value [ 0, 255 ]

int ColorRGBA::r
readwrite

red value [ 0, 255 ]


The documentation for this class was generated from the following file: