Class: TextView

TextView

Implements

  • View

Members

_didUpdate boolean

Default Value:
  • true

_style AnyTextStyle

Methods

_getKey () string

Returns:
Type Description
string

destroy (options) void

Destroys this text renderable and optionally its style texture.

Name Type Attributes Default Description
options TypeOrBool<TextureDestroyOptions> false

Options parameter. A boolean will act as if all options have been set to that value

options.texture boolean <optional>
false

Should it destroy the texture of the text style

options.textureSource boolean <optional>
false

Should it destroy the textureSource of the text style

onUpdate ()