Class
GeglColor
Description
class Gegl.Color : GObject.Object {
parent_instance: GObject,
priv: GeglColorPrivate*
}
Instance methods
gegl_color_get_cmyk
Retrieves the current set color stored as space
.
If space
is NULL
, this is equivalent to requesting color in the default
naive CMYK space.
gegl_color_get_hsla
Retrieves the current set color stored as space
.
If space
is NULL
, this is equivalent to requesting color in the default
sRGB space.
gegl_color_get_hsva
Retrieves the current set color stored as space
.
If space
is NULL
, this is equivalent to requesting color in the default
sRGB space.
gegl_color_get_rgba
Retrieves the current set color as linear light non premultipled RGBA data, any of the return pointers can be omitted.
gegl_color_get_rgba_with_space
Retrieves the current set color stored as space
.
If space
is NULL
, this is equivalent to requesting color in sRGB.
gegl_color_set_cmyk
Set color as CMYK data stored as space
. If space
is NULL
, this is
equivalent to storing with the default naive CMYK space.
gegl_color_set_hsla
Set color as HSLA data stored as space
. If space
is NULL
, this is
equivalent to storing with the default sRGB space.
gegl_color_set_hsva
Set color as HSVA data stored as space
. If space
is NULL
, this is
equivalent to storing with the default sRGB space.
gegl_color_set_rgba_with_space
Set color as RGBA data stored as space
. If space
is NULL
, this is
equivalent to storing as sRGB.