Phaser API Documentation

  Version: 
closePath: boolean

Description:

Controls if this Shape path is closed during rendering when stroked. Note that some Shapes are always closed when stroked (such as Ellipse shapes)

Type:
boolean
Since: 3.13.0