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