Class: StencilSystem

PIXI.systems.StencilSystem

System plugin to the renderer to manage stencils (used for masks).

new PIXI.systems.StencilSystem (renderer)

Name Type Description
renderer PIXI.Renderer

The renderer this System works for.

Extends

Members

The renderer this manager works for.

Methods

destroy () inherited

Generic destroy methods to be overridden by the subclass

pop (maskObject)

Pops stencil mask. MaskData is already removed from stack

Name Type Description
maskObject PIXI.DisplayObject

object of popped mask data

push (maskData)

Applies the Mask and adds it to the current stencil stack.

Name Type Description
maskData PIXI.MaskData

The mask data