Tizen Native API
7.0
|
Functions | |
void | elm_textpath_circular_set (Efl_Ui_Textpath *obj, double radius, double start_angle, Efl_Ui_Textpath_Direction direction) |
Set a circle with given radius, and start angle. The circle center will be decided by the object center position. | |
void | elm_textpath_slice_number_set (Efl_Ui_Textpath *obj, int slice_no) |
The number of slices. The larger the number of slice_num is, The better the text follows the path. | |
int | elm_textpath_slice_number_get (const Efl_Ui_Textpath *obj) |
The number of slices. The larger the number of slice_num is, The better the text follows the path. | |
void | elm_textpath_ellipsis_set (Efl_Ui_Textpath *obj, Eina_Bool ellipsis) |
Control the ellipsis behavior of the textpath. | |
Eina_Bool | elm_textpath_ellipsis_get (const Efl_Ui_Textpath *obj) |
Control the ellipsis behavior of the textpath. | |
EINA_DEPRECATED EAPI void | elm_textpath_circle_set (Efl_Ui_Textpath *obj, double x, double y, double radius, double start_angle, Efl_Ui_Textpath_Direction direction) |
Set a circle with given center, radius, and start angle. | |
Evas_Object * | elm_textpath_add (Evas_Object *parent) |
Add a new textpath to the parent. | |
void | elm_textpath_text_user_style_set (Evas_Object *obj, const char *style) |
Set the user text style. |
Enumeration Type Documentation
Textpath direction
- Enumerator:
Function Documentation
Evas_Object* elm_textpath_add | ( | Evas_Object * | parent | ) |
Add a new textpath to the parent.
- Parameters:
-
[in] parent The parent object
- Returns:
- The new object or NULL if it cannot be created
- Since (EFL) :
- 1.22
- Since :
- 5.5
EINA_DEPRECATED EAPI void elm_textpath_circle_set | ( | Efl_Ui_Textpath * | obj, |
double | x, | ||
double | y, | ||
double | radius, | ||
double | start_angle, | ||
Efl_Ui_Textpath_Direction | direction | ||
) |
Set a circle with given center, radius, and start angle.
- Parameters:
-
[in] obj The object. [in] x X coordinate of center [in] y Y coordinate of center [in] radius Radius of the circle [in] start_angle Start angle of the circle [in] direction Textpath direction
- Deprecated:
- Use elm_textpath_circular_set() instead.
- Since :
- 5.5
void elm_textpath_circular_set | ( | Efl_Ui_Textpath * | obj, |
double | radius, | ||
double | start_angle, | ||
Efl_Ui_Textpath_Direction | direction | ||
) |
Set a circle with given radius, and start angle. The circle center will be decided by the object center position.
- Parameters:
-
[in] obj The object. [in] radius Radius of the circle [in] start_angle Start angle of the circle [in] direction Textpath direction
- Since (EFL) :
- 1.23
- Since :
- 5.5
Eina_Bool elm_textpath_ellipsis_get | ( | const Efl_Ui_Textpath * | obj | ) |
Control the ellipsis behavior of the textpath.
- Parameters:
-
[in] obj The object.
- Returns:
- To ellipsis text or not
- Since :
- 5.5
void elm_textpath_ellipsis_set | ( | Efl_Ui_Textpath * | obj, |
Eina_Bool | ellipsis | ||
) |
Control the ellipsis behavior of the textpath.
- Parameters:
-
[in] obj The object. [in] ellipsis To ellipsis text or not
- Since :
- 5.5
int elm_textpath_slice_number_get | ( | const Efl_Ui_Textpath * | obj | ) |
The number of slices. The larger the number of slice_num is, The better the text follows the path.
- Parameters:
-
[in] obj The object.
- Returns:
- Number of slices
void elm_textpath_slice_number_set | ( | Efl_Ui_Textpath * | obj, |
int | slice_no | ||
) |
The number of slices. The larger the number of slice_num is, The better the text follows the path.
- Parameters:
-
[in] obj The object. [in] slice_no Number of slices
void elm_textpath_text_user_style_set | ( | Evas_Object * | obj, |
const char * | style | ||
) |
Set the user text style.
- Parameters:
-
[in] obj The textpath object [in] style The user text style. If the sytle is $null, the default style will be applied
- Note:
- ellipsis in the style will be ignored since textpath supports ellipsis API.
- See also:
- elm_textpath_ellipsis_set()
- Since (EFL) :
- 1.25