Skip to main content

Interface: HorizonSharedCanvasInstance

An instance of a shared canvas used by HorizonSharedCanvasLayer.

Properties

canvas

Readonly canvas: HTMLCanvasElement

This instance's canvas element.

Defined in

src/sdk/components/horizon/layers/HorizonSharedCanvasLayer.tsx:15


context

Readonly context: CanvasRenderingContext2D

This instance's canvas 2D rendering context.

Defined in

src/sdk/components/horizon/layers/HorizonSharedCanvasLayer.tsx:18


isInvalidated

Readonly isInvalidated: boolean

Whether this canvas has been invalidated.

Defined in

src/sdk/components/horizon/layers/HorizonSharedCanvasLayer.tsx:21