Skip to content

Interface: ILeaferConfig

Hierarchy

Table of contents

Properties

Properties

start

Optional start: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:22


type

Optional type: ILeaferType

Defined in

leafer/packages/interface/src/app/ILeafer.ts:23


mobile

Optional mobile: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:24


realCanvas

Optional realCanvas: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:25


lazySpeard

Optional lazySpeard: IFourNumber

Defined in

leafer/packages/interface/src/app/ILeafer.ts:26


view

Optional view: string | IObject

Inherited from

ILeaferCanvasConfig.view

Defined in

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


canvas

Optional canvas: string | IObject

Inherited from

ILeaferCanvasConfig.canvas

Defined in

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


pixelRatio

Optional pixelRatio: number

Inherited from

ILeaferCanvasConfig.pixelRatio

Defined in

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


smooth

Optional smooth: boolean

Inherited from

ILeaferCanvasConfig.smooth

Defined in

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


hittable

Optional hittable: boolean

Inherited from

ILeaferCanvasConfig.hittable

Defined in

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


webgl

Optional webgl: boolean

Inherited from

ILeaferCanvasConfig.webgl

Defined in

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


contextSettings

Optional contextSettings: ICanvasRenderingContext2DSettings

Inherited from

ILeaferCanvasConfig.contextSettings

Defined in

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


wheel

Optional wheel: IWheelConfig

Inherited from

IInteractionConfig.wheel

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:94


pointer

Optional pointer: IPointerConfig

Inherited from

IInteractionConfig.pointer

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:95


touch

Optional touch: ITouchConfig

Inherited from

IInteractionConfig.touch

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:96


multiTouch

Optional multiTouch: IMultiTouchConfig

Inherited from

IInteractionConfig.multiTouch

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:97


zoom

Optional zoom: IZoomConfig

Inherited from

IInteractionConfig.zoom

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:98


move

Optional move: IMoveConfig

Inherited from

IInteractionConfig.move

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:99


eventer

Optional eventer: IObject

Inherited from

IInteractionConfig.eventer

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:100


cursor

Optional cursor: boolean

Inherited from

IInteractionConfig.cursor

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:101


keyEvent

Optional keyEvent: boolean

Inherited from

IInteractionConfig.keyEvent

Defined in

leafer/packages/interface/src/interaction/IInteraction.ts:102


partLayout

Optional partLayout: IPartLayoutConfig

Inherited from

ILayouterConfig.partLayout

Defined in

leafer/packages/interface/src/layouter/ILayouter.ts:31


top

Optional top: number

Inherited from

ILeaferCanvasConfig.top

Defined in

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


Optional right: number

Inherited from

ILeaferCanvasConfig.right

Defined in

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


bottom

Optional bottom: number

Inherited from

ILeaferCanvasConfig.bottom

Defined in

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


left

Optional left: number

Inherited from

ILeaferCanvasConfig.left

Defined in

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


width

Optional width: number

Inherited from

ILeaferCanvasConfig.width

Defined in

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


height

Optional height: number

Inherited from

ILeaferCanvasConfig.height

Defined in

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


usePartRender

Optional usePartRender: boolean

Inherited from

IRendererConfig.usePartRender

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:16


maxFPS

Optional maxFPS: number

Inherited from

IRendererConfig.maxFPS

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:17


fill

Optional fill: string

Inherited from

ILeaferCanvasConfig.fill

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:18

Released under the MIT License.