Skip to content

Interface: IAppConfig

Hierarchy

Table of contents

Properties

Properties

start

Optional start: boolean

Inherited from

ILeaferConfig.start

Defined in

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


type

Optional type: ILeaferType

Inherited from

ILeaferConfig.type

Defined in

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


mobile

Optional mobile: boolean

Inherited from

ILeaferConfig.mobile

Defined in

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


realCanvas

Optional realCanvas: boolean

Inherited from

ILeaferConfig.realCanvas

Defined in

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


lazySpeard

Optional lazySpeard: IFourNumber

Inherited from

ILeaferConfig.lazySpeard

Defined in

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


view

Optional view: string | IObject

Inherited from

ILeaferConfig.view

Defined in

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


canvas

Optional canvas: string | IObject

Inherited from

ILeaferConfig.canvas

Defined in

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


pixelRatio

Optional pixelRatio: number

Inherited from

ILeaferConfig.pixelRatio

Defined in

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


smooth

Optional smooth: boolean

Inherited from

ILeaferConfig.smooth

Defined in

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


hittable

Optional hittable: boolean

Inherited from

ILeaferConfig.hittable

Defined in

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


webgl

Optional webgl: boolean

Inherited from

ILeaferConfig.webgl

Defined in

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


contextSettings

Optional contextSettings: ICanvasRenderingContext2DSettings

Inherited from

ILeaferConfig.contextSettings

Defined in

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


wheel

Optional wheel: IWheelConfig

Inherited from

ILeaferConfig.wheel

Defined in

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


pointer

Optional pointer: IPointerConfig

Inherited from

ILeaferConfig.pointer

Defined in

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


touch

Optional touch: ITouchConfig

Inherited from

ILeaferConfig.touch

Defined in

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


multiTouch

Optional multiTouch: IMultiTouchConfig

Inherited from

ILeaferConfig.multiTouch

Defined in

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


zoom

Optional zoom: IZoomConfig

Inherited from

ILeaferConfig.zoom

Defined in

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


move

Optional move: IMoveConfig

Inherited from

ILeaferConfig.move

Defined in

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


eventer

Optional eventer: IObject

Inherited from

ILeaferConfig.eventer

Defined in

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


cursor

Optional cursor: boolean

Inherited from

ILeaferConfig.cursor

Defined in

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


keyEvent

Optional keyEvent: boolean

Inherited from

ILeaferConfig.keyEvent

Defined in

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


partLayout

Optional partLayout: IPartLayoutConfig

Inherited from

ILeaferConfig.partLayout

Defined in

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


top

Optional top: number

Inherited from

ILeaferConfig.top

Defined in

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


Optional right: number

Inherited from

ILeaferConfig.right

Defined in

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


bottom

Optional bottom: number

Inherited from

ILeaferConfig.bottom

Defined in

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


left

Optional left: number

Inherited from

ILeaferConfig.left

Defined in

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


width

Optional width: number

Inherited from

ILeaferConfig.width

Defined in

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


height

Optional height: number

Inherited from

ILeaferConfig.height

Defined in

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


usePartRender

Optional usePartRender: boolean

Inherited from

ILeaferConfig.usePartRender

Defined in

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


maxFPS

Optional maxFPS: number

Inherited from

ILeaferConfig.maxFPS

Defined in

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


fill

Optional fill: string

Inherited from

ILeaferConfig.fill

Defined in

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


ground

Optional ground: ILeaferConfig

Defined in

ui/packages/interface/src/app/IApp.ts:12


tree

Optional tree: ILeaferConfig

Defined in

ui/packages/interface/src/app/IApp.ts:13


sky

Optional sky: ILeaferConfig

Defined in

ui/packages/interface/src/app/IApp.ts:14


editor

Optional editor: IEditorConfig

Defined in

ui/packages/interface/src/app/IApp.ts:15

Released under the MIT License.