Render onto an HTMLCanvasElement using a CanvasRenderingContext2D

Hierarchy (view full)

Constructors

Properties

canvas: HTMLCanvasElement

The canvas

ctx: CanvasRenderingContext2D

The rendering context for the canvas

defaultRenderAs: Color = ...

Default color is solid black

imageData: ImageData

The last known image data from Ctx2dRenderer.ctx

renderInfo: Color[] = []

Ordered by ID, the pixelmanipulator.ElementData.renderAs info for each element.

Methods