Download

Support

Radial_Gradient Object Fill Functions

Functions that deal with the fill geometry of the radial gradient object. More...


Functions

EAPI void evas_object_gradient2_radial_fill_set (Evas_Object *obj, float cx, float cy, float rx, float ry)
 Sets the center and radii of the radial gradient geometry for the object.

Detailed Description

Functions that deal with the fill geometry of the radial gradient object.

Function Documentation

EAPI void evas_object_gradient2_radial_fill_set ( Evas_Object obj,
float  cx,
float  cy,
float  rx,
float  ry 
)

Sets the center and radii of the radial gradient geometry for the object.

Note that the gradient may extend beyond these, according to its spread value - restrict, repeat, or reflect. To have only one 'cycle' of the gradient drawn, the spread value must be set to restrict. The default values for the fill parameters is cx = 0, cy = 0, rx = 0 and ry = 0.

Parameters:
obj The given evas radial gradient object.
cx The X coordinate of the start point.
cy The Y coordinate of the start point.
rx The length of the x-cordinate radius.
ry The length of the y-coordinate radius.


Copyright © Enlightenment.org

Evas Documentation