ClassUI & Typography@public
FlxButtonRenderHandle
Composite Pixi view for a button background and its optional label.
ts
export declare class FlxButtonRenderHandle implements FlxRenderHandle1
Constructors
ts
constructor(owner: FlxButton, onDestroy?: () => void)1
Constructs a new instance of the FlxButtonRenderHandle class
| Parameter | Type | Description |
|---|---|---|
owner | FlxButton | - |
onDestroy | () => void | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
destroyed | readonly | boolean | - |
sprite | readonly | Sprite | - |
view | readonly | Container<import("pixi.js").ContainerChild> | - |
Methods
destroy()
ts
destroy(): void1
Returns: void
sync()
ts
sync(camera?: FlxCamera, interpolationAlpha?: number): void1
Parameters:
| Parameter | Type | Description |
|---|---|---|
camera | FlxCamera | - |
interpolationAlpha | number | - |
Returns: void