Evas_Object_Gradient_Linear_Fill_Group (3) - Linux Manuals

Evas_Object_Gradient_Linear_Fill_Group: Functions that deal with the fill geometry of the linear gradient object.

NAME

Linear_Gradient Object Fill Functions - Functions that deal with the fill geometry of the linear gradient object.

Functions


EAPI void evas_object_gradient2_linear_fill_set (Evas_Object *obj, float x0, float y0, float x1, float y1)
Sets the start and end points of the linear gradient geometry for the object.

Detailed Description

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

Function Documentation

EAPI void evas_object_gradient2_linear_fill_set (Evas_Object * obj, float x0, float y0, float x1, float y1)

Sets the start and end points of the linear 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 x0 = 0, y0 = 0, x1 = 0 and y1 = 0.

Parameters:

obj The given evas linear gradient object.
x0 The X coordinate of the start point.
y0 The Y coordinate of the start point.
x1 The X coordinate of the end point.
y1 The Y coordinate of the end point

Author

Generated automatically by Doxygen for Evas from the source code.