GetTextHeight: Difference between revisions
From Spring
Jump to navigationJump to search
New page: =GetTextHeight() Illustration= <span class="note">note: the returned heights are normalized, so you need to multiply them with your wanted fontSize</span> '''GetTextHeight''' ( string s... |
No edit summary |
||
| Line 1: | Line 1: | ||
=GetTextHeight() Illustration= | =GetTextHeight() Illustration= | ||
<span class="note">note: the returned heights are normalized, so you need to multiply them with your wanted fontSize</span> | <span class="note">note: the returned heights are normalized, so you need to multiply them with your wanted fontSize</span> | ||
'''GetTextHeight''' | '''GetTextHeight''' | ||
Revision as of 08:45, 16 August 2009
GetTextHeight() Illustration
note: the returned heights are normalized, so you need to multiply them with your wanted fontSize
GetTextHeight
( string singlelined_text )-> number textHeight, number textDescender, number num_lines=1
GetTextHeight
( string multilined_text ) -> number textHeight, number textDescender, number num_lines
