Phaser API Documentation

  Version: 
stroke()

Description:

Stroke the current path.

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

Returns:
Description:

This Game Object.

Since: 3.16.0