Properties
Optional antialias
antialias: boolean
Optional autoDensity
autoDensity: boolean
Optional backgroundAlpha
backgroundAlpha: number
Optional backgroundColor
backgroundColor: number
Optional clearBeforeRender
clearBeforeRender: boolean
Optional forceCanvas
forceCanvas: boolean
Optional height
height: number
Optional powerPreference
powerPreference: WebGLPowerPreference
Optional preserveDrawingBuffer
preserveDrawingBuffer: boolean
Optional resolution
resolution: number
Optional transparent
transparent: boolean
Optional useContextAlpha
useContextAlpha: boolean | "notMultiplied"
Optional view
view: HTMLCanvasElement
Optional width
width: number
Use
backgroundAlpha
instead.