Class BaseRendererAbstract

A base renderer class.

Attach an instance of a BitmapGenerator with a attach method.

Implementors must provide readyHandler and bitmapHandler as methods bound to this instance.

Hierarchy

Constructors

Properties

bitmapHandler: ((event: CustomEvent<any>) => void)

Type declaration

    • (event: CustomEvent<any>): void
    • Parameters

      • event: CustomEvent<any>

      Returns void

generator: BitmapGenerator

The attached bitmap generator.

isAnimating: boolean

Animation state.

readyHandler: (() => void)

Type declaration

    • (): void
    • Returns void

Methods

  • Controls animation state.

    Parameters

    • enable: boolean

    Returns void