Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

animation: BitmapWrap[]
bitmap: BitmapWrap
delay: number
isAnimation: boolean

Methods

  • clone(): any
  • draw(canvas: Canvas, x: number, y: number, scale: number): void
  • drawCutout(canvas: Canvas, cutout: RectF, x: number, y: number, scale: number): void
  • Parameters

    • canvas: Canvas
    • cutout: RectF
    • x: number
    • y: number
    • scale: number

    Returns void

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

  • finalize(): void
  • fitAllToOneSize(): void
  • getBitmap(frame: number): Bitmap
  • Parameters

    • frame: number

      frame number

    Returns Bitmap

    [[android.graphics.Bitmap]] object containing animation frame for the corresponding frame number

  • getClass(): Class<any>
  • getFrame(): number
  • Returns number

    frame number of the animation corresponding to current system time

  • getHeight(): number
  • getWidth(): number
  • hashCode(): number
  • isAnimated(): boolean
  • notify(): void
  • notifyAll(): void
  • readOffset(obj: { x?: number; y?: number }): void
  • Sets texture offsets in pixels from the upper left bound of the bitmap

    Parameters

    • obj: { x?: number; y?: number }
      • Optional x?: number
      • Optional y?: number

    Returns void

  • release(): void
  • Releases all allocated resources, should be called when the texture is not longer needed

    Returns void

  • rescaleAll(scale: number): void
  • Resizes all the frames by constant scale multiplier

    Parameters

    • scale: number

      scale to modify the frames by

    Returns void

  • resizeAll(width: number, height: number): void
  • Resizes all the frames of the texture to the specified size

    Parameters

    • width: number
    • height: number

    Returns 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

Generated using TypeDoc