Enumerations | Functions
Textpath

Enumerations

enum  Efl_Ui_Textpath_Direction {
  EFL_UI_TEXTPATH_DIRECTION_CW = 0,
  EFL_UI_TEXTPATH_DIRECTION_CCW,
  EFL_UI_TEXTPATH_DIRECTION_CW = 0,
  EFL_UI_TEXTPATH_DIRECTION_CCW
}
 Textpath direction. More...
 

Functions

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. More...
 
void elm_textpath_slice_number_set (Efl_Ui_Textpath *obj, int slice_no)
 The number of slices. More...
 
int elm_textpath_slice_number_get (const Efl_Ui_Textpath *obj)
 The number of slices. More...
 
void elm_textpath_ellipsis_set (Efl_Ui_Textpath *obj, Eina_Bool ellipsis)
 Control the ellipsis behavior of the textpath. More...
 
Eina_Bool elm_textpath_ellipsis_get (const Efl_Ui_Textpath *obj)
 Control the ellipsis behavior of the textpath. More...
 

Detailed Description

Enumeration Type Documentation

◆ Efl_Ui_Textpath_Direction

enum Efl_Ui_Textpath_Direction

Textpath direction.

Enumerator
EFL_UI_TEXTPATH_DIRECTION_CW 

Clockwise.

EFL_UI_TEXTPATH_DIRECTION_CCW 

Counter-clockwise.

EFL_UI_TEXTPATH_DIRECTION_CW 

Clockwise.

EFL_UI_TEXTPATH_DIRECTION_CCW 

Counter-clockwise.

Function Documentation

◆ elm_textpath_circle_set()

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]objThe object.
[in]xX coordinate of center
[in]yY coordinate of center
[in]radiusRadius of the circle
[in]start_angleStart angle of the circle
[in]directionTextpath direction

◆ elm_textpath_slice_number_set()

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]objThe object.
[in]slice_noNumber of slices

◆ elm_textpath_slice_number_get()

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]objThe object.
Returns
Number of slices

◆ elm_textpath_ellipsis_set()

void elm_textpath_ellipsis_set ( Efl_Ui_Textpath *  obj,
Eina_Bool  ellipsis 
)

Control the ellipsis behavior of the textpath.

Parameters
[in]objThe object.
[in]ellipsisTo ellipsis text or not

◆ elm_textpath_ellipsis_get()

Eina_Bool elm_textpath_ellipsis_get ( const Efl_Ui_Textpath *  obj)

Control the ellipsis behavior of the textpath.

Parameters
[in]objThe object.
Returns
To ellipsis text or not