Method

ClutterColorinit

Declaration [src]

ClutterColor*
clutter_color_init (
  ClutterColor* color,
  guint8 red,
  guint8 green,
  guint8 blue,
  guint8 alpha
)

Description [src]

Initializes color with the given values.

Available since:1.12

Parameters

red guint8
 

Red component of the color, between 0 and 255

green guint8
 

Green component of the color, between 0 and 255

blue guint8
 

Blue component of the color, between 0 and 255

alpha guint8
 

Alpha component of the color, between 0 and 255

Return value

Returns: ClutterColor
 

The initialized ClutterColor.

 The data is owned by the instance.