Phaser API Documentation

  Version: 
setStroke(color, thickness)

Description:

Set the stroke settings.

Parameters:

name type description
color string

The stroke color.

thickness number

The stroke thickness.

Returns:
Description:

The parent Text object.

Examples:
Since: 3.0.0