Class ImageLoader

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(url: string, crossorigin?: boolean): ImageLoader

Parameters

  • url: string
  • crossorigin?: boolean optional

Returns

ImageLoader

Properties

public texture: Texture

Methods

public addEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any

public dispatchEvent(event: IEvent): any

Parameters

Returns

any

public load()

public removeEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any