Difference between revisions of "love.graphics.getWidth"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Gets the width of the window.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Gets the width of the window.}}

Revision as of 16:17, 14 February 2010

Gets the width of the window.

Function

Synopsis

width = love.graphics.getWidth( )

Arguments

None.

Returns

number width
The width of the window.

See Also