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#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#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#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#wordWrap

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

Text#wordWrapWidth

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

Text#world

world : Phaser.Point The world coordinates of this Game Object in pixels.Depending on where in the display list this Game Object is placed this value can differ from position,which contains the x/y coordinates relative to the Game Objects parent. Inherited From Phaser.Component.Core#world Source code: gameobjects/components/Core.js (Line 211)

Text#x

x : number The position of the Game Object on the x axis relative to the local coordinates of the parent. Inherited From Phaser.Component.PhysicsBody#x Source code: gameobjects/components/PhysicsBody.js (Line 98)

Text#y

y : number The position of the Game Object on the y axis relative to the local coordinates of the parent. Inherited From Phaser.Component.PhysicsBody#y Source code: gameobjects/components/PhysicsBody.js (Line 124)

Text#z

[readonly] z : number The z depth of this Game Object within its parent Group.No two objects in a Group can have the same z value.This value is adjusted automatically whenever the Group hierarchy changes.If you wish to re-order the layering of a Game Object then see methods like Group.moveUp or Group.bringToTop. Inherited From Phaser.Component.Core#z Source code: gameobjects/components/Core.js (Line 177)