Properties
autoAdjustOffset
autoAdjustOffset: boolean
autoDetectRetina
autoDetectRetina: boolean
backgroundColor
backgroundColor: string
canvas
canvas: string | HTMLCanvasElement | SVGElement
canvasHeightFactor
canvasHeightFactor: number
canvasWidthFactor
canvasWidthFactor: number
cssScaleX
cssScaleX: number
cssScaleY
cssScaleY: number
cssUniformScale
cssUniformScale: boolean
defaultCanvasHeight
defaultCanvasHeight: number
defaultCanvasWidth
defaultCanvasWidth: number
drawOrigin
drawOrigin: boolean
drawRaster
drawRaster: boolean
Optional
enableGL
enableGL?: boolean
enableKeys
enableKeys: boolean
enableMouse
enableMouse: boolean
enableMouseWheel
enableMouseWheel: boolean
enablePan
enablePan: boolean
enableSVGExport
enableSVGExport: boolean
enableTouch
enableTouch: boolean
enableZoom
enableZoom: boolean
fitToParent
fitToParent: boolean
fullSize
fullSize: boolean
Optional
isBackdropFiltersEnabled
isBackdropFiltersEnabled?: boolean
offsetAdjustXPercent
offsetAdjustXPercent: number
offsetAdjustYPercent
offsetAdjustYPercent: number
Optional
postDraw
postDraw?: ((draw, fill) => void)
Type declaration
- (draw, fill): void
Returns void
Optional
preClear
preClear?: (() => void)
Optional
preDraw
preDraw?: ((draw, fill) => void)
Type declaration
- (draw, fill): void
Returns void
rasterAdjustFactor
rasterAdjustFactor: number
rasterGrid
rasterGrid: boolean
rasterScaleX
rasterScaleX: number
rasterScaleY
rasterScaleY: number
redrawOnResize
redrawOnResize: boolean
Optional
saveFile
saveFile?: (() => void)
Optional
setToRetina
setToRetina?: (() => void)
The config that's used by PB.