Class: AbstractMaskSystem

PIXI.AbstractMaskSystem

System plugin to the renderer to manage specific types of masking operations.

new PIXI.AbstractMaskSystem (renderer)

Name Type Description
renderer PIXI.Renderer

The renderer this System works for.

Extends

  • PIXI.System

Implements

Members

maskStack Array<PIXI.MaskData>

The mask stack

Methods

destroy () void

Destroys the mask stack.

getStackLength () number

gets count of masks of certain type

Returns:
Type Description
number

setMaskStack (maskStack) void

Changes the mask stack that is used by this System.

Name Type Description
maskStack Array<PIXI.MaskData>

The mask stack