Difference between revisions of "Canvas:getWidth"

m
(De-parented (Use Texture:getWidth))
 
Line 10: Line 10:
 
{{param|number|width|The width of the Canvas, in pixels.}}
 
{{param|number|width|The width of the Canvas, in pixels.}}
 
== See Also ==
 
== See Also ==
* [[parent::Canvas]]
+
* [[Canvas]]
 
* [[Canvas:getHeight]]
 
* [[Canvas:getHeight]]
 
* [[Canvas:getDimensions]]
 
* [[Canvas:getDimensions]]

Latest revision as of 01:44, 19 July 2017

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