Skip to content

Interface: ILeaferCanvasConfig

Hierarchy

Table of contents

Properties

Properties

view

Optional view: string | IObject

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:12


canvas

Optional canvas: string | IObject

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:13


fill

Optional fill: string

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:14


pixelRatio

Optional pixelRatio: number

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:15


smooth

Optional smooth: boolean

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:16


hittable

Optional hittable: boolean

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:17


webgl

Optional webgl: boolean

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:18


contextSettings

Optional contextSettings: ICanvasRenderingContext2DSettings

Defined in

leafer/packages/interface/src/canvas/ILeaferCanvas.ts:19


top

Optional top: number

Inherited from

IAutoBoundsData.top

Defined in

leafer/packages/interface/src/math/IMath.ts:135


Optional right: number

Inherited from

IAutoBoundsData.right

Defined in

leafer/packages/interface/src/math/IMath.ts:136


bottom

Optional bottom: number

Inherited from

IAutoBoundsData.bottom

Defined in

leafer/packages/interface/src/math/IMath.ts:137


left

Optional left: number

Inherited from

IAutoBoundsData.left

Defined in

leafer/packages/interface/src/math/IMath.ts:138


width

Optional width: number

Inherited from

IAutoBoundsData.width

Defined in

leafer/packages/interface/src/math/IMath.ts:143


height

Optional height: number

Inherited from

IAutoBoundsData.height

Defined in

leafer/packages/interface/src/math/IMath.ts:144

Released under the MIT License.