Packages
gegl-0.4
Gegl
Color
string
Color
duplicate
get_components
get_format
get_rgba
set_components
set_rgba
Color
Object Hierarchy:
Gegl.Color
Gegl.Color
Gegl.Color
GLib.Object
GLib.Object
GLib.Object->Gegl.Color
Description:
[
CCode
( type_id =
"gegl_color_get_type ()"
) ]
public
class
Color
:
Object
Namespace:
Gegl
Package:
gegl-0.4
Content:
Properties:
public
string
string
{
owned
get
;
set
; }
Creation methods:
public
Color
(
string
string)
Creates a new
Color
.
Methods:
public
Color
duplicate
()
Creates a copy of
this
.
public
double
[]
get_components
(
Value
format)
Get the component values of the color in
format
.
public
unowned
Object
?
get_format
()
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
set_components
(
Value
format,
double
[] components)
Set the color using the component values as
format
.
public
void
set_rgba
(
double
red,
double
green,
double
blue,
double
alpha)
Set color as linear light non premultipled RGBA data
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref