Difference between revisions of "Canvas:getWidth"

m
Line 11: Line 11:
 
== See Also ==
 
== See Also ==
 
* [[parent::Canvas]]
 
* [[parent::Canvas]]
 +
* [[Canvas:getHeight]]
 +
* [[Canvas:getDimensions]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the width of the Canvas.}}
 
{{#set:Description=Gets the width of the Canvas.}}

Revision as of 16:19, 26 March 2016

Gets the width of the Canvas.

Function

Synopsis

width = Canvas:getWidth( )

Arguments

None.

Returns

number width
The width of the Canvas, in pixels.

See Also


Other Languages