Node: Color Data Members, Next: , Previous: Color Reference, Up: Color Reference



Data Members

string name Variable
The name of the Color.

bool use_name Variable
If true, name is written to out_stream when the Color is used for drawing or filling. Otherwise, the RGB (red-green-blue) values are written to out_stream.

bool on_free_store Variable
true, if the Color has been created by create_new<Color>(), which allocates memory for the Color on the free store. Otherwise false. Colors should only ever be dynamically allocated by using create_new<Color>(). See Color Reference;;Constructors and Setting Functions.

real red_part Variable
real green_part Variable
real blue_part Variable
The RGB (red-green-blue) values of the Color. A real value r is valid for these variables if and only if 0 <= r <= 1.