love.graphics.setScissor( x, y, width, height )
Set the clipping rectangle. Anything drawn outside this rectangle will not appear on screen. If called with no arguments, disables clipping (so that anything drawn on screen will appear).
Synopsis
love.graphics.setScissor( x, y, width, height )
Parameters
x |
number |
x coordinate of upper left corner. |
y |
number |
y coordinate of upper left corner. |
width |
number |
width of clipping rectangle. |
height |
number |
height of clipping rectangle. |