Difference between revisions of "Font:getWidth"
m |
|||
Line 13: | Line 13: | ||
* [[parent::Font]] | * [[parent::Font]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Determines the horizontal size a line of text needs. | + | {{#set:Description=Determines the horizontal size a line of text needs. }} |
− | }} | + | {{#set:Since=000}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Font:getWidth}} | {{i18n|Font:getWidth}} |
Revision as of 09:54, 25 March 2011
Determines the horizontal size a line of text needs. Does not support line-breaks.
Function
Synopsis
width = Font:getWidth( line )
Arguments
number line
- A line of text.
Returns
number width
- The width of the line.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info