Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace containing methods used to get and add gui textures

Hierarchy

  • Object
    • TextureSource

Index

Constructors

Properties

class: Class<UI.TextureSource>

Methods

  • clone(): any
  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

  • finalize(): void
  • getClass(): Class<any>
  • hashCode(): number
  • notify(): void
  • notifyAll(): void
  • toString(): string
  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

  • Parameters

    • param0: number

    Returns void

  • Parameters

    • param0: number
    • param1: number

    Returns void

  • get(name: string): Bitmap
  • Parameters

    • name: string

      gui texture name

    Returns Bitmap

    [[android.graphics.Bitmap]] instance with the ui texture, if it was loaded, with "missing_texture" texture otherwise

  • getNullable(name: string): Bitmap
  • Parameters

    • name: string

      gui texture name

    Returns Bitmap

    [[android.graphics.Bitmap]] instance with the ui texture, if it was loaded, null otherwise

  • put(name: string, bitmap: Bitmap): void
  • Adds any bitmap as a gui texture with specified name

    Parameters

    • name: string

      gui texture name

    • bitmap: Bitmap

      [[android.graphics.Bitmap]] instance to be used as gui texture

    Returns void

Generated using TypeDoc