FontBase: Difference between revisions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
<br /></translate> | <br /></translate> | ||
{|- | {|- | ||
| style="width: 50%;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Methods === | === Methods === | ||
[[FontBase:getAdvanceX]] | [[FontBase:getAdvanceX]] ''<translate></translate>''<br/> | ||
[[FontBase:getAscender]] | [[FontBase:getAscender]] ''<translate>returns the ascender of the font</translate>''<br/> | ||
[[FontBase:getBounds]] | [[FontBase:getBounds]] ''<translate>returns the tight bounding rectangle of the characters in the string specified by text</translate>''<br/> | ||
[[FontBase:getCharIndexAtOffset]] | [[FontBase:getCharIndexAtOffset]] ''<translate></translate>''<br/> | ||
[[FontBase:getLineHeight]] | [[FontBase:getLineHeight]] ''<translate>returns the distance from one base line to the next</translate>''<br/> | ||
[[FontBase:layoutText]] | [[FontBase:layoutText]] ''<translate>compute layout of text with given constraints</translate>''<br/> | ||
| style="width: 50%;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
Revision as of 13:29, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
FontBase is the base class for Font and TTFont classes.
MethodsFontBase:getAdvanceX ' |
EventsConstantsFontBase.TLF_BOTTOM |