Skip to content
ClassUI & Typography@public

FlxTextRenderHandle

Pixi text leaf wrapped by a transform-owning container.

ts
export declare class FlxTextRenderHandle implements FlxRenderHandle

Constructors

ts
constructor(owner: FlxText, onDestroy?: () => void)

Constructs a new instance of the FlxTextRenderHandle class

ParameterTypeDescription
ownerFlxText-
onDestroy() => void-

Properties

PropertyModifiersTypeDescription
destroyedreadonlyboolean-
textNodereadonlyFlxPixiTextNode-
viewreadonlyContainer-

Methods

destroy()

ts
destroy(): void

Returns: void

sync()

ts
sync(camera?: FlxCamera, interpolationAlpha?: number): void

Parameters:

ParameterTypeDescription
cameraFlxCamera-
interpolationAlphanumber-

Returns: void

Released under the MIT License.