Difference between revisions of "Font:getWidth"
m (1 revision: Importing from potato (again).) |
m |
||
Line 1: | Line 1: | ||
− | |||
Determines the horizontal size a line of text needs. | Determines the horizontal size a line of text needs. | ||
Does not support line-breaks. | Does not support line-breaks. | ||
Line 16: | Line 15: | ||
{{#set:Description=Determines the horizontal size a line of text needs. | {{#set:Description=Determines the horizontal size a line of text needs. | ||
}} | }} | ||
+ | == Other Languages == | ||
+ | {{i18n|Font:getWidth}} |
Revision as of 19:12, 18 November 2010
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