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#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#canvas
  • References/Game Development/Phaser/Text/Text

canvas :HTMLCanvasElement The canvas element that the text is rendered. Source

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

getChildAt(index) → {DisplayObject}

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
Text#tint
  • References/Game Development/Phaser/Text/Text

tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.

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#shadowColor
  • References/Game Development/Phaser/Text/Text

shadowColor : string The color of the shadow, as given in CSS rgba format. Set the alpha component to 0 to disable the shadow.

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

fontWeight : string The weight of the font: 'normal', 'bold', or

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

blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Warning:

2025-01-10 15:47:30