Text#smoothed

smoothed : boolean Enable or disable texture smoothing for this Game Object. It only takes effect if the Game Object is using an image based texture. Smoothing is enabled by default. Inherited From Phaser.Component.Smoothed#smoothed Source code: gameobjects/components/Smoothed.js (Line 25)

Text#shadowStroke

shadowStroke : boolean Sets if the drop shadow is applied to the Text stroke. Source code: gameobjects/Text.js (Line 2195)

Text#shadowOffsetY

shadowOffsetY : number The shadowOffsetY value in pixels. This is how far offset vertically the shadow effect will be. Source code: gameobjects/Text.js (Line 2129)

Text#shadowOffsetX

shadowOffsetX : number The shadowOffsetX value in pixels. This is how far offset horizontally the shadow effect will be. Source code: gameobjects/Text.js (Line 2107)

Text#shadowFill

shadowFill : boolean Sets if the drop shadow is applied to the Text fill. Source code: gameobjects/Text.js (Line 2217)

Text#shadowColor

shadowColor : string The color of the shadow, as given in CSS rgba format. Set the alpha component to 0 to disable the shadow. Source code: gameobjects/Text.js (Line 2151)

Text#shadowBlur

shadowBlur : number The shadowBlur value. Make the shadow softer by applying a Gaussian blur to it. A number from 0 (no blur) up to approx. 10 (depending on scene). Source code: gameobjects/Text.js (Line 2173)

Text#shader

shader : PIXI.AbstractFilter The shader that will be used to render this Sprite.Set to null to remove a current shader. Inherited From PIXI.Sprite#shader Default Value null Source code: pixi/display/Sprite.js (Line 93)

Text#setTexture()

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy the previoustexture this Sprite was using. Parameters Name Type Argument Default Description texture PIXI.Texture The PIXI texture that is displayed by the sprite destroy Boolean <optional> false Call Texture.destroy on the current texture before replacing it with the new one? Inherited From PIXI.Sprite#setTexture Source code: pixi/display/Sprite.js (Line 163)

Text#setTextBounds()

setTextBounds(x, y, width, height) → {Phaser.Text} The Text Bounds is a rectangular region that you control the dimensions of into which the Text object itself is positioned,regardless of the number of lines in the text, the font size or any other attribute. Alignment is controlled via the properties boundsAlignH and boundsAlignV within the Text.style object, or can be directlyset through the setters Text.boundsAlignH and Text.boundsAlignV. Bounds alignment is independent of text alignment. F