Next: , Previous: Color Reference, Up: Color Reference


16.1 Data Members

— Variable: string name

The name of the Color.

— Variable: bool use_name

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.

— Variable: bool on_free_store

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.

— Variable: real red_part
— Variable: real green_part
— Variable: real blue_part

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.