Difference between revisions of "FontBase"

From GiderosMobile
Line 9: Line 9:
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
[[FontBase:getAdvanceX]] - <br/>
+
[[FontBase:getAdvanceX]] {{<translate></translate>}}<br/>
[[FontBase:getAscender]] - returns the ascender of the font<br/>
+
[[FontBase:getAscender]] {{<translate>returns the ascender of the font</translate>}}<br/>
[[FontBase:getBounds]] - returns the tight bounding rectangle of the characters in the string specified by text<br/>
+
[[FontBase:getBounds]] {{<translate>returns the tight bounding rectangle of the characters in the string specified by text</translate>}}<br/>
[[FontBase:getCharIndexAtOffset]] - <br/>
+
[[FontBase:getCharIndexAtOffset]] {{<translate></translate>}}<br/>
[[FontBase:getLineHeight]] - returns the distance from one base line to the next<br/>
+
[[FontBase:getLineHeight]] {{<translate>returns the distance from one base line to the next</translate>}}<br/>
[[FontBase:layoutText]] - compute layout of text with given constraints<br/>
+
[[FontBase:layoutText]] {{<translate>compute layout of text with given constraints</translate>}}<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===

Revision as of 14:17, 23 August 2018