Text#wordWrapWidth

wordWrapWidth : number The width at which text will wrap. Source code: gameobjects/Text.js (Line 2058)

Text#wordWrap

wordWrap : boolean Indicates if word wrap should be used. Source code: gameobjects/Text.js (Line 2036)

Text#width

width : number The width of the Text. Setting this will modify the scale to achieve the value requested. Source code: gameobjects/Text.js (Line 2239)

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)

Text#updateShadow()

updateShadow(state) Sets the Shadow on the Text.context based on the Style settings, or disables it if not enabled.This is called automatically by Text.updateText. Parameters Name Type Description state boolean If true the shadow will be set to the Style values, otherwise it will be set to zero. Source code: gameobjects/Text.js (Line 652)

Text#updateCrop()

updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect property,or the rectangle it references, then you need to update the crop frame by calling this method. Inherited From Phaser.Component.Crop#updateCrop Source code: gameobjects/components/Crop.js (Line 86)

Text#type

type : number The const type of this object. Source code: gameobjects/Text.js (Line 60)

Text#transformCallbackContext

transformCallbackContext : Object The context under which transformCallback is called. Inherited From Phaser.Component.ScaleMinMax#transformCallbackContext Source code: gameobjects/components/ScaleMinMax.js (Line 26)

Text#transformCallback

transformCallback : Function The callback that will apply any scale limiting to the worldTransform. Inherited From Phaser.Component.ScaleMinMax#transformCallback Source code: gameobjects/components/ScaleMinMax.js (Line 20)

Text#top

top : number The y coordinate of the Game Object.This is the same as y - offsetY. Inherited From Phaser.Component.Bounds#top Source code: gameobjects/components/Bounds.js (Line 146)