Gets the width of the Canvas.
== Function ==
=== Synopsis ===
<source lang="lua">
width = Canvas:getWidth( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|width|The width of the Canvas, in pixels.}}
== See Also ==
* [[Canvas]]
* [[Canvas:getHeight]]
* [[Canvas:getDimensions]]
[[Category:Functions]]
{{#set:Description=Gets the width of the Canvas.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Canvas:getWidth}}