Difference between revisions of "love.graphics.newStencil"

m (Undo revision 9595 by Qaisjp (talk))
m
Line 17: Line 17:
 
{{#set:Description=Creates a new stencil.}}
 
{{#set:Description=Creates a new stencil.}}
 
{{#set:Since=080}}
 
{{#set:Since=080}}
 +
{{#set:Sub-Category=Object Creation}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.newStencil}}
 
{{i18n|love.graphics.newStencil}}

Revision as of 01:13, 29 March 2013

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