Text#useAdvancedWrap

useAdvancedWrap : boolean

Will this Text object use Basic or Advanced Word Wrapping?

Advanced wrapping breaks long words if they are the first of a line, and repeats the process as necessary.
White space is condensed (e.g., consecutive spaces are replaced with one).
Lines are trimmed of white space before processing.

It throws an error if wordWrapWidth is less than a single character.

Source code: gameobjects/Text.js (Line 132)
doc_phaser
2017-02-14 11:14:44
Comments
Leave a Comment

Please login to continue.