Class: ScissorMask
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:14
ScissorMask is an effect that applies a scissor mask to a container. It restricts rendering to the area defined by the mask. The mask is a Container that defines the area to be rendered. The mask must be a Container that is not renderable or measurable. This effect is used to create clipping regions in the rendering process.
Advanced
Implements
Constructors
Constructor
> new ScissorMask(mask): ScissorMask
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:18
Parameters
mask
Returns
ScissorMask
Properties
mask
> mask: Container
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:16
pipe
> pipe: string
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:17
Implementation of
priority
> priority: number
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:15
Implementation of
Methods
addBounds()
> addBounds(bounds, skipUpdateTransform?): void
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:19
Parameters
bounds
skipUpdateTransform?
boolean
Returns
void
Implementation of
addLocalBounds()
> addLocalBounds(bounds, localRoot): void
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:20
Parameters
bounds
localRoot
Returns
void
Implementation of
containsPoint()
> containsPoint(point, hitTestFn): boolean
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:21
Parameters
point
hitTestFn
(container, point) => boolean
Returns
boolean
Implementation of
destroy()
> destroy(): void
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:23
Returns
void
Implementation of
reset()
> reset(): void
Defined in: node_modules/pixi.js/lib/rendering/mask/scissor/ScissorMask.d.ts:22
Returns
void