Skip to content
ClassUI & Typography@public

FlxNineSliceButtonRenderHandle

Composite Pixi view for a 9-slice button background and optional label.

ts
export declare class FlxNineSliceButtonRenderHandle implements FlxRenderHandle

Constructors

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

Constructs a new instance of the FlxNineSliceButtonRenderHandle class

ParameterTypeDescription
ownerFlxNineSliceButton-
onDestroy() => void-

Properties

PropertyModifiersTypeDescription
destroyedreadonlyboolean-
slicereadonlyNineSliceSprite-
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.