Difference between revisions of "love.graphics.getScissor"
m (1 revision: Importing from potato (again).) |
(Bleh) |
||
Line 1: | Line 1: | ||
− | |||
Gets the current scissor box. | Gets the current scissor box. | ||
== Function == | == Function == | ||
Line 15: | Line 14: | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
+ | * [[love.graphics.setScissor]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Gets the current scissor box.}} | {{#set:Description=Gets the current scissor box.}} |
Revision as of 14:45, 2 April 2010
Gets the current scissor box.
Function
Synopsis
x, y, width, height = love.graphics.getScissor( )
Arguments
None.
Returns
number x
- The x-component of the top-left point of the box.
number y
- The y-component of the top-left point of the box.
number width
- The width of the box.
number height
- The height of the box.