Skip to main content
Version: Phaser v4.1.0

Phaser.Types.GameObjects.Text

Scope: static

Source: src/gameobjects/text/typedefs/index.js#L7

Static functions​

GetTextSizeObject​

GetTextSizeObject​

Description:

Results object from a call to GetTextSize.

Source: src/gameobjects/text/typedefs/GetTextSizeObject.js#L1
Since: 3.0.0


TextConfig​

TextConfig​

Source: src/gameobjects/text/typedefs/TextConfig.js#L1
Since: 3.0.0


TextMetrics​

TextMetrics​

Description:

Font metrics for a Text Style object.

Source: src/gameobjects/text/typedefs/TextMetrics.js#L1
Since: 3.0.0


TextPadding​

TextPadding​

Description:

A Text Padding configuration object as used by the Text Style.

Source: src/gameobjects/text/typedefs/TextPadding.js#L1
Since: 3.18.0


TextShadow​

TextShadow​

Description:

A Text Shadow configuration object as used by the Text Style.

Source: src/gameobjects/text/typedefs/TextShadow.js#L1
Since: 3.0.0


TextStyle​

TextStyle​

Description:

A Text Style configuration object as used by the Text Game Object.

Source: src/gameobjects/text/typedefs/TextStyle.js#L1
Since: 3.0.0


TextWordWrap​

TextWordWrap​

Description:

A Text Word Wrap configuration object as used by the Text Style configuration.

Source: src/gameobjects/text/typedefs/TextWordWrap.js#L1
Since: 3.0.0