Difference between revisions of "FontBase"
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <!-- GIDEROSOBJ:FontBase --> | ||
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/> | '''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/> | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
Line 10: | Line 11: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Methods</translate> === | === <translate>Methods</translate> === | ||
− | [[Special:MyLanguage/FontBase:getAdvanceX|FontBase:getAdvanceX]] <br/> | + | [[Special:MyLanguage/FontBase:getAdvanceX|FontBase:getAdvanceX]] <br/><!-- GIDEROSMTD:FontBase:getAdvanceX --> |
− | [[Special:MyLanguage/FontBase:getAscender|FontBase:getAscender]] ''<translate>returns the ascender of the font</translate>''<br/> | + | [[Special:MyLanguage/FontBase:getAscender|FontBase:getAscender]] ''<translate>returns the ascender of the font</translate>''<br/><!-- GIDEROSMTD:FontBase:getAscender --> |
− | [[Special:MyLanguage/FontBase:getBounds|FontBase:getBounds]] ''<translate>returns the tight bounding rectangle of the characters in the string specified by text</translate>''<br/> | + | [[Special:MyLanguage/FontBase:getBounds|FontBase:getBounds]] ''<translate>returns the tight bounding rectangle of the characters in the string specified by text</translate>''<br/><!-- GIDEROSMTD:FontBase:getBounds --> |
− | [[Special:MyLanguage/FontBase:getCharIndexAtOffset|FontBase:getCharIndexAtOffset]] <br/> | + | [[Special:MyLanguage/FontBase:getCharIndexAtOffset|FontBase:getCharIndexAtOffset]] <br/><!-- GIDEROSMTD:FontBase:getCharIndexAtOffset --> |
− | [[Special:MyLanguage/FontBase:getLineHeight|FontBase:getLineHeight]] ''<translate>returns the distance from one base line to the next</translate>''<br/> | + | [[Special:MyLanguage/FontBase:getLineHeight|FontBase:getLineHeight]] ''<translate>returns the distance from one base line to the next</translate>''<br/><!-- GIDEROSMTD:FontBase:getLineHeight --> |
− | [[Special:MyLanguage/FontBase:layoutText|FontBase:layoutText]] ''<translate>compute layout of text with given constraints</translate>''<br/> | + | [[Special:MyLanguage/FontBase:layoutText|FontBase:layoutText]] ''<translate>compute layout of text with given constraints</translate>''<br/><!-- GIDEROSMTD:FontBase:layoutText --> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Events</translate> === | === <translate>Events</translate> === | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === | ||
− | [[Special:MyLanguage/FontBase.TLF_BOTTOM|FontBase.TLF_BOTTOM]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_BOTTOM|FontBase.TLF_BOTTOM]]<br/><!-- GIDEROSCST:FontBase.TLF_BOTTOM --> |
− | [[Special:MyLanguage/FontBase.TLF_BREAKWORDS|FontBase.TLF_BREAKWORDS]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_BREAKWORDS|FontBase.TLF_BREAKWORDS]]<br/><!-- GIDEROSCST:FontBase.TLF_BREAKWORDS --> |
− | [[Special:MyLanguage/FontBase.TLF_CENTER|FontBase.TLF_CENTER]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_CENTER|FontBase.TLF_CENTER]]<br/><!-- GIDEROSCST:FontBase.TLF_CENTER --> |
− | [[Special:MyLanguage/FontBase.TLF_JUSTIFIED|FontBase.TLF_JUSTIFIED]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_JUSTIFIED|FontBase.TLF_JUSTIFIED]]<br/><!-- GIDEROSCST:FontBase.TLF_JUSTIFIED --> |
− | [[Special:MyLanguage/FontBase.TLF_LEFT|FontBase.TLF_LEFT]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_LEFT|FontBase.TLF_LEFT]]<br/><!-- GIDEROSCST:FontBase.TLF_LEFT --> |
− | [[Special:MyLanguage/FontBase.TLF_NOWRAP|FontBase.TLF_NOWRAP]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_NOWRAP|FontBase.TLF_NOWRAP]]<br/><!-- GIDEROSCST:FontBase.TLF_NOWRAP --> |
− | [[Special:MyLanguage/FontBase.TLF_REF_BASELINE|FontBase.TLF_REF_BASELINE]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_REF_BASELINE|FontBase.TLF_REF_BASELINE]]<br/><!-- GIDEROSCST:FontBase.TLF_REF_BASELINE --> |
− | [[Special:MyLanguage/FontBase.TLF_REF_BOTTOM|FontBase.TLF_REF_BOTTOM]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_REF_BOTTOM|FontBase.TLF_REF_BOTTOM]]<br/><!-- GIDEROSCST:FontBase.TLF_REF_BOTTOM --> |
− | [[Special:MyLanguage/FontBase.TLF_REF_MIDDLE|FontBase.TLF_REF_MIDDLE]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_REF_MIDDLE|FontBase.TLF_REF_MIDDLE]]<br/><!-- GIDEROSCST:FontBase.TLF_REF_MIDDLE --> |
− | [[Special:MyLanguage/FontBase.TLF_REF_TOP|FontBase.TLF_REF_TOP]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_REF_TOP|FontBase.TLF_REF_TOP]]<br/><!-- GIDEROSCST:FontBase.TLF_REF_TOP --> |
− | [[Special:MyLanguage/FontBase.TLF_RIGHT|FontBase.TLF_RIGHT]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_RIGHT|FontBase.TLF_RIGHT]]<br/><!-- GIDEROSCST:FontBase.TLF_RIGHT --> |
− | [[Special:MyLanguage/FontBase.TLF_TOP|FontBase.TLF_TOP]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_TOP|FontBase.TLF_TOP]]<br/><!-- GIDEROSCST:FontBase.TLF_TOP --> |
− | [[Special:MyLanguage/FontBase.TLF_VCENTER|FontBase.TLF_VCENTER]]<br/> | + | [[Special:MyLanguage/FontBase.TLF_VCENTER|FontBase.TLF_VCENTER]]<br/><!-- GIDEROSCST:FontBase.TLF_VCENTER --> |
|} | |} |
Revision as of 14:54, 31 August 2018
Supported platforms:
Available since: Gideros 2011.6
Inherits from: Object
Description
FontBase is the base class for Font and TTFont classes.
MethodsFontBase:getAdvanceX |
EventsConstantsFontBase.TLF_BOTTOM |