Namespace: mixins

PIXI.utils.mixins

Methods

PIXI.utils.mixins.delayMixin (target, source) static

Queues a mixin to be handled towards the end of the initialization of PIXI, so that deprecation can take effect.

Name Type Description
target object

The prototype or instance that properties and methods should be added to.

source object

The source of properties and methods to mix in.

PIXI.utils.mixins.mixin (target, source) static

Mixes all enumerable properties and methods from a source object to a target object.

Name Type Description
target object

The prototype or instance that properties and methods should be added to.

source object

The source of properties and methods to mix in.

PIXI.utils.mixins.performMixins () static

Handles all mixins queued via delayMixin().