A specialized canvas group for rendering hidden containers before all others (like masks).

Hierarchy

  • Container<DisplayObject, this>
    • HiddenCanvasGroup

Properties

masks: Container<DisplayObject> = ...

The container which hold masks.

groupName: string = "hidden"

Methods

  • Parameters

    • options: any

    Returns Promise<void>

  • Parameters

    • options: any

    Returns Promise<void>

  • Add a mask to this group.

    Parameters

    • name: string

      Name of the mask.

    • displayObject: DisplayObject

      Display object to add.

    • Optionalposition: number

      Position of the mask.

    Returns void

  • Invalidate the masks: flag them for rerendering.

    Returns void