Phaser API Documentation

  Version: 
setLineSpacing([spacing])

Description:

Sets the line spacing value. This value is added to the font height to calculate the overall line height.

Spacing can be a negative or positive number.

Only has an effect if this BitmapText object contains multiple lines of text.

Parameters:

name type arguments description
spacing number <optional>

The amount of space to add between each line in multi-line text.

Returns:
Description:

This BitmapText Object.