Difference between revisions of "love.graphics.newStencil"

m (Undo revision 9595 by Qaisjp (talk))
Line 1: Line 1:
{{New feature|0.8.0|
+
{{newin|[[0.8.0]]|080|type=function}}
 
Creates a new stencil.
 
Creates a new stencil.
|080}}
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 18:08, 22 October 2012

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Creates a new stencil.

Function

Synopsis

myStencil = love.graphics.newStencil( stencilFunction )

Arguments

function stencilFunction
Function that draws the stencil.

Returns

function myStencil
Function that defines the new stencil.

See Also


Other Languages