Class: StencilSystem

PIXI.StencilSystem

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

new PIXI.StencilSystem (renderer) overrides

StencilSystem.ts:15
Name Type Description
renderer PIXI.Renderer

The renderer this System works for.

Extends

Methods

pop (maskObject) void

StencilSystem.ts:70

Pops stencil mask. MaskData is already removed from stack

Name Type Description
maskObject PIXI.DisplayObject

object of popped mask data

push (maskData) void

StencilSystem.ts:37

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

Name Type Description
maskData PIXI.MaskData

The mask data

Inherited Properties

From class PIXI.System

Reference to the main renderer

Inherited Methods

From class PIXI.System

destroy () void inherited

ISystem.ts:48

Destroy and don't use after this.