Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Texture(source: string, options?: TextureOptions): Texture

Properties

id

id: number

image

image: HTMLImageElement | ImageBitmap

isLoaded

isLoaded: boolean = false

offset

offset: Vector2

rotation

rotation: number

scale

scale: Vector2

size

Methods

convertToBitmap

  • convertToBitmap(): Promise<Texture>

onLoad

  • onLoad(): void

Legend

  • Constructor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Property
  • Static method

Generated using TypeDoc