Difference between revisions of "love.graphics.getWidth"

m
Line 16: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the width of the window.}}
 
{{#set:Description=Gets the width of the window.}}
 +
{{#set:Sub-Category=Window}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getWidth}}
 
{{i18n|love.graphics.getWidth}}

Revision as of 00:42, 29 March 2013

Available since LÖVE 0.2.1
This function is not supported in earlier versions.

Gets the width of the window.

Function

Synopsis

width = love.graphics.getWidth( )

Arguments

None.

Returns

number width
The width of the window.

See Also


Other Languages