Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Textures.CanvasTexture
getContext()
Description:
Gets the 2D Canvas Rendering Context.
Returns:
Description:
The Canvas Rendering Context this texture is using.
Type:
CanvasRenderingContext2D
Since:
3.7.0
Source:
src/textures/CanvasTexture.js
(Line
530
)
Possible examples