Screen helpers · type

OverlayImageSource

Anything a 2D context can draw and report a natural size for.

Explained in Recording and clips.

type OverlayImageSource = HTMLImageElement | HTMLCanvasElement | ImageBitmap
import type { OverlayImageSource } from '@driftengine/core';