Difference between revisions of "love.graphics.getWidth"

m
m
Line 1: Line 1:
{{newin|[[0.2.1]]|021|type=function}}
 
 
Gets the width in pixels of the window.
 
Gets the width in pixels of the window.
 
== Function ==
 
== Function ==
Line 16: Line 15:
 
{{#set:Description=Gets the width in pixels of the window.}}
 
{{#set:Description=Gets the width in pixels of the window.}}
 
{{#set:Sub-Category=Window}}
 
{{#set:Sub-Category=Window}}
 +
{{#set:Since=021}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getWidth}}
 
{{i18n|love.graphics.getWidth}}

Revision as of 07:11, 6 March 2014

Gets the width in pixels of the window.

Function

Synopsis

width = love.graphics.getWidth( )

Arguments

None.

Returns

number width
The width of the window.

See Also


Other Languages