Hierarchy

Implements

Constructors

Properties

alphabet: string = ''
caseInsensitive: boolean = false
id: number = ...
opacity: number = 1

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

shadow: {
    offset: Vector;
} = null

Type declaration

showDebug: boolean = false

Gets or sets wether to show debug information about the graphic

spacing: number = 0
spriteSheet: SpriteSheet
tint: Color = null
transform: AffineMatrix = ...

Accessors

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

    Returns boolean

  • set flipHorizontal(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

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

    Returns boolean

  • set flipVertical(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

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

    Returns number

  • set height(value: number): void
  • Parameters

    • value: number

    Returns void

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

    Returns number

  • set rotation(value: number): void
  • Parameters

    • value: number

    Returns void

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

    Returns number

  • set width(value: number): void
  • Parameters

    • value: number

    Returns void

Methods