RenderScope

constructor(ctx: C, width: Int, height: Int, colorMode: ColorMode, elapsedMs: Double)(source)

Parameters

ctx

The canvas context which provides drawing functionality.

width

The width (in pixels) of this canvas.

height

The height (in pixels) of this canvas.

colorMode

The active color mode used by the site.

elapsedMs

Time elapsed since last frame.

C

The type of the canvas context