Class DisplayContainer

Container for dynamically adding, removing, and repositioning objects for display.

Hierarchy

  • DisplayContainer

Constructors

Accessors

  • get isEmpty(): boolean
  • Returns boolean

Methods

  • Adds all properties of parent annotated with display. The value of each property will be fetched each time this container is rendered, so new values assigned after addProperties is called will always be displayed.

    Parameters

    • parent: object

      Object to search through the properties of.

    Returns void

  • Remove the given child object. Returns true if the child was in this container.

    Parameters

    Returns boolean

  • Removes all child objects from this container.

    Returns void

  • Removes all of the given child objects.

    Parameters

    • objects: Iterable<DisplayChild>

      Iterable of objects to remove.

    Returns void

  • Applies transform a to transform b, returning the result. Neither a nor b are modified.

    Parameters

    Returns ITransform

    The combined transformation.

  • Applies transform a to transform b, storing the result in out. Neither a nor b are modified.

    Parameters

    Returns ITransform

    Combined transform out

Generated using TypeDoc