Text#resolution
  • References/Game Development/Phaser/Text/Text

resolution : integer The resolution of the canvas the text is rendered to.This defaults to match the resolution of the renderer

2025-01-10 15:47:30
Text#cssFont
  • References/Game Development/Phaser/Text/Text

cssFont : string Change the font used. This is equivalent of the font property specified to

2025-01-10 15:47:30
Text#heal
  • References/Game Development/Phaser/Text/Text

heal Heal the Game Object. This adds the given amount of health to the health property. Inherited

2025-01-10 15:47:30
Text#shader
  • References/Game Development/Phaser/Text/Text

shader : PIXI.AbstractFilter The

2025-01-10 15:47:30
Text#data
  • References/Game Development/Phaser/Text/Text

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be

2025-01-10 15:47:30
Text#align
  • References/Game Development/Phaser/Text/Text

align : string Controls the horizontal alignment for multiline text.Can be: 'left', 'center' or 'right'.Does not affect

2025-01-10 15:47:30
Text#frame
  • References/Game Development/Phaser/Text/Text

frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the

2025-01-10 15:47:30
Text#shadowOffsetY
  • References/Game Development/Phaser/Text/Text

shadowOffsetY : number The shadowOffsetY value in pixels. This is how far offset vertically the shadow effect will be.

2025-01-10 15:47:30
Text#stroke
  • References/Game Development/Phaser/Text/Text

stroke : string A canvas fillstyle that will be used on the text stroke eg 'blue', '#FCFF00'.

2025-01-10 15:47:30
Text#crop()
  • References/Game Development/Phaser/Text/Text

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting

2025-01-10 15:47:30