Difference between revisions of "love.graphics.rectangle"
Line 17: | Line 17: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Draws a rectangle.}} | {{#set:Description=Draws a rectangle.}} | ||
+ | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.rectangle}} | {{i18n|love.graphics.rectangle}} |
Revision as of 10:19, 25 March 2011
Draws a rectangle.
Function
Synopsis
love.graphics.rectangle( mode, x, y, width, height )
Arguments
DrawMode mode
- How to draw the rectangle.
number x
- The position of top-left corner along x-axis.
number y
- The position of top-left corner along y-axis.
number width
- Width of the rectangle.
number height
- Height of the rectangle.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info