Difference between revisions of "love.graphics.setScissor"

m (1 revision: Importing from potato (again).)
(Fixed description)
Line 1: Line 1:
 
+
Sets or disables scissor.
Disables scissor.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 15:04, 26 March 2010

Sets or disables scissor.

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