Functions | |
Evas_Object * | evas_object_gradient_add (Evas *e) |
Adds a gradient object to the given evas. | |
void | evas_object_gradient_color_add (Evas_Object *obj, int r, int g, int b, int a, int distance) |
Adds a colour to the given evas gradient object. | |
void | evas_object_gradient_colors_clear (Evas_Object *obj) |
Deletes all colours set for the given evas gradient object. | |
void | evas_object_gradient_angle_set (Evas_Object *obj, Evas_Angle angle) |
Sets the angle at which the given evas gradient object sits clockwise from vertical. | |
Evas_Angle | evas_object_gradient_angle_get (Evas_Object *obj) |
Retrieves the angle at which the given evas gradient object sits clockwise from the vertical. | |
void | evas_object_gradient_spread_set (Evas_Object *obj, int spread) |
Sets the tiling mode for the given evas gradient object. | |
int | evas_object_gradient_spread_get (Evas_Object *obj) |
Retrieves the spread (tiling mode) for the given gradient object. |
The following example shows how
|
Adds a gradient object to the given evas.
|
|
Retrieves the angle at which the given evas gradient object sits clockwise from the vertical.
|
|
Sets the angle at which the given evas gradient object sits clockwise from vertical.
|
|
Adds a colour to the given evas gradient object.
The Colours are added from the top downwards.
|
|
Deletes all colours set for the given evas gradient object.
|
|
Retrieves the spread (tiling mode) for the given gradient object.
|
|
Sets the tiling mode for the given evas gradient object.
|