Difference between revisions of "love.graphics.newStencil"

(newStencil function.)
 
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=function}}
+
{{New feature|0.8.0|
 
Creates a new stencil.
 
Creates a new stencil.
 +
|080}}
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 11:13, 21 October 2012

Available since LÖVE 0.8.0

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