Options
All
  • Public
  • Public/Protected
  • All
Menu

Component for masked elements

Holds mask mode and temporary data about current mask

memberof

PIXI

Hierarchy

  • MaskData

Index

Constructors

constructor

  • Create MaskData

    Parameters

    Returns MaskData

Properties

_scissorCounter

_scissorCounter: number

_scissorRect

_scissorRect: Rectangle

_stencilCounter

_stencilCounter: number

_target

_target: IMaskTarget

autoDetect

autoDetect: boolean

isMaskData

isMaskData: true

maskObject

maskObject: IMaskTarget

pooled

pooled: boolean

type

Methods

copyCountersOrReset

  • copyCountersOrReset(maskAbove?: MaskData): void
  • copies counters from maskData above, called from pushMask()

    Parameters

    Returns void

reset

  • reset(): void
  • resets the mask data after popMask()

    Returns void

Generated using TypeDoc