Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Textures.TextureSource
image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement
Description:
The image data.
This is either an Image element, Canvas element or a Video Element.
Type:
HTMLImageElement | HTMLCanvasElement | HTMLVideoElement
Since:
3.0.0
Source:
src/textures/TextureSource.js
(Line
70
)
Possible examples