Difference between revisions of "Font:getWidth"
m |
(→See Also) |
||
Line 11: | Line 11: | ||
== See Also == | == See Also == | ||
* [[parent::Font]] | * [[parent::Font]] | ||
+ | * [[Font:getHeight]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Determines the width of the given text. }} | {{#set:Description=Determines the width of the given text. }} | ||
{{#set:Since=000}} | {{#set:Since=000}} | ||
+ | |||
== Other Languages == | == Other Languages == | ||
{{i18n|Font:getWidth}} | {{i18n|Font:getWidth}} |
Revision as of 16:39, 26 March 2021
Determines the maximum width (accounting for newlines) taken by the given string.
Function
Synopsis
width = Font:getWidth( text )
Arguments
string text
- A string.
Returns
number width
- The width of the text.
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