Skip to content
ClassUI & Typography@public

FlxButtonRenderHandle

Composite Pixi view for a button background and its optional label.

ts
export declare class FlxButtonRenderHandle implements FlxRenderHandle

Constructors

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

Constructs a new instance of the FlxButtonRenderHandle class

ParameterTypeDescription
ownerFlxButton-
onDestroy() => void-

Properties

PropertyModifiersTypeDescription
destroyedreadonlyboolean-
spritereadonlySprite-
viewreadonlyContainer<import("pixi.js").ContainerChild>-

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.