Interface IRenderProps

Hierarchy

  • IRenderProps

Properties

canvas: HTMLCanvasElement

The HTMLCanvasElement associated with the canvas.

clientHeight: number

The client height of the canvas (before DPR is applied).

clientWidth: number

The client width of the canvas (before DPR is applied).

ctx: CanvasRenderingContext2D

The 2D rendering context of the canvas.

dpr: number

The device pixel ratio for rendering on the canvas.

height: number

The height of the canvas, including the device pixel ratio.

width: number

The width of the canvas, including the device pixel ratio.