Properties
canvas
canvas: HTMLCanvasElement
ctx
ctx: CanvasRenderingContext2D
element
element: HTMLElement
options
options
: { backgroundColor
: string; lineWidth
: number; scale
: Vector; showJoints
: boolean; showRadius
: boolean; showSleeping
: boolean; showStatus
: boolean; translate
: Vector }
Type declaration
-
backgroundColor: string
-
lineWidth: number
-
-
showJoints: boolean
-
showRadius: boolean
-
showSleeping: boolean
-
showStatus: boolean
-
statusText
statusText: string = ''
statusTimer
statusTimer: number = 0
The Render is a class, that provides methods for rendering the world, based on HTML5 canvas.