Phaser API Documentation

  Version: 
clear()

Description:

Fully clears this Dynamic Texture, erasing everything from it and resetting it back to a blank, transparent, texture.

Returns:
Description:

This Dynamic Texture instance.

Since: 3.2.0