Phaser API Documentation

  Version: 
lineStyle(lineWidth, color, [alpha])

Description:

Set the current line style.

Parameters:

name type arguments Default description
lineWidth number

The stroke width.

color number

The stroke color.

alpha number <optional> 1

The stroke alpha.

Returns:
Description:

This Game Object.

Since: 3.0.0