Difference between revisions of "love.graphics.getScissor"

m
m
Line 1: Line 1:
{{newin|[[0.4.0]]|040|type=function}}
 
 
Gets the current scissor box.
 
Gets the current scissor box.
 
== Function ==
 
== Function ==
Line 18: Line 17:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the current scissor box.}}
 
{{#set:Description=Gets the current scissor box.}}
{{#set:Since=000}}
+
{{#set:Since=040}}
 +
{{#set:PrettySince=[[0.4.0]]}}
 
{{#set:Sub-Category=State}}
 
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getScissor}}
 
{{i18n|love.graphics.getScissor}}

Revision as of 19:19, 27 December 2015

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.

See Also



Other Languages