const
function: bool is_on_free_store (void)Returns
on_free_store
. This will only be true, if theColor
was created bycreate_new<Color>()
. See Color Reference; Constructors and Setting Functions.
const
function: real get_red_part ([bool decimal = false
])const
function: real get_green_part ([bool decimal = false
])const
function: real get_blue_part ([bool decimal = false
])These functions return the
red_part
,green_part
, orblue_part
of theColor
, respectively. If decimal isfalse
(the default), the actualreal
value of the “part” is returned. Otherwise, the corresponding whole number n such that 0 <= n <= 255 is returned.