Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

Properties

id: number = ...
members: GraphicsGrouping[] = []
opacity: number = 1

Gets or sets the opacity of the graphic, 0 is transparent, 1 is solid (opaque).

showDebug: boolean = false

Gets or sets wether to show debug information about the graphic

transform: Matrix = ...

Accessors

  • get flipHorizontal(): boolean
  • set flipHorizontal(value: boolean): void
  • Gets or sets the flipHorizontal, which will flip the graphic horizontally (across the y axis)

    Returns boolean

  • Gets or sets the flipHorizontal, which will flip the graphic horizontally (across the y axis)

    Parameters

    • value: boolean

    Returns void

  • get flipVertical(): boolean
  • set flipVertical(value: boolean): void
  • Gets or sets the flipVertical, which will flip the graphic vertically (across the x axis)

    Returns boolean

  • Gets or sets the flipVertical, which will flip the graphic vertically (across the x axis)

    Parameters

    • value: boolean

    Returns void

  • get height(): number
  • set height(value: number): void
  • Gets or sets the height of the graphic (always positive)

    Returns number

  • Gets or sets the height of the graphic (always positive)

    Parameters

    • value: number

    Returns void

  • Gets or sets the origin of the graphic, if not set the center of the graphic is the origin

    Returns Vector

  • Gets or sets the origin of the graphic, if not set the center of the graphic is the origin

    Parameters

    Returns void

  • get rotation(): number
  • set rotation(value: number): void
  • Gets or sets the rotation of the graphic

    Returns number

  • Gets or sets the rotation of the graphic

    Parameters

    • value: number

    Returns void

  • Gets or sets the scale of the graphic, this affects the width and

    Returns Vector

  • Gets or sets the scale of the graphic, this affects the width and

    Parameters

    Returns void

  • get width(): number
  • set width(value: number): void
  • Gets or sets the width of the graphic (always positive)

    Returns number

  • Gets or sets the width of the graphic (always positive)

    Parameters

    • value: number

    Returns void

Methods

  • isStale(): boolean
  • reset(): void
  • tick(elapsedMilliseconds: number, idempotencyToken?: number): void