Phaser API Documentation

  Version: 
setLineSpacing(value)

Description:

Sets the line spacing value.

This value is added to the height of the font when calculating the overall line height. This only has an effect if this Text object consists of multiple lines of text.

Parameters:

name type description
value number

The amount to add to the font height to achieve the overall line height.

Returns:
Description:

This Text object.

Since: 3.13.0