Difference between revisions of "love.graphics.setScissor"
(added short description of scissors) |
m |
||
Line 28: | Line 28: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Disables scissor.}} | {{#set:Description=Disables scissor.}} | ||
+ | == Other Languages == | ||
+ | {{i18n|love.graphics.setScissor}} |
Revision as of 20:26, 18 November 2010
Sets or disables scissor.
The scissor limits the drawing area to a specified rectangle. This effects all graphics calls, including love.graphics.clear.
Contents
Function
Synopsis
love.graphics.setScissor( )
Arguments
None.
Returns
Nothing.
Function
Synopsis
love.graphics.setScissor( x, y, width, height )
Arguments
number x
- x coordinate of upper left corner.
number y
- y coordinate of upper left corner.
number width
- width of clipping rectangle.
number height
- height of clipping 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