GetTextHeight

From Spring
Revision as of 08:45, 16 August 2009 by Jk (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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