Difference between revisions of "Canvas:getWidth"

(De-parented (Use Texture:getWidth))
 
(One intermediate revision by the same user not shown)
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:getDimensions]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the width of the Canvas.}}
 
{{#set:Description=Gets the width of the Canvas.}}

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