Phaser API Documentation

  Version: 
fill()

Description:

Fill the current path.

This is an alias for Graphics.fillPath and does the same thing. It was added to match the CanvasRenderingContext 2D API.

Returns:
Description:

This Game Object.

Since: 3.16.0