Color
Object Hierarchy:
Description:
[
CCode ( type_id =
"gegl_color_get_type ()" ) ]
public class Color :
Object
Content:
Properties:
Creation methods:
Methods:
- public Color duplicate ()
Creates a copy of this.
- public Bytes get_bytes (Object format)
- public void get_cmyk (out double cyan, out double magenta, out double yellow, out double key, out double alpha, Object? space)
Retrieves the current set color stored as space.
- public double[] get_components (Value format)
Get the component values of the color in format.
- public unowned Object? get_format ()
- public void get_hsla (out double hue, out double saturation, out double lightness, out double alpha, Object? space)
Retrieves the current set color stored as space.
- public void get_hsva (out double hue, out double saturation, out double value, out double alpha, Object? space)
Retrieves the current set color stored as space.
- public void get_rgba (out double red, out double green, out double blue, out double alpha)
Retrieves the current set color as linear light non premultipled RGBA
data, any of the return pointers can be omitted.
- public void get_rgba_with_space (out double red, out double green, out double blue, out double alpha, Object space)
Retrieves the current set color stored as space.
- public void set_bytes (Object format, Bytes bytes)
Set a GeglColor from a pixel stored in a
gbytes and it's babl format.
- public void set_cmyk (double cyan, double magenta, double yellow, double key, double alpha, Object? space)
Set color as CMYK data stored as space.
- public void set_components (Value format, double[] components)
Set the color using the component values as format.
- public void set_hsla (double hue, double saturation, double lightness, double alpha, Object? space)
Set color as HSLA data stored as space.
- public void set_hsva (double hue, double saturation, double value, double alpha, Object? space)
Set color as HSVA data stored as space.
- public void set_rgba (double red, double green, double blue, double alpha)
Set color as linear light non premultipled RGBA data
- public void set_rgba_with_space (double red, double green, double blue, double alpha, Object space)
Set color as RGBA data stored as space.
Inherited Members:
All known members inherited from class GLib.Object