Skip to main content

Interface: CanvasParams

@geenee/armature.CanvasParams

Parameters of CanvasRenderer

Properties

aspectRatio

Optional aspectRatio: number

Target aspect ratio


container

container: HTMLElement

Container of responsive canvas


layerCount

Optional layerCount: number

Number of canvas layers


mirror

Optional mirror: boolean

Mirror the output


mode

Optional mode: CanvasMode

Fitting mode