Hierarchy

  • GraphicsLayer

Constructors

Properties

Accessors

Methods

Constructors

Properties

graphics: {
    graphic: Graphic;
    options: GraphicsShowOptions;
}[] = []

Accessors

  • get order(): number
  • Current order of the layer, higher numbers are on top, lower numbers are on the bottom.

    For example a layer with order = -1 would be under a layer of order = 1

    Returns number

  • set order(order: number): void
  • Set the order of the layer, higher numbers are on top, lower numbers are on the bottom.

    For example a layer with order = -1 would be under a layer of order = 1

    Parameters

    • order: number

    Returns void

Methods

  • Show a graphic by name or instance at an offset, graphics are shown in the order in which show() is called.

    If show() is called multiple times for the same graphic it will be shown multiple times.

    Type Parameters

    Parameters

    Returns T