Determines the maximum width (accounting for newlines) taken by the given string.
== Function ==
=== Synopsis ===
<source lang="lua">
width = Font:getWidth( text )
</source>
=== Arguments ===
{{param|string|text|A string.}}
=== Returns ===
{{param|number|width|The width of the text.}}
== See Also ==
* [[parent::Font]]
[[Category:Functions]]
{{#set:Description=Determines the width of the given text. }}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Font:getWidth}}