Phaser API Documentation

  Version: 
save()

Description:

Saves the state of the Graphics by pushing the current state onto a stack.

The most recently saved state can then be restored with Phaser.GameObjects.Graphics#restore.

Returns:
Description:

This Game Object.

Since: 3.0.0