{{newinoldin|[[0.8.0]]|080|[[0.10.0]]|100|type=function|text=It has been replaced by [[love.graphics.stencil]] and [[love.graphics.setStencilTest]]}}
Defines an inverted stencil for the drawing operations or releases the active one.

It's the same as [[love.graphics.setStencil]] with the mask inverted.
== Function ==
=== Synopsis ===
<source lang="lua">
love.graphics.setInvertedStencil( stencilFunction )
</source>
=== Arguments ===
{{param|function|stencilFunction|Function that draws the stencil.}}
=== Returns ===
Nothing.
== Function ==
Releases the active stencil.
=== Synopsis ===
<source lang="lua">
love.graphics.setInvertedStencil( )
</source>
=== Arguments ===
None.
=== Returns ===
Nothing.

== See Also ==
* [[parent::love.graphics]]
* [[parent::love.graphics.newStencil]]
* [[parent::love.graphics.setStencil]]
[[Category:Functions]]
{{#set:Description=Defines an inverted stencil.}}
{{#set:Since=080}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.setInvertedStencil}}