Bases: efl.evas.Object
A Text object.
Parameters: |
|
---|
Type: | int |
---|
Retrieve position and dimension information of a character at desired position.
Like char_pos_get(), but instead of providing the character index one can give its position.
Parameters: |
|
---|---|
Return type: | (int x, int y, int w, int h) |
Retrieve position and dimension information of a character.
This function is used to obtain the x, y, width and height of a the character located at char_index within this object.
Parameters: | char_index – index of desired character. |
---|---|
Return type: | (int x, int y, int w, int h) |
Type: | int |
---|
Set the font family and size on a given text object.
Parameters: |
|
---|
This function allows the font name and size of a text object to be set. The font string has to follow fontconfig’s convention on naming fonts, as it’s the underlying library used to query system fonts by Evas (see the fc-list command’s output, on your system, to get an idea).
See: | font_source |
---|
Set the font (source) file to be used on a given text object.
Parameters: | font – The font file’s path. |
---|
This function allows the font file to be explicitly set for a given text object, overriding system lookup, which will first occur in the given file’s contents.
See: | font |
---|
Type: | (int r, int g, int b, int a) |
---|
Type: | (int r, int g, int b, int a) |
---|
Type: | int |
---|
Type: | int |
---|
Type: | int |
---|
Type: | int |
---|
Type: | (int r, int g, int b, int a) |
---|
Type: | (int r, int g, int b, int a) |
---|
Text drawing style.
One of:
Type: | Evas_Text_Style_Type |
---|
Type: | (int l, int r, int t, int b) |
---|
Sets the text string to be displayed by the given text object.
Type: | unicode |
---|
Type: | int |
---|