Phaser API Documentation

  Version: 
<private> _align: number

Description:

Controls the alignment of each line of text in this BitmapText object. Only has any effect when this BitmapText contains multiple lines of text, split with carriage-returns. Has no effect with single-lines of text.

See the methods setLeftAlign, setCenterAlign and setRightAlign.

0 = Left aligned (default) 1 = Middle aligned 2 = Right aligned

The alignment position is based on the longest line of text.

Type:
number