lineSpacing : number Additional spacing (in pixels) between each line of text if multi-line.
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
setTextBounds(x, y, width, height)
removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.
damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero
key : string | Phaser.RenderTexture |
shadowStroke : boolean Sets if the drop shadow is applied to the Text stroke. Source
shadowOffsetY : number The shadowOffsetY value in pixels. This is how far offset vertically the shadow effect will be.
fontVariant : string The variant the font: 'normal', 'small-caps' Source
destroy(destroyChildren) Destroy this Text object, removing it from the group it belongs to.
Page 6 of 15