Sets or disables scissor.
The scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including love.graphics.clear.
The dimensions of the scissor is unaffected by graphical transformations (translate, scale, ...).
Limits the drawing area to a specified rectangle.
love.graphics.setScissor( x, y, width, height )
number x
number y
number width
number height
Nothing.
Disables scissor.
love.graphics.setScissor( )
None.
Nothing.
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setScissor