Skip to content

Class: App โ€‹

Hierarchy โ€‹

Implements โ€‹

Table of contents โ€‹

Constructors โ€‹

Properties โ€‹

Accessors โ€‹

Methods โ€‹

Constructors โ€‹

constructor โ€‹

โ€ข new App(userConfig?, data?): App

Parameters โ€‹

NameType
userConfig?IAppConfig
data?IAppInputData

Returns โ€‹

App

Overrides โ€‹

Leafer.constructor

Defined in โ€‹

ui/packages/app/src/App.ts:24

Properties โ€‹

innerId โ€‹

โ€ข Readonly innerId: number

Implementation of โ€‹

IApp.innerId

Inherited from โ€‹

Leafer.innerId

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:30


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Implementation of โ€‹

IApp.syncEventer

Inherited from โ€‹

Leafer.syncEventer

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:46


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Implementation of โ€‹

IApp.lockNormalStyle

Inherited from โ€‹

Leafer.lockNormalStyle

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:47


__layout โ€‹

โ€ข __layout: ILeafLayout

Implementation of โ€‹

IApp.__layout

Inherited from โ€‹

Leafer.__layout

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:50


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Implementation of โ€‹

IApp.__world

Inherited from โ€‹

Leafer.__world

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:52


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Implementation of โ€‹

IApp.__local

Inherited from โ€‹

Leafer.__local

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:53


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of โ€‹

IApp.__nowWorld

Inherited from โ€‹

Leafer.__nowWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:55


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of โ€‹

IApp.__cameraWorld

Inherited from โ€‹

Leafer.__cameraWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:56


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Implementation of โ€‹

IApp.__worldOpacity

Inherited from โ€‹

Leafer.__worldOpacity

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:61


__level โ€‹

โ€ข __level: number

Implementation of โ€‹

IApp.__level

Inherited from โ€‹

Leafer.__level

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:77


__tempNumber โ€‹

โ€ข __tempNumber: number

Implementation of โ€‹

IApp.__tempNumber

Inherited from โ€‹

Leafer.__tempNumber

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:78


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Implementation of โ€‹

IApp.__hasAutoLayout

Inherited from โ€‹

Leafer.__hasAutoLayout

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:82


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Implementation of โ€‹

IApp.__hasMask

Inherited from โ€‹

Leafer.__hasMask

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:83


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Implementation of โ€‹

IApp.__hasEraser

Inherited from โ€‹

Leafer.__hasEraser

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:84


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Implementation of โ€‹

IApp.__hitCanvas

Inherited from โ€‹

Leafer.__hitCanvas

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:85


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Implementation of โ€‹

IApp.__captureMap

Inherited from โ€‹

Leafer.__captureMap

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:96


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Implementation of โ€‹

IApp.__bubbleMap

Inherited from โ€‹

Leafer.__bubbleMap

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:97


noBounds โ€‹

โ€ข Optional noBounds: boolean

Implementation of โ€‹

IApp.noBounds

Inherited from โ€‹

Leafer.noBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:103


destroyed โ€‹

โ€ข destroyed: boolean

Implementation of โ€‹

IApp.destroyed

Inherited from โ€‹

Leafer.destroyed

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:105


children โ€‹

โ€ข children: ILeafer[]

Implementation of โ€‹

IApp.children

Overrides โ€‹

Leafer.children

Defined in โ€‹

ui/packages/app/src/App.ts:16


realCanvas โ€‹

โ€ข realCanvas: boolean

Implementation of โ€‹

IApp.realCanvas

Defined in โ€‹

ui/packages/app/src/App.ts:18


ground โ€‹

โ€ข ground: ILeafer

Implementation of โ€‹

IApp.ground

Defined in โ€‹

ui/packages/app/src/App.ts:20


tree โ€‹

โ€ข tree: ILeafer

Implementation of โ€‹

IApp.tree

Defined in โ€‹

ui/packages/app/src/App.ts:21


sky โ€‹

โ€ข sky: ILeafer

Implementation of โ€‹

IApp.sky

Defined in โ€‹

ui/packages/app/src/App.ts:22


list โ€‹

โ–ช Static list: LeafList

Inherited from โ€‹

Leafer.list

Defined in โ€‹

ui/packages/display/src/Leafer.ts:15


__ โ€‹

โ€ข __: ILeaferData

Implementation of โ€‹

IApp.__

Inherited from โ€‹

Leafer.__

Defined in โ€‹

ui/packages/display/src/Leafer.ts:21


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Implementation of โ€‹

IApp.pixelRatio

Inherited from โ€‹

Leafer.pixelRatio

Defined in โ€‹

ui/packages/display/src/Leafer.ts:24


parent โ€‹

โ€ข Optional parent: IApp

Implementation of โ€‹

IApp.parent

Inherited from โ€‹

Leafer.parent

Defined in โ€‹

ui/packages/display/src/Leafer.ts:31


running โ€‹

โ€ข running: boolean

Implementation of โ€‹

IApp.running

Inherited from โ€‹

Leafer.running

Defined in โ€‹

ui/packages/display/src/Leafer.ts:33


created โ€‹

โ€ข created: boolean

Implementation of โ€‹

IApp.created

Inherited from โ€‹

Leafer.created

Defined in โ€‹

ui/packages/display/src/Leafer.ts:34


ready โ€‹

โ€ข ready: boolean

Implementation of โ€‹

IApp.ready

Inherited from โ€‹

Leafer.ready

Defined in โ€‹

ui/packages/display/src/Leafer.ts:35


viewReady โ€‹

โ€ข viewReady: boolean

Implementation of โ€‹

IApp.viewReady

Inherited from โ€‹

Leafer.viewReady

Defined in โ€‹

ui/packages/display/src/Leafer.ts:36


viewCompleted โ€‹

โ€ข viewCompleted: boolean

Implementation of โ€‹

IApp.viewCompleted

Inherited from โ€‹

Leafer.viewCompleted

Defined in โ€‹

ui/packages/display/src/Leafer.ts:37


transforming โ€‹

โ€ข transforming: boolean

Implementation of โ€‹

IApp.transforming

Inherited from โ€‹

Leafer.transforming

Defined in โ€‹

ui/packages/display/src/Leafer.ts:41


view โ€‹

โ€ข view: unknown

Implementation of โ€‹

IApp.view

Inherited from โ€‹

Leafer.view

Defined in โ€‹

ui/packages/display/src/Leafer.ts:43


canvas โ€‹

โ€ข canvas: ILeaferCanvas

Implementation of โ€‹

IApp.canvas

Inherited from โ€‹

Leafer.canvas

Defined in โ€‹

ui/packages/display/src/Leafer.ts:46


renderer โ€‹

โ€ข renderer: IRenderer

Implementation of โ€‹

IApp.renderer

Inherited from โ€‹

Leafer.renderer

Defined in โ€‹

ui/packages/display/src/Leafer.ts:47


watcher โ€‹

โ€ข watcher: IWatcher

Implementation of โ€‹

IApp.watcher

Inherited from โ€‹

Leafer.watcher

Defined in โ€‹

ui/packages/display/src/Leafer.ts:49


layouter โ€‹

โ€ข layouter: ILayouter

Implementation of โ€‹

IApp.layouter

Inherited from โ€‹

Leafer.layouter

Defined in โ€‹

ui/packages/display/src/Leafer.ts:50


selector โ€‹

โ€ข Optional selector: ISelector

Implementation of โ€‹

IApp.selector

Inherited from โ€‹

Leafer.selector

Defined in โ€‹

ui/packages/display/src/Leafer.ts:52


interaction โ€‹

โ€ข Optional interaction: IInteraction

Implementation of โ€‹

IApp.interaction

Inherited from โ€‹

Leafer.interaction

Defined in โ€‹

ui/packages/display/src/Leafer.ts:53


canvasManager โ€‹

โ€ข canvasManager: ICanvasManager

Implementation of โ€‹

IApp.canvasManager

Inherited from โ€‹

Leafer.canvasManager

Defined in โ€‹

ui/packages/display/src/Leafer.ts:55


hitCanvasManager โ€‹

โ€ข Optional hitCanvasManager: IHitCanvasManager

Implementation of โ€‹

IApp.hitCanvasManager

Inherited from โ€‹

Leafer.hitCanvasManager

Defined in โ€‹

ui/packages/display/src/Leafer.ts:56


editor โ€‹

โ€ข editor: IEditorBase

Implementation of โ€‹

IApp.editor

Inherited from โ€‹

Leafer.editor

Defined in โ€‹

ui/packages/display/src/Leafer.ts:59


userConfig โ€‹

โ€ข userConfig: ILeaferConfig

Implementation of โ€‹

IApp.userConfig

Inherited from โ€‹

Leafer.userConfig

Defined in โ€‹

ui/packages/display/src/Leafer.ts:61


config โ€‹

โ€ข config: ILeaferConfig

Implementation of โ€‹

IApp.config

Inherited from โ€‹

Leafer.config

Defined in โ€‹

ui/packages/display/src/Leafer.ts:62


autoLayout โ€‹

โ€ข Optional autoLayout: IAutoBounds

Implementation of โ€‹

IApp.autoLayout

Inherited from โ€‹

Leafer.autoLayout

Defined in โ€‹

ui/packages/display/src/Leafer.ts:79


lazyBounds โ€‹

โ€ข lazyBounds: IBounds

Implementation of โ€‹

IApp.lazyBounds

Inherited from โ€‹

Leafer.lazyBounds

Defined in โ€‹

ui/packages/display/src/Leafer.ts:80


leafs โ€‹

โ€ข leafs: number = 0

Implementation of โ€‹

IApp.leafs

Inherited from โ€‹

Leafer.leafs

Defined in โ€‹

ui/packages/display/src/Leafer.ts:85


__eventIds โ€‹

โ€ข __eventIds: IEventListenerId[] = []

Implementation of โ€‹

IApp.__eventIds

Inherited from โ€‹

Leafer.__eventIds

Defined in โ€‹

ui/packages/display/src/Leafer.ts:87


__startTimer โ€‹

โ€ข Protected __startTimer: any

Inherited from โ€‹

Leafer.__startTimer

Defined in โ€‹

ui/packages/display/src/Leafer.ts:88


__controllers โ€‹

โ€ข Protected __controllers: IControl[] = []

Inherited from โ€‹

Leafer.__controllers

Defined in โ€‹

ui/packages/display/src/Leafer.ts:89


__initWait โ€‹

โ€ข Protected __initWait: IFunction[]

Inherited from โ€‹

Leafer.__initWait

Defined in โ€‹

ui/packages/display/src/Leafer.ts:91


__readyWait โ€‹

โ€ข Protected __readyWait: IFunction[] = []

Inherited from โ€‹

Leafer.__readyWait

Defined in โ€‹

ui/packages/display/src/Leafer.ts:92


__viewReadyWait โ€‹

โ€ข Protected __viewReadyWait: IFunction[] = []

Inherited from โ€‹

Leafer.__viewReadyWait

Defined in โ€‹

ui/packages/display/src/Leafer.ts:93


__viewCompletedWait โ€‹

โ€ข Protected __viewCompletedWait: IFunction[] = []

Inherited from โ€‹

Leafer.__viewCompletedWait

Defined in โ€‹

ui/packages/display/src/Leafer.ts:94


__nextRenderWait โ€‹

โ€ข __nextRenderWait: IFunction[] = []

Implementation of โ€‹

IApp.__nextRenderWait

Inherited from โ€‹

Leafer.__nextRenderWait

Defined in โ€‹

ui/packages/display/src/Leafer.ts:95


proxyData โ€‹

โ€ข Optional proxyData: IUIInputData

Implementation of โ€‹

IApp.proxyData

Inherited from โ€‹

Leafer.proxyData

Defined in โ€‹

ui/packages/display/src/UI.ts:21


__proxyData โ€‹

โ€ข Optional __proxyData: IUIInputData

Implementation of โ€‹

IApp.__proxyData

Inherited from โ€‹

Leafer.__proxyData

Defined in โ€‹

ui/packages/display/src/UI.ts:22


leafer โ€‹

โ€ข Optional leafer: ILeafer

Implementation of โ€‹

IApp.leafer

Inherited from โ€‹

Leafer.leafer

Defined in โ€‹

ui/packages/display/src/UI.ts:26


zoomLayer โ€‹

โ€ข zoomLayer: IGroup

Implementation of โ€‹

IApp.zoomLayer

Inherited from โ€‹

Leafer.zoomLayer

Defined in โ€‹

ui/packages/display/src/UI.ts:30


id โ€‹

โ€ข Optional id: string

Implementation of โ€‹

IApp.id

Inherited from โ€‹

Leafer.id

Defined in โ€‹

ui/packages/display/src/UI.ts:40


name โ€‹

โ€ข Optional name: string

Implementation of โ€‹

IApp.name

Inherited from โ€‹

Leafer.name

Defined in โ€‹

ui/packages/display/src/UI.ts:43


className โ€‹

โ€ข Optional className: string

Implementation of โ€‹

IApp.className

Inherited from โ€‹

Leafer.className

Defined in โ€‹

ui/packages/display/src/UI.ts:46


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Implementation of โ€‹

IApp.blendMode

Inherited from โ€‹

Leafer.blendMode

Defined in โ€‹

ui/packages/display/src/UI.ts:51


opacity โ€‹

โ€ข Optional opacity: number

Implementation of โ€‹

IApp.opacity

Inherited from โ€‹

Leafer.opacity

Defined in โ€‹

ui/packages/display/src/UI.ts:54


visible โ€‹

โ€ข Optional visible: boolean | 0

Implementation of โ€‹

IApp.visible

Inherited from โ€‹

Leafer.visible

Defined in โ€‹

ui/packages/display/src/UI.ts:57


locked โ€‹

โ€ข Optional locked: boolean

Implementation of โ€‹

IApp.locked

Inherited from โ€‹

Leafer.locked

Defined in โ€‹

ui/packages/display/src/UI.ts:61


zIndex โ€‹

โ€ข Optional zIndex: number

Implementation of โ€‹

IApp.zIndex

Inherited from โ€‹

Leafer.zIndex

Defined in โ€‹

ui/packages/display/src/UI.ts:65


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Implementation of โ€‹

IApp.mask

Inherited from โ€‹

Leafer.mask

Defined in โ€‹

ui/packages/display/src/UI.ts:69


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Implementation of โ€‹

IApp.eraser

Inherited from โ€‹

Leafer.eraser

Defined in โ€‹

ui/packages/display/src/UI.ts:72


x โ€‹

โ€ข Optional x: number

Implementation of โ€‹

IApp.x

Inherited from โ€‹

Leafer.x

Defined in โ€‹

ui/packages/display/src/UI.ts:77


y โ€‹

โ€ข Optional y: number

Implementation of โ€‹

IApp.y

Inherited from โ€‹

Leafer.y

Defined in โ€‹

ui/packages/display/src/UI.ts:80


width โ€‹

โ€ข Optional width: number

Implementation of โ€‹

IApp.width

Inherited from โ€‹

Leafer.width

Defined in โ€‹

ui/packages/display/src/UI.ts:84


height โ€‹

โ€ข Optional height: number

Implementation of โ€‹

IApp.height

Inherited from โ€‹

Leafer.height

Defined in โ€‹

ui/packages/display/src/UI.ts:87


scaleX โ€‹

โ€ข Optional scaleX: number

Implementation of โ€‹

IApp.scaleX

Inherited from โ€‹

Leafer.scaleX

Defined in โ€‹

ui/packages/display/src/UI.ts:91


scaleY โ€‹

โ€ข Optional scaleY: number

Implementation of โ€‹

IApp.scaleY

Inherited from โ€‹

Leafer.scaleY

Defined in โ€‹

ui/packages/display/src/UI.ts:94


rotation โ€‹

โ€ข Optional rotation: number

Implementation of โ€‹

IApp.rotation

Inherited from โ€‹

Leafer.rotation

Defined in โ€‹

ui/packages/display/src/UI.ts:98


skewX โ€‹

โ€ข Optional skewX: number

Implementation of โ€‹

IApp.skewX

Inherited from โ€‹

Leafer.skewX

Defined in โ€‹

ui/packages/display/src/UI.ts:102


skewY โ€‹

โ€ข Optional skewY: number

Implementation of โ€‹

IApp.skewY

Inherited from โ€‹

Leafer.skewY

Defined in โ€‹

ui/packages/display/src/UI.ts:105


offsetX โ€‹

โ€ข Optional offsetX: number

Implementation of โ€‹

IApp.offsetX

Inherited from โ€‹

Leafer.offsetX

Defined in โ€‹

ui/packages/display/src/UI.ts:110


offsetY โ€‹

โ€ข Optional offsetY: number

Implementation of โ€‹

IApp.offsetY

Inherited from โ€‹

Leafer.offsetY

Defined in โ€‹

ui/packages/display/src/UI.ts:113


scrollX โ€‹

โ€ข Optional scrollX: number

Implementation of โ€‹

IApp.scrollX

Inherited from โ€‹

Leafer.scrollX

Defined in โ€‹

ui/packages/display/src/UI.ts:117


scrollY โ€‹

โ€ข Optional scrollY: number

Implementation of โ€‹

IApp.scrollY

Inherited from โ€‹

Leafer.scrollY

Defined in โ€‹

ui/packages/display/src/UI.ts:120


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Implementation of โ€‹

IApp.origin

Inherited from โ€‹

Leafer.origin

Defined in โ€‹

ui/packages/display/src/UI.ts:125


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Implementation of โ€‹

IApp.around

Inherited from โ€‹

Leafer.around

Defined in โ€‹

ui/packages/display/src/UI.ts:128


lazy โ€‹

โ€ข Optional lazy: boolean

Implementation of โ€‹

IApp.lazy

Inherited from โ€‹

Leafer.lazy

Defined in โ€‹

ui/packages/display/src/UI.ts:133


path โ€‹

โ€ข Optional path: string | IPathCommandData | IPathCommandObject[]

Implementation of โ€‹

IApp.path

Inherited from โ€‹

Leafer.path

Defined in โ€‹

ui/packages/display/src/UI.ts:141


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Implementation of โ€‹

IApp.windingRule

Inherited from โ€‹

Leafer.windingRule

Defined in โ€‹

ui/packages/display/src/UI.ts:144


closed โ€‹

โ€ข Optional closed: boolean

Implementation of โ€‹

IApp.closed

Inherited from โ€‹

Leafer.closed

Defined in โ€‹

ui/packages/display/src/UI.ts:147


flow โ€‹

โ€ข Optional flow: IFlowType

Implementation of โ€‹

IApp.flow

Inherited from โ€‹

Leafer.flow

Defined in โ€‹

ui/packages/display/src/UI.ts:151


padding โ€‹

โ€ข Optional padding: IFourNumber

Implementation of โ€‹

IApp.padding

Inherited from โ€‹

Leafer.padding

Defined in โ€‹

ui/packages/display/src/UI.ts:154


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Implementation of โ€‹

IApp.gap

Inherited from โ€‹

Leafer.gap

Defined in โ€‹

ui/packages/display/src/UI.ts:156


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Implementation of โ€‹

IApp.flowAlign

Inherited from โ€‹

Leafer.flowAlign

Defined in โ€‹

ui/packages/display/src/UI.ts:158


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Implementation of โ€‹

IApp.flowWrap

Inherited from โ€‹

Leafer.flowWrap

Defined in โ€‹

ui/packages/display/src/UI.ts:160


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Implementation of โ€‹

IApp.itemBox

Inherited from โ€‹

Leafer.itemBox

Defined in โ€‹

ui/packages/display/src/UI.ts:163


inFlow โ€‹

โ€ข Optional inFlow: boolean

Implementation of โ€‹

IApp.inFlow

Inherited from โ€‹

Leafer.inFlow

Defined in โ€‹

ui/packages/display/src/UI.ts:165


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Implementation of โ€‹

IApp.autoWidth

Inherited from โ€‹

Leafer.autoWidth

Defined in โ€‹

ui/packages/display/src/UI.ts:168


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Implementation of โ€‹

IApp.autoHeight

Inherited from โ€‹

Leafer.autoHeight

Defined in โ€‹

ui/packages/display/src/UI.ts:170


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Implementation of โ€‹

IApp.lockRatio

Inherited from โ€‹

Leafer.lockRatio

Defined in โ€‹

ui/packages/display/src/UI.ts:172


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Implementation of โ€‹

IApp.autoBox

Inherited from โ€‹

Leafer.autoBox

Defined in โ€‹

ui/packages/display/src/UI.ts:174


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Implementation of โ€‹

IApp.widthRange

Inherited from โ€‹

Leafer.widthRange

Defined in โ€‹

ui/packages/display/src/UI.ts:176


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Implementation of โ€‹

IApp.heightRange

Inherited from โ€‹

Leafer.heightRange

Defined in โ€‹

ui/packages/display/src/UI.ts:178


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Implementation of โ€‹

IApp.draggable

Inherited from โ€‹

Leafer.draggable

Defined in โ€‹

ui/packages/display/src/UI.ts:183


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Implementation of โ€‹

IApp.dragBounds

Inherited from โ€‹

Leafer.dragBounds

Defined in โ€‹

ui/packages/display/src/UI.ts:186


editable โ€‹

โ€ข Optional editable: boolean

Implementation of โ€‹

IApp.editable

Inherited from โ€‹

Leafer.editable

Defined in โ€‹

ui/packages/display/src/UI.ts:190


hittable โ€‹

โ€ข Optional hittable: boolean

Implementation of โ€‹

IApp.hittable

Inherited from โ€‹

Leafer.hittable

Defined in โ€‹

ui/packages/display/src/UI.ts:195


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Implementation of โ€‹

IApp.hitFill

Inherited from โ€‹

Leafer.hitFill

Defined in โ€‹

ui/packages/display/src/UI.ts:198


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Implementation of โ€‹

IApp.hitStroke

Inherited from โ€‹

Leafer.hitStroke

Defined in โ€‹

ui/packages/display/src/UI.ts:201


hitBox โ€‹

โ€ข Optional hitBox: boolean

Implementation of โ€‹

IApp.hitBox

Inherited from โ€‹

Leafer.hitBox

Defined in โ€‹

ui/packages/display/src/UI.ts:204


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Implementation of โ€‹

IApp.hitChildren

Inherited from โ€‹

Leafer.hitChildren

Defined in โ€‹

ui/packages/display/src/UI.ts:207


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Implementation of โ€‹

IApp.hitSelf

Inherited from โ€‹

Leafer.hitSelf

Defined in โ€‹

ui/packages/display/src/UI.ts:210


hitRadius โ€‹

โ€ข Optional hitRadius: number

Implementation of โ€‹

IApp.hitRadius

Inherited from โ€‹

Leafer.hitRadius

Defined in โ€‹

ui/packages/display/src/UI.ts:213


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Implementation of โ€‹

IApp.cursor

Inherited from โ€‹

Leafer.cursor

Defined in โ€‹

ui/packages/display/src/UI.ts:216


fill โ€‹

โ€ข Optional fill: IFill

Implementation of โ€‹

IApp.fill

Inherited from โ€‹

Leafer.fill

Defined in โ€‹

ui/packages/display/src/UI.ts:224


stroke โ€‹

โ€ข Optional stroke: IStroke

Implementation of โ€‹

IApp.stroke

Inherited from โ€‹

Leafer.stroke

Defined in โ€‹

ui/packages/display/src/UI.ts:229


strokeAlign โ€‹

โ€ข Optional strokeAlign: IStrokeAlign

Implementation of โ€‹

IApp.strokeAlign

Inherited from โ€‹

Leafer.strokeAlign

Defined in โ€‹

ui/packages/display/src/UI.ts:232


strokeWidth โ€‹

โ€ข Optional strokeWidth: string | IFourNumber

Implementation of โ€‹

IApp.strokeWidth

Inherited from โ€‹

Leafer.strokeWidth

Defined in โ€‹

ui/packages/display/src/UI.ts:235


strokeWidthFixed โ€‹

โ€ข Optional strokeWidthFixed: boolean

Implementation of โ€‹

IApp.strokeWidthFixed

Inherited from โ€‹

Leafer.strokeWidthFixed

Defined in โ€‹

ui/packages/display/src/UI.ts:238


strokeCap โ€‹

โ€ข Optional strokeCap: IStrokeCap

Implementation of โ€‹

IApp.strokeCap

Inherited from โ€‹

Leafer.strokeCap

Defined in โ€‹

ui/packages/display/src/UI.ts:241


strokeJoin โ€‹

โ€ข Optional strokeJoin: IStrokeJoin

Implementation of โ€‹

IApp.strokeJoin

Inherited from โ€‹

Leafer.strokeJoin

Defined in โ€‹

ui/packages/display/src/UI.ts:244


dashPattern โ€‹

โ€ข Optional dashPattern: string | number[]

Implementation of โ€‹

IApp.dashPattern

Inherited from โ€‹

Leafer.dashPattern

Defined in โ€‹

ui/packages/display/src/UI.ts:247


dashOffset โ€‹

โ€ข Optional dashOffset: number

Implementation of โ€‹

IApp.dashOffset

Inherited from โ€‹

Leafer.dashOffset

Defined in โ€‹

ui/packages/display/src/UI.ts:250


miterLimit โ€‹

โ€ข Optional miterLimit: number

Implementation of โ€‹

IApp.miterLimit

Inherited from โ€‹

Leafer.miterLimit

Defined in โ€‹

ui/packages/display/src/UI.ts:253


startArrow โ€‹

โ€ข Optional startArrow: IArrowType

Implementation of โ€‹

IApp.startArrow

Inherited from โ€‹

Leafer.startArrow

Defined in โ€‹

ui/packages/display/src/UI.ts:258


endArrow โ€‹

โ€ข Optional endArrow: IArrowType

Implementation of โ€‹

IApp.endArrow

Inherited from โ€‹

Leafer.endArrow

Defined in โ€‹

ui/packages/display/src/UI.ts:260


cornerRadius โ€‹

โ€ข Optional cornerRadius: string | IFourNumber

Implementation of โ€‹

IApp.cornerRadius

Inherited from โ€‹

Leafer.cornerRadius

Defined in โ€‹

ui/packages/display/src/UI.ts:265


cornerSmoothing โ€‹

โ€ข Optional cornerSmoothing: number

Implementation of โ€‹

IApp.cornerSmoothing

Inherited from โ€‹

Leafer.cornerSmoothing

Defined in โ€‹

ui/packages/display/src/UI.ts:268


shadow โ€‹

โ€ข Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of โ€‹

IApp.shadow

Inherited from โ€‹

Leafer.shadow

Defined in โ€‹

ui/packages/display/src/UI.ts:273


innerShadow โ€‹

โ€ข Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of โ€‹

IApp.innerShadow

Inherited from โ€‹

Leafer.innerShadow

Defined in โ€‹

ui/packages/display/src/UI.ts:276


blur โ€‹

โ€ข Optional blur: number | IBlurEffect

Implementation of โ€‹

IApp.blur

Inherited from โ€‹

Leafer.blur

Defined in โ€‹

ui/packages/display/src/UI.ts:279


backgroundBlur โ€‹

โ€ข Optional backgroundBlur: number | IBlurEffect

Implementation of โ€‹

IApp.backgroundBlur

Inherited from โ€‹

Leafer.backgroundBlur

Defined in โ€‹

ui/packages/display/src/UI.ts:282


grayscale โ€‹

โ€ข Optional grayscale: number | IGrayscaleEffect

Implementation of โ€‹

IApp.grayscale

Inherited from โ€‹

Leafer.grayscale

Defined in โ€‹

ui/packages/display/src/UI.ts:285


filter โ€‹

โ€ข Optional filter: IObject | IObject[]

Inherited from โ€‹

Leafer.filter

Defined in โ€‹

ui/packages/display/src/UI.ts:287


animation โ€‹

โ€ข Optional animation: IAnimation

Implementation of โ€‹

IApp.animation

Inherited from โ€‹

Leafer.animation

Defined in โ€‹

ui/packages/display/src/UI.ts:292


animationOut โ€‹

โ€ข Optional animationOut: IAnimation

Implementation of โ€‹

IApp.animationOut

Inherited from โ€‹

Leafer.animationOut

Defined in โ€‹

ui/packages/display/src/UI.ts:294


transition โ€‹

โ€ข Optional transition: ITransition

Implementation of โ€‹

IApp.transition

Inherited from โ€‹

Leafer.transition

Defined in โ€‹

ui/packages/display/src/UI.ts:297


transitionOut โ€‹

โ€ข Optional transitionOut: ITransition

Implementation of โ€‹

IApp.transitionOut

Inherited from โ€‹

Leafer.transitionOut

Defined in โ€‹

ui/packages/display/src/UI.ts:299


motionPath โ€‹

โ€ข Optional motionPath: boolean

Implementation of โ€‹

IApp.motionPath

Inherited from โ€‹

Leafer.motionPath

Defined in โ€‹

ui/packages/display/src/UI.ts:304


motion โ€‹

โ€ข Optional motion: number | IUnitData

Implementation of โ€‹

IApp.motion

Inherited from โ€‹

Leafer.motion

Defined in โ€‹

ui/packages/display/src/UI.ts:306


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Implementation of โ€‹

IApp.motionRotation

Inherited from โ€‹

Leafer.motionRotation

Defined in โ€‹

ui/packages/display/src/UI.ts:308


states โ€‹

โ€ข Optional states: IStates

Implementation of โ€‹

IApp.states

Inherited from โ€‹

Leafer.states

Defined in โ€‹

ui/packages/display/src/UI.ts:313


state โ€‹

โ€ข Optional state: string

Implementation of โ€‹

IApp.state

Inherited from โ€‹

Leafer.state

Defined in โ€‹

ui/packages/display/src/UI.ts:315


selected โ€‹

โ€ข Optional selected: boolean

Implementation of โ€‹

IApp.selected

Inherited from โ€‹

Leafer.selected

Defined in โ€‹

ui/packages/display/src/UI.ts:318


disabled โ€‹

โ€ข Optional disabled: boolean

Implementation of โ€‹

IApp.disabled

Inherited from โ€‹

Leafer.disabled

Defined in โ€‹

ui/packages/display/src/UI.ts:320


normalStyle โ€‹

โ€ข Optional normalStyle: IUIInputData

Implementation of โ€‹

IApp.normalStyle

Inherited from โ€‹

Leafer.normalStyle

Defined in โ€‹

ui/packages/display/src/UI.ts:323


hoverStyle โ€‹

โ€ข Optional hoverStyle: IUIInputData

Implementation of โ€‹

IApp.hoverStyle

Inherited from โ€‹

Leafer.hoverStyle

Defined in โ€‹

ui/packages/display/src/UI.ts:325


pressStyle โ€‹

โ€ข Optional pressStyle: IUIInputData

Implementation of โ€‹

IApp.pressStyle

Inherited from โ€‹

Leafer.pressStyle

Defined in โ€‹

ui/packages/display/src/UI.ts:327


focusStyle โ€‹

โ€ข Optional focusStyle: IUIInputData

Implementation of โ€‹

IApp.focusStyle

Inherited from โ€‹

Leafer.focusStyle

Defined in โ€‹

ui/packages/display/src/UI.ts:329


selectedStyle โ€‹

โ€ข Optional selectedStyle: IUIInputData

Implementation of โ€‹

IApp.selectedStyle

Inherited from โ€‹

Leafer.selectedStyle

Defined in โ€‹

ui/packages/display/src/UI.ts:331


disabledStyle โ€‹

โ€ข Optional disabledStyle: IUIInputData

Implementation of โ€‹

IApp.disabledStyle

Inherited from โ€‹

Leafer.disabledStyle

Defined in โ€‹

ui/packages/display/src/UI.ts:333


button โ€‹

โ€ข Optional button: boolean

Implementation of โ€‹

IApp.button

Inherited from โ€‹

Leafer.button

Defined in โ€‹

ui/packages/display/src/UI.ts:336


data โ€‹

โ€ข data: IObject

Implementation of โ€‹

IApp.data

Inherited from โ€‹

Leafer.data

Defined in โ€‹

ui/packages/display/src/UI.ts:341


__animate โ€‹

โ€ข Optional __animate: IAnimate

Implementation of โ€‹

IApp.__animate

Inherited from โ€‹

Leafer.__animate

Defined in โ€‹

ui/packages/display/src/UI.ts:347

Accessors โ€‹

tag โ€‹

โ€ข get tag(): string

Returns โ€‹

string

Implementation of โ€‹

IApp.tag

Inherited from โ€‹

Leafer.tag

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:25

โ€ข set tag(_value): void

Parameters โ€‹

NameType
_valuestring

Returns โ€‹

void

Implementation of โ€‹

IApp.tag

Inherited from โ€‹

Leafer.tag

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:26


innerName โ€‹

โ€ข get innerName(): string

Returns โ€‹

string

Implementation of โ€‹

IApp.innerName

Inherited from โ€‹

Leafer.innerName

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:31


__DataProcessor โ€‹

โ€ข get __DataProcessor(): typeof LeafData

Returns โ€‹

typeof LeafData

Implementation of โ€‹

IApp.__DataProcessor

Inherited from โ€‹

Leafer.__DataProcessor

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:33


__LayoutProcessor โ€‹

โ€ข get __LayoutProcessor(): typeof LeafLayout

Returns โ€‹

typeof LeafLayout

Implementation of โ€‹

IApp.__LayoutProcessor

Inherited from โ€‹

Leafer.__LayoutProcessor

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:34


leaferIsCreated โ€‹

โ€ข get leaferIsCreated(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.leaferIsCreated

Inherited from โ€‹

Leafer.leaferIsCreated

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:39


leaferIsReady โ€‹

โ€ข get leaferIsReady(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.leaferIsReady

Inherited from โ€‹

Leafer.leaferIsReady

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:40


isBranchLeaf โ€‹

โ€ข get isBranchLeaf(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.isBranchLeaf

Inherited from โ€‹

Leafer.isBranchLeaf

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:44


__localMatrix โ€‹

โ€ข get __localMatrix(): IMatrixData

Returns โ€‹

IMatrixData

Implementation of โ€‹

IApp.__localMatrix

Inherited from โ€‹

Leafer.__localMatrix

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:58


__localBoxBounds โ€‹

โ€ข get __localBoxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.__localBoxBounds

Inherited from โ€‹

Leafer.__localBoxBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:59


worldTransform โ€‹

โ€ข get worldTransform(): IMatrixWithScaleData

Returns โ€‹

IMatrixWithScaleData

Implementation of โ€‹

IApp.worldTransform

Inherited from โ€‹

Leafer.worldTransform

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:64


localTransform โ€‹

โ€ข get localTransform(): IMatrixData

Returns โ€‹

IMatrixData

Implementation of โ€‹

IApp.localTransform

Inherited from โ€‹

Leafer.localTransform

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:65


boxBounds โ€‹

โ€ข get boxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.boxBounds

Inherited from โ€‹

Leafer.boxBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:68


renderBounds โ€‹

โ€ข get renderBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.renderBounds

Inherited from โ€‹

Leafer.renderBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:69


worldBoxBounds โ€‹

โ€ข get worldBoxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.worldBoxBounds

Inherited from โ€‹

Leafer.worldBoxBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:70


worldStrokeBounds โ€‹

โ€ข get worldStrokeBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.worldStrokeBounds

Inherited from โ€‹

Leafer.worldStrokeBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:71


worldRenderBounds โ€‹

โ€ข get worldRenderBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.worldRenderBounds

Inherited from โ€‹

Leafer.worldRenderBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:72


worldOpacity โ€‹

โ€ข get worldOpacity(): number

Returns โ€‹

number

Implementation of โ€‹

IApp.worldOpacity

Inherited from โ€‹

Leafer.worldOpacity

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:75


__worldFlipped โ€‹

โ€ข get __worldFlipped(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__worldFlipped

Inherited from โ€‹

Leafer.__worldFlipped

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:80


__onlyHitMask โ€‹

โ€ข get __onlyHitMask(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__onlyHitMask

Inherited from โ€‹

Leafer.__onlyHitMask

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:87


__ignoreHitWorld โ€‹

โ€ข get __ignoreHitWorld(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__ignoreHitWorld

Inherited from โ€‹

Leafer.__ignoreHitWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:88


__inLazyBounds โ€‹

โ€ข get __inLazyBounds(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__inLazyBounds

Inherited from โ€‹

Leafer.__inLazyBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:89


pathInputed โ€‹

โ€ข get pathInputed(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.pathInputed

Inherited from โ€‹

Leafer.pathInputed

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:91


event โ€‹

โ€ข set event(map): void

Parameters โ€‹

NameType
mapIEventMap

Returns โ€‹

void

Implementation of โ€‹

IApp.event

Inherited from โ€‹

Leafer.event

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:94


__tag โ€‹

โ€ข get __tag(): string

Returns โ€‹

string

Implementation of โ€‹

IApp.__tag

Overrides โ€‹

Leafer.__tag

Defined in โ€‹

ui/packages/app/src/App.ts:12


isApp โ€‹

โ€ข get isApp(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.isApp

Overrides โ€‹

Leafer.isApp

Defined in โ€‹

ui/packages/app/src/App.ts:14


isBranch โ€‹

โ€ข get isBranch(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.isBranch

Inherited from โ€‹

Leafer.isBranch

Defined in โ€‹

ui/packages/display/src/Group.ts:16


app โ€‹

โ€ข get app(): ILeafer

Returns โ€‹

ILeafer

Implementation of โ€‹

IApp.app

Inherited from โ€‹

Leafer.app

Defined in โ€‹

ui/packages/display/src/Leafer.ts:27


isLeafer โ€‹

โ€ข get isLeafer(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.isLeafer

Inherited from โ€‹

Leafer.isLeafer

Defined in โ€‹

ui/packages/display/src/Leafer.ts:29


imageReady โ€‹

โ€ข get imageReady(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.imageReady

Inherited from โ€‹

Leafer.imageReady

Defined in โ€‹

ui/packages/display/src/Leafer.ts:38


layoutLocked โ€‹

โ€ข get layoutLocked(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.layoutLocked

Inherited from โ€‹

Leafer.layoutLocked

Defined in โ€‹

ui/packages/display/src/Leafer.ts:39


FPS โ€‹

โ€ข get FPS(): number

Returns โ€‹

number

Inherited from โ€‹

Leafer.FPS

Defined in โ€‹

ui/packages/display/src/Leafer.ts:82


cursorPoint โ€‹

โ€ข get cursorPoint(): IPointData

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.cursorPoint

Inherited from โ€‹

Leafer.cursorPoint

Defined in โ€‹

ui/packages/display/src/Leafer.ts:83


clientBounds โ€‹

โ€ข get clientBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.clientBounds

Inherited from โ€‹

Leafer.clientBounds

Defined in โ€‹

ui/packages/display/src/Leafer.ts:84


isFrame โ€‹

โ€ข get isFrame(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.isFrame

Inherited from โ€‹

Leafer.isFrame

Defined in โ€‹

ui/packages/display/src/UI.ts:32


scale โ€‹

โ€ข get scale(): number | IPointData

Returns โ€‹

number | IPointData

Implementation of โ€‹

IApp.scale

Inherited from โ€‹

Leafer.scale

Defined in โ€‹

ui/packages/display/src/UI.ts:345

โ€ข set scale(value): void

Parameters โ€‹

NameType
valuenumber | IPointData

Returns โ€‹

void

Implementation of โ€‹

IApp.scale

Inherited from โ€‹

Leafer.scale

Defined in โ€‹

ui/packages/display/src/UI.ts:344


pen โ€‹

โ€ข get pen(): IPathCreator

Returns โ€‹

IPathCreator

Implementation of โ€‹

IApp.pen

Inherited from โ€‹

Leafer.pen

Defined in โ€‹

ui/packages/display/src/UI.ts:349


editConfig โ€‹

โ€ข get editConfig(): IEditorConfig

Returns โ€‹

IEditorConfig

Implementation of โ€‹

IApp.editConfig

Inherited from โ€‹

Leafer.editConfig

Defined in โ€‹

ui/packages/display/src/UI.ts:359


editOuter โ€‹

โ€ข get editOuter(): string

Returns โ€‹

string

Implementation of โ€‹

IApp.editOuter

Inherited from โ€‹

Leafer.editOuter

Defined in โ€‹

ui/packages/display/src/UI.ts:361


editInner โ€‹

โ€ข get editInner(): string

Returns โ€‹

string

Implementation of โ€‹

IApp.editInner

Inherited from โ€‹

Leafer.editInner

Defined in โ€‹

ui/packages/display/src/UI.ts:363

Methods โ€‹

resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.resetCustom

Inherited from โ€‹

Leafer.resetCustom

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:133


waitParent โ€‹

โ–ธ waitParent(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

IApp.waitParent

Inherited from โ€‹

Leafer.waitParent

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:139


waitLeafer โ€‹

โ–ธ waitLeafer(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

IApp.waitLeafer

Inherited from โ€‹

Leafer.waitLeafer

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:144


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Implementation of โ€‹

IApp.removeNextRender

Inherited from โ€‹

Leafer.removeNextRender

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:153


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Implementation of โ€‹

IApp.__bindLeafer

Inherited from โ€‹

Leafer.__bindLeafer

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:157


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Implementation of โ€‹

IApp.setAttr

Inherited from โ€‹

Leafer.setAttr

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:186


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

IApp.getAttr

Inherited from โ€‹

Leafer.getAttr

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:187


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

IApp.getComputedAttr

Inherited from โ€‹

Leafer.getComputedAttr

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:189


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Implementation of โ€‹

IApp.toString

Inherited from โ€‹

Leafer.toString

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:196


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Implementation of โ€‹

IApp.toSVG

Inherited from โ€‹

Leafer.toSVG

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:200


__SVG โ€‹

โ–ธ __SVG(_data): void

Parameters โ€‹

NameType
_dataIObject

Returns โ€‹

void

Implementation of โ€‹

IApp.__SVG

Inherited from โ€‹

Leafer.__SVG

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:202


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Implementation of โ€‹

IApp.toHTML

Inherited from โ€‹

Leafer.toHTML

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:204


setProxyAttr โ€‹

โ–ธ setProxyAttr(_attrName, _newValue): void

Parameters โ€‹

NameType
_attrNamestring
_newValueIValue

Returns โ€‹

void

Implementation of โ€‹

IApp.setProxyAttr

Inherited from โ€‹

Leafer.setProxyAttr

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:212


getProxyAttr โ€‹

โ–ธ getProxyAttr(_attrName): IValue

Parameters โ€‹

NameType
_attrNamestring

Returns โ€‹

IValue

Implementation of โ€‹

IApp.getProxyAttr

Inherited from โ€‹

Leafer.getProxyAttr

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:214


focus โ€‹

โ–ธ focus(_value?): void

Parameters โ€‹

NameType
_value?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.focus

Inherited from โ€‹

Leafer.focus

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:234


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.updateState

Inherited from โ€‹

Leafer.updateState

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:236


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.updateLayout

Inherited from โ€‹

Leafer.updateLayout

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:241


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Implementation of โ€‹

IApp.forceUpdate

Inherited from โ€‹

Leafer.forceUpdate

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:245


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateWorldMatrix

Inherited from โ€‹

Leafer.__updateWorldMatrix

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:259


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateLocalMatrix

Inherited from โ€‹

Leafer.__updateLocalMatrix

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:261


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateWorldBounds

Inherited from โ€‹

Leafer.__updateWorldBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:267


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateLocalBounds

Inherited from โ€‹

Leafer.__updateLocalBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:269


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateLocalBoxBounds

Inherited from โ€‹

Leafer.__updateLocalBoxBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:272


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateLocalStrokeBounds

Inherited from โ€‹

Leafer.__updateLocalStrokeBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:274


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateLocalRenderBounds

Inherited from โ€‹

Leafer.__updateLocalRenderBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:276


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateBoxBounds

Inherited from โ€‹

Leafer.__updateBoxBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:280


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateContentBounds

Inherited from โ€‹

Leafer.__updateContentBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:282


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateStrokeBounds

Inherited from โ€‹

Leafer.__updateStrokeBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:284


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateRenderBounds

Inherited from โ€‹

Leafer.__updateRenderBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:286


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateAutoLayout

Inherited from โ€‹

Leafer.__updateAutoLayout

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:289


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateFlowLayout

Inherited from โ€‹

Leafer.__updateFlowLayout

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:291


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateNaturalSize

Inherited from โ€‹

Leafer.__updateNaturalSize

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:293


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): number

Returns โ€‹

number

Implementation of โ€‹

IApp.__updateStrokeSpread

Inherited from โ€‹

Leafer.__updateStrokeSpread

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:296


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): number

Returns โ€‹

number

Implementation of โ€‹

IApp.__updateRenderSpread

Inherited from โ€‹

Leafer.__updateRenderSpread

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:298


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateEraser

Inherited from โ€‹

Leafer.__updateEraser

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:305


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IApp.__renderEraser

Inherited from โ€‹

Leafer.__renderEraser

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:309


__updateMask โ€‹

โ–ธ __updateMask(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateMask

Inherited from โ€‹

Leafer.__updateMask

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:317


__renderMask โ€‹

โ–ธ __renderMask(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IApp.__renderMask

Inherited from โ€‹

Leafer.__renderMask

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:323


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Implementation of โ€‹

IApp.__getNowWorld

Inherited from โ€‹

Leafer.__getNowWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:331


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Implementation of โ€‹

IApp.getTransform

Inherited from โ€‹

Leafer.getTransform

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:343


getBounds โ€‹

โ–ธ getBounds(type?, relative?): IBoundsData

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.getBounds

Inherited from โ€‹

Leafer.getBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:348


getLayoutBounds โ€‹

โ–ธ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType
unscale?boolean

Returns โ€‹

ILayoutBoundsData

Implementation of โ€‹

IApp.getLayoutBounds

Inherited from โ€‹

Leafer.getLayoutBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:352


getLayoutPoints โ€‹

โ–ธ getLayoutPoints(type?, relative?): IPointData[]

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IPointData[]

Implementation of โ€‹

IApp.getLayoutPoints

Inherited from โ€‹

Leafer.getLayoutPoints

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:356


getWorldBounds โ€‹

โ–ธ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters โ€‹

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.getWorldBounds

Inherited from โ€‹

Leafer.getWorldBounds

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:361


worldToLocal โ€‹

โ–ธ worldToLocal(world, to?, distance?, relative?): void

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IApp.worldToLocal

Inherited from โ€‹

Leafer.worldToLocal

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:369


localToWorld โ€‹

โ–ธ localToWorld(local, to?, distance?, relative?): void

Parameters โ€‹

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IApp.localToWorld

Inherited from โ€‹

Leafer.localToWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:377


worldToInner โ€‹

โ–ธ worldToInner(world, to?, distance?, relative?): void

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IApp.worldToInner

Inherited from โ€‹

Leafer.worldToInner

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:385


innerToWorld โ€‹

โ–ธ innerToWorld(inner, to?, distance?, relative?): void

Parameters โ€‹

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IApp.innerToWorld

Inherited from โ€‹

Leafer.innerToWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:393


getBoxPoint โ€‹

โ–ธ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getBoxPoint

Inherited from โ€‹

Leafer.getBoxPoint

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:400


getBoxPointByInner โ€‹

โ–ธ getBoxPointByInner(inner, _relative?, _distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getBoxPointByInner

Inherited from โ€‹

Leafer.getBoxPointByInner

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:404


getInnerPoint โ€‹

โ–ธ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getInnerPoint

Inherited from โ€‹

Leafer.getInnerPoint

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:410


getInnerPointByBox โ€‹

โ–ธ getInnerPointByBox(box, _relative?, _distance?, change?): IPointData

Parameters โ€‹

NameType
boxIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getInnerPointByBox

Inherited from โ€‹

Leafer.getInnerPointByBox

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:416


getInnerPointByLocal โ€‹

โ–ธ getInnerPointByLocal(local, _relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getInnerPointByLocal

Inherited from โ€‹

Leafer.getInnerPointByLocal

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:422


getLocalPoint โ€‹

โ–ธ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getLocalPoint

Inherited from โ€‹

Leafer.getLocalPoint

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:426


getLocalPointByInner โ€‹

โ–ธ getLocalPointByInner(inner, _relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getLocalPointByInner

Inherited from โ€‹

Leafer.getLocalPointByInner

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:432


getPagePoint โ€‹

โ–ธ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getPagePoint

Inherited from โ€‹

Leafer.getPagePoint

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:436


getWorldPoint โ€‹

โ–ธ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getWorldPoint

Inherited from โ€‹

Leafer.getWorldPoint

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:441


getWorldPointByBox โ€‹

โ–ธ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getWorldPointByBox

Inherited from โ€‹

Leafer.getWorldPointByBox

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:447


getWorldPointByLocal โ€‹

โ–ธ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getWorldPointByLocal

Inherited from โ€‹

Leafer.getWorldPointByLocal

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:451


getWorldPointByPage โ€‹

โ–ธ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getWorldPointByPage

Inherited from โ€‹

Leafer.getWorldPointByPage

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:457


setTransform โ€‹

โ–ธ setTransform(matrix, resize?): void

Parameters โ€‹

NameType
matrixIMatrixData
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.setTransform

Inherited from โ€‹

Leafer.setTransform

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:465


transform โ€‹

โ–ธ transform(matrix, resize?): void

Parameters โ€‹

NameType
matrixIMatrixData
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.transform

Inherited from โ€‹

Leafer.transform

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:469


move โ€‹

โ–ธ move(x, y?): void

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Implementation of โ€‹

IApp.move

Inherited from โ€‹

Leafer.move

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:473


moveInner โ€‹

โ–ธ moveInner(x, y?): void

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Implementation of โ€‹

IApp.moveInner

Inherited from โ€‹

Leafer.moveInner

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:478


scaleOf โ€‹

โ–ธ scaleOf(origin, scaleX, scaleY?, resize?): void

Parameters โ€‹

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.scaleOf

Inherited from โ€‹

Leafer.scaleOf

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:482


rotateOf โ€‹

โ–ธ rotateOf(origin, rotation): void

Parameters โ€‹

NameType
originIPointData | IDirection
rotationnumber

Returns โ€‹

void

Implementation of โ€‹

IApp.rotateOf

Inherited from โ€‹

Leafer.rotateOf

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:486


skewOf โ€‹

โ–ธ skewOf(origin, skewX, skewY?, resize?): void

Parameters โ€‹

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.skewOf

Inherited from โ€‹

Leafer.skewOf

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:490


transformWorld โ€‹

โ–ธ transformWorld(worldTransform?, resize?): void

Parameters โ€‹

NameType
worldTransform?IMatrixData
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.transformWorld

Inherited from โ€‹

Leafer.transformWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:495


moveWorld โ€‹

โ–ธ moveWorld(x, y?): void

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Implementation of โ€‹

IApp.moveWorld

Inherited from โ€‹

Leafer.moveWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:499


scaleOfWorld โ€‹

โ–ธ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?): void

Parameters โ€‹

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.scaleOfWorld

Inherited from โ€‹

Leafer.scaleOfWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:503


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Implementation of โ€‹

IApp.rotateOfWorld

Inherited from โ€‹

Leafer.rotateOfWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:507


skewOfWorld โ€‹

โ–ธ skewOfWorld(worldOrigin, skewX, skewY?, resize?): void

Parameters โ€‹

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.skewOfWorld

Inherited from โ€‹

Leafer.skewOfWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:511


flip โ€‹

โ–ธ flip(axis): void

Parameters โ€‹

NameType
axisIAxis

Returns โ€‹

void

Implementation of โ€‹

IApp.flip

Inherited from โ€‹

Leafer.flip

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:515


scaleResize โ€‹

โ–ธ scaleResize(scaleX, scaleY?, _noResize?): void

Parameters โ€‹

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns โ€‹

void

Implementation of โ€‹

IApp.scaleResize

Inherited from โ€‹

Leafer.scaleResize

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:522


__scaleResize โ€‹

โ–ธ __scaleResize(_scaleX, _scaleY): void

Parameters โ€‹

NameType
_scaleXnumber
_scaleYnumber

Returns โ€‹

void

Implementation of โ€‹

IApp.__scaleResize

Inherited from โ€‹

Leafer.__scaleResize

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:527


resizeWidth โ€‹

โ–ธ resizeWidth(_width): void

Parameters โ€‹

NameType
_widthnumber

Returns โ€‹

void

Implementation of โ€‹

IApp.resizeWidth

Inherited from โ€‹

Leafer.resizeWidth

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:530


resizeHeight โ€‹

โ–ธ resizeHeight(_height): void

Parameters โ€‹

NameType
_heightnumber

Returns โ€‹

void

Implementation of โ€‹

IApp.resizeHeight

Inherited from โ€‹

Leafer.resizeHeight

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:532


__hitWorld โ€‹

โ–ธ __hitWorld(_point): boolean

Parameters โ€‹

NameType
_pointIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__hitWorld

Inherited from โ€‹

Leafer.__hitWorld

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:537


__hit โ€‹

โ–ธ __hit(_local): boolean

Parameters โ€‹

NameType
_localIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__hit

Inherited from โ€‹

Leafer.__hit

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:539


__hitFill โ€‹

โ–ธ __hitFill(_inner): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__hitFill

Inherited from โ€‹

Leafer.__hitFill

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:541


__hitStroke โ€‹

โ–ธ __hitStroke(_inner, _strokeWidth): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__hitStroke

Inherited from โ€‹

Leafer.__hitStroke

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:543


__hitPixel โ€‹

โ–ธ __hitPixel(_inner): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__hitPixel

Inherited from โ€‹

Leafer.__hitPixel

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:545


__drawHitPath โ€‹

โ–ธ __drawHitPath(_canvas): void

Parameters โ€‹

NameType
_canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

IApp.__drawHitPath

Inherited from โ€‹

Leafer.__drawHitPath

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:547


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateHitCanvas

Inherited from โ€‹

Leafer.__updateHitCanvas

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:549


__drawFast โ€‹

โ–ธ __drawFast(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IApp.__drawFast

Inherited from โ€‹

Leafer.__drawFast

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:558


__draw โ€‹

โ–ธ __draw(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IApp.__draw

Inherited from โ€‹

Leafer.__draw

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:560


__clip โ€‹

โ–ธ __clip(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IApp.__clip

Inherited from โ€‹

Leafer.__clip

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:563


__renderShape โ€‹

โ–ธ __renderShape(_canvas, _options, _ignoreFill?, _ignoreStroke?): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_ignoreFill?boolean
_ignoreStroke?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.__renderShape

Inherited from โ€‹

Leafer.__renderShape

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:565


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateWorldOpacity

Inherited from โ€‹

Leafer.__updateWorldOpacity

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:568


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateChange

Inherited from โ€‹

Leafer.__updateChange

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:570


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updatePath

Inherited from โ€‹

Leafer.__updatePath

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:581


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Implementation of โ€‹

IApp.getMotionPathData

Inherited from โ€‹

Leafer.getMotionPathData

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:590


getMotionPoint โ€‹

โ–ธ getMotionPoint(_motionDistance): IRotationPointData

Parameters โ€‹

NameType
_motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Implementation of โ€‹

IApp.getMotionPoint

Inherited from โ€‹

Leafer.getMotionPoint

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:594


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Implementation of โ€‹

IApp.getMotionTotal

Inherited from โ€‹

Leafer.getMotionTotal

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:598


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateMotionPath

Inherited from โ€‹

Leafer.__updateMotionPath

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:602


__runAnimation โ€‹

โ–ธ __runAnimation(_type, _complete?): void

Parameters โ€‹

NameType
_type"in" | "out"
_complete?IFunction

Returns โ€‹

void

Implementation of โ€‹

IApp.__runAnimation

Inherited from โ€‹

Leafer.__runAnimation

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:608


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateSortChildren

Inherited from โ€‹

Leafer.__updateSortChildren

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:613


dropTo โ€‹

โ–ธ dropTo(parent, index?, resize?): void

Parameters โ€‹

NameType
parentILeaf
index?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.dropTo

Inherited from โ€‹

Leafer.dropTo

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:621


on โ€‹

โ–ธ on(_type, _listener?, _options?): void

Parameters โ€‹

NameType
_typestring | string[] | IEventMap
_listener?IFunction
_options?IEventOption

Returns โ€‹

void

Implementation of โ€‹

IApp.on

Inherited from โ€‹

Leafer.on

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:630


off โ€‹

โ–ธ off(_type?, _listener?, _options?): void

Parameters โ€‹

NameType
_type?string | string[]
_listener?IFunction
_options?IEventOption

Returns โ€‹

void

Implementation of โ€‹

IApp.off

Inherited from โ€‹

Leafer.off

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:632


on_ โ€‹

โ–ธ on_(_type, _listener, _bind?, _options?): IEventListenerId

Parameters โ€‹

NameType
_typestring | string[]
_listenerIFunction
_bind?IObject
_options?IEventOption

Returns โ€‹

IEventListenerId

Implementation of โ€‹

IApp.on_

Inherited from โ€‹

Leafer.on_

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:634


off_ โ€‹

โ–ธ off_(_id): void

Parameters โ€‹

NameType
_idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Implementation of โ€‹

IApp.off_

Inherited from โ€‹

Leafer.off_

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:636


once โ€‹

โ–ธ once(_type, _listener, _capture?): void

Parameters โ€‹

NameType
_typestring | string[]
_listenerIFunction
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.once

Inherited from โ€‹

Leafer.once

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:638


emit โ€‹

โ–ธ emit(_type, _event?, _capture?): void

Parameters โ€‹

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.emit

Inherited from โ€‹

Leafer.emit

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:640


emitEvent โ€‹

โ–ธ emitEvent(_event?, _capture?): void

Parameters โ€‹

NameType
_event?IEvent
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.emitEvent

Inherited from โ€‹

Leafer.emitEvent

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:642


hasEvent โ€‹

โ–ธ hasEvent(_type, _capture?): boolean

Parameters โ€‹

NameType
_typestring
_capture?boolean

Returns โ€‹

boolean

Implementation of โ€‹

IApp.hasEvent

Inherited from โ€‹

Leafer.hasEvent

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:644


changeAttr โ€‹

โ–ธ changeAttr(attrName, defaultValue, fn?): void

Parameters โ€‹

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns โ€‹

void

Inherited from โ€‹

Leafer.changeAttr

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:648


addAttr โ€‹

โ–ธ addAttr(attrName, defaultValue, fn?): void

Parameters โ€‹

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns โ€‹

void

Inherited from โ€‹

Leafer.addAttr

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:652


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Implementation of โ€‹

IApp.__emitLifeEvent

Inherited from โ€‹

Leafer.__emitLifeEvent

Defined in โ€‹

leafer/packages/display/src/Leaf.ts:658


init โ€‹

โ–ธ init(userConfig?, parentApp?): void

Parameters โ€‹

NameType
userConfig?IAppConfig
parentApp?IApp

Returns โ€‹

void

Implementation of โ€‹

IApp.init

Overrides โ€‹

Leafer.init

Defined in โ€‹

ui/packages/app/src/App.ts:28


__setApp โ€‹

โ–ธ __setApp(): void

Returns โ€‹

void

Overrides โ€‹

Leafer.__setApp

Defined in โ€‹

ui/packages/app/src/App.ts:39


start โ€‹

โ–ธ start(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.start

Overrides โ€‹

Leafer.start

Defined in โ€‹

ui/packages/app/src/App.ts:52


stop โ€‹

โ–ธ stop(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.stop

Overrides โ€‹

Leafer.stop

Defined in โ€‹

ui/packages/app/src/App.ts:57


unlockLayout โ€‹

โ–ธ unlockLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.unlockLayout

Overrides โ€‹

Leafer.unlockLayout

Defined in โ€‹

ui/packages/app/src/App.ts:62


lockLayout โ€‹

โ–ธ lockLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.lockLayout

Overrides โ€‹

Leafer.lockLayout

Defined in โ€‹

ui/packages/app/src/App.ts:67


forceRender โ€‹

โ–ธ forceRender(bounds?): void

Parameters โ€‹

NameType
bounds?IBoundsData

Returns โ€‹

void

Implementation of โ€‹

IApp.forceRender

Overrides โ€‹

Leafer.forceRender

Defined in โ€‹

ui/packages/app/src/App.ts:72


addLeafer โ€‹

โ–ธ addLeafer(merge?): Leafer

Parameters โ€‹

NameType
merge?ILeaferConfig

Returns โ€‹

Leafer

Defined in โ€‹

ui/packages/app/src/App.ts:76


add โ€‹

โ–ธ add(leafer, index?): void

Parameters โ€‹

NameType
leaferILeafer
index?number

Returns โ€‹

void

Implementation of โ€‹

IApp.add

Overrides โ€‹

Leafer.add

Defined in โ€‹

ui/packages/app/src/App.ts:82


__onPropertyChange โ€‹

โ–ธ __onPropertyChange(): void

Returns โ€‹

void

Defined in โ€‹

ui/packages/app/src/App.ts:96


__onCreated โ€‹

โ–ธ __onCreated(): void

Returns โ€‹

void

Overrides โ€‹

Leafer.__onCreated

Defined in โ€‹

ui/packages/app/src/App.ts:100


__onReady โ€‹

โ–ธ __onReady(): void

Returns โ€‹

void

Overrides โ€‹

Leafer.__onReady

Defined in โ€‹

ui/packages/app/src/App.ts:104


__onViewReady โ€‹

โ–ธ __onViewReady(): void

Returns โ€‹

void

Overrides โ€‹

Leafer.__onViewReady

Defined in โ€‹

ui/packages/app/src/App.ts:108


__onChildRenderEnd โ€‹

โ–ธ __onChildRenderEnd(e): void

Parameters โ€‹

NameType
eRenderEvent

Returns โ€‹

void

Defined in โ€‹

ui/packages/app/src/App.ts:112


__render โ€‹

โ–ธ __render(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IApp.__render

Overrides โ€‹

Leafer.__render

Defined in โ€‹

ui/packages/app/src/App.ts:117


__onResize โ€‹

โ–ธ __onResize(event): void

Parameters โ€‹

NameType
eventIResizeEvent

Returns โ€‹

void

Overrides โ€‹

Leafer.__onResize

Defined in โ€‹

ui/packages/app/src/App.ts:125


__checkUpdateLayout โ€‹

โ–ธ __checkUpdateLayout(): void

Returns โ€‹

void

Overrides โ€‹

Leafer.__checkUpdateLayout

Defined in โ€‹

ui/packages/app/src/App.ts:130


__getChildConfig โ€‹

โ–ธ __getChildConfig(userConfig?): ILeaferConfig

Parameters โ€‹

NameType
userConfig?ILeaferConfig

Returns โ€‹

ILeaferConfig

Defined in โ€‹

ui/packages/app/src/App.ts:134


__listenChildEvents โ€‹

โ–ธ __listenChildEvents(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Defined in โ€‹

ui/packages/app/src/App.ts:146


reset โ€‹

โ–ธ reset(data?): void

Parameters โ€‹

NameType
data?IGroupInputData

Returns โ€‹

void

Implementation of โ€‹

IApp.reset

Inherited from โ€‹

Leafer.reset

Defined in โ€‹

ui/packages/display/src/Group.ts:27


__setBranch โ€‹

โ–ธ __setBranch(): void

Returns โ€‹

void

Inherited from โ€‹

Leafer.__setBranch

Defined in โ€‹

ui/packages/display/src/Group.ts:32


toJSON โ€‹

โ–ธ toJSON(options?): IUIJSONData

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IUIJSONData

Implementation of โ€‹

IApp.toJSON

Inherited from โ€‹

Leafer.toJSON

Defined in โ€‹

ui/packages/display/src/Group.ts:54


pick โ€‹

โ–ธ pick(_hitPoint, _options?): IPickResult

Parameters โ€‹

NameType
_hitPointIPointData
_options?IPickOptions

Returns โ€‹

IPickResult

Implementation of โ€‹

IApp.pick

Inherited from โ€‹

Leafer.pick

Defined in โ€‹

ui/packages/display/src/Group.ts:63


addAt โ€‹

โ–ธ addAt(child, index): void

Parameters โ€‹

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
indexnumber

Returns โ€‹

void

Implementation of โ€‹

IApp.addAt

Inherited from โ€‹

Leafer.addAt

Defined in โ€‹

ui/packages/display/src/Group.ts:68


addAfter โ€‹

โ–ธ addAfter(child, after): void

Parameters โ€‹

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
afterIUI

Returns โ€‹

void

Implementation of โ€‹

IApp.addAfter

Inherited from โ€‹

Leafer.addAfter

Defined in โ€‹

ui/packages/display/src/Group.ts:72


addBefore โ€‹

โ–ธ addBefore(child, before): void

Parameters โ€‹

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
beforeIUI

Returns โ€‹

void

Implementation of โ€‹

IApp.addBefore

Inherited from โ€‹

Leafer.addBefore

Defined in โ€‹

ui/packages/display/src/Group.ts:76


addMany โ€‹

โ–ธ addMany(..._children): void

Parameters โ€‹

NameType
..._childrenIUI[] | IUIInputData[]

Returns โ€‹

void

Implementation of โ€‹

IApp.addMany

Inherited from โ€‹

Leafer.addMany

Defined in โ€‹

ui/packages/display/src/Group.ts:84


remove โ€‹

โ–ธ remove(_child?, _destroy?): void

Parameters โ€‹

NameType
_child?string | number | IFindCondition | IUI | IFindUIMethod
_destroy?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.remove

Inherited from โ€‹

Leafer.remove

Defined in โ€‹

ui/packages/display/src/Group.ts:86


removeAll โ€‹

โ–ธ removeAll(_destroy?): void

Parameters โ€‹

NameType
_destroy?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.removeAll

Inherited from โ€‹

Leafer.removeAll

Defined in โ€‹

ui/packages/display/src/Group.ts:88


clear โ€‹

โ–ธ clear(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.clear

Inherited from โ€‹

Leafer.clear

Defined in โ€‹

ui/packages/display/src/Group.ts:90


onInit โ€‹

โ–ธ onInit(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.onInit

Inherited from โ€‹

Leafer.onInit

Defined in โ€‹

ui/packages/display/src/Leafer.ts:158


initType โ€‹

โ–ธ initType(_type): void

Parameters โ€‹

NameType
_typeILeaferType

Returns โ€‹

void

Implementation of โ€‹

IApp.initType

Inherited from โ€‹

Leafer.initType

Defined in โ€‹

ui/packages/display/src/Leafer.ts:160


set โ€‹

โ–ธ set(data): void

Parameters โ€‹

NameType
dataIUIInputData

Returns โ€‹

void

Implementation of โ€‹

IApp.set

Inherited from โ€‹

Leafer.set

Defined in โ€‹

ui/packages/display/src/Leafer.ts:162


resize โ€‹

โ–ธ resize(size): void

Parameters โ€‹

NameType
sizeIScreenSizeData

Returns โ€‹

void

Implementation of โ€‹

IApp.resize

Inherited from โ€‹

Leafer.resize

Defined in โ€‹

ui/packages/display/src/Leafer.ts:195


updateCursor โ€‹

โ–ธ updateCursor(cursor?): void

Parameters โ€‹

NameType
cursor?ICursorType

Returns โ€‹

void

Implementation of โ€‹

IApp.updateCursor

Inherited from โ€‹

Leafer.updateCursor

Defined in โ€‹

ui/packages/display/src/Leafer.ts:205


updateLazyBounds โ€‹

โ–ธ updateLazyBounds(): void

Returns โ€‹

void

Inherited from โ€‹

Leafer.updateLazyBounds

Defined in โ€‹

ui/packages/display/src/Leafer.ts:210


__doResize โ€‹

โ–ธ __doResize(size): void

Parameters โ€‹

NameType
sizeIScreenSizeData

Returns โ€‹

void

Inherited from โ€‹

Leafer.__doResize

Defined in โ€‹

ui/packages/display/src/Leafer.ts:214


__bindApp โ€‹

โ–ธ __bindApp(app): void

Parameters โ€‹

NameType
appIApp

Returns โ€‹

void

Inherited from โ€‹

Leafer.__bindApp

Defined in โ€‹

ui/packages/display/src/Leafer.ts:232


__setLeafer โ€‹

โ–ธ __setLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeafer

Returns โ€‹

void

Inherited from โ€‹

Leafer.__setLeafer

Defined in โ€‹

ui/packages/display/src/Leafer.ts:240


__checkAutoLayout โ€‹

โ–ธ __checkAutoLayout(config, parentApp?): void

Parameters โ€‹

NameType
configILeaferConfig
parentApp?IApp

Returns โ€‹

void

Inherited from โ€‹

Leafer.__checkAutoLayout

Defined in โ€‹

ui/packages/display/src/Leafer.ts:245


__setAttr โ€‹

โ–ธ __setAttr(attrName, newValue): boolean

Parameters โ€‹

NameType
attrNamestring
newValueIValue

Returns โ€‹

boolean

Implementation of โ€‹

IApp.__setAttr

Inherited from โ€‹

Leafer.__setAttr

Defined in โ€‹

ui/packages/display/src/Leafer.ts:252


__getAttr โ€‹

โ–ธ __getAttr(attrName): IValue

Parameters โ€‹

NameType
attrNamestring

Returns โ€‹

IValue

Implementation of โ€‹

IApp.__getAttr

Inherited from โ€‹

Leafer.__getAttr

Defined in โ€‹

ui/packages/display/src/Leafer.ts:269


__changeCanvasSize โ€‹

โ–ธ __changeCanvasSize(attrName, newValue): void

Parameters โ€‹

NameType
attrNamestring
newValuenumber

Returns โ€‹

void

Inherited from โ€‹

Leafer.__changeCanvasSize

Defined in โ€‹

ui/packages/display/src/Leafer.ts:274


__changeFill โ€‹

โ–ธ __changeFill(newValue): void

Parameters โ€‹

NameType
newValuestring

Returns โ€‹

void

Inherited from โ€‹

Leafer.__changeFill

Defined in โ€‹

ui/packages/display/src/Leafer.ts:281


__onNextRender โ€‹

โ–ธ __onNextRender(): void

Returns โ€‹

void

Inherited from โ€‹

Leafer.__onNextRender

Defined in โ€‹

ui/packages/display/src/Leafer.ts:307


__checkViewCompleted โ€‹

โ–ธ __checkViewCompleted(emit?): void

Parameters โ€‹

NameTypeDefault value
emitbooleantrue

Returns โ€‹

void

Inherited from โ€‹

Leafer.__checkViewCompleted

Defined in โ€‹

ui/packages/display/src/Leafer.ts:317


__onWatchData โ€‹

โ–ธ __onWatchData(): void

Returns โ€‹

void

Inherited from โ€‹

Leafer.__onWatchData

Defined in โ€‹

ui/packages/display/src/Leafer.ts:327


waitInit โ€‹

โ–ธ waitInit(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

Leafer.waitInit

Defined in โ€‹

ui/packages/display/src/Leafer.ts:333


waitReady โ€‹

โ–ธ waitReady(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

IApp.waitReady

Inherited from โ€‹

Leafer.waitReady

Defined in โ€‹

ui/packages/display/src/Leafer.ts:339


waitViewReady โ€‹

โ–ธ waitViewReady(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

IApp.waitViewReady

Inherited from โ€‹

Leafer.waitViewReady

Defined in โ€‹

ui/packages/display/src/Leafer.ts:344


waitViewCompleted โ€‹

โ–ธ waitViewCompleted(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

IApp.waitViewCompleted

Inherited from โ€‹

Leafer.waitViewCompleted

Defined in โ€‹

ui/packages/display/src/Leafer.ts:349


nextRender โ€‹

โ–ธ nextRender(item, bind?, off?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject
off?"off"

Returns โ€‹

void

Implementation of โ€‹

IApp.nextRender

Inherited from โ€‹

Leafer.nextRender

Defined in โ€‹

ui/packages/display/src/Leafer.ts:356


zoom โ€‹

โ–ธ zoom(_zoomType, _padding?, _fixedScale?): IBoundsData

Parameters โ€‹

NameType
_zoomTypeIZoomType
_padding?IFourNumber
_fixedScale?boolean

Returns โ€‹

IBoundsData

Implementation of โ€‹

IApp.zoom

Inherited from โ€‹

Leafer.zoom

Defined in โ€‹

ui/packages/display/src/Leafer.ts:367


getValidMove โ€‹

โ–ธ getValidMove(moveX, moveY): IPointData

Parameters โ€‹

NameType
moveXnumber
moveYnumber

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getValidMove

Inherited from โ€‹

Leafer.getValidMove

Defined in โ€‹

ui/packages/display/src/Leafer.ts:373


getValidScale โ€‹

โ–ธ getValidScale(changeScale): number

Parameters โ€‹

NameType
changeScalenumber

Returns โ€‹

number

Implementation of โ€‹

IApp.getValidScale

Inherited from โ€‹

Leafer.getValidScale

Defined in โ€‹

ui/packages/display/src/Leafer.ts:374


getWorldPointByClient โ€‹

โ–ธ getWorldPointByClient(clientPoint, updateClient?): IPointData

Parameters โ€‹

NameType
clientPointIClientPointData
updateClient?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getWorldPointByClient

Inherited from โ€‹

Leafer.getWorldPointByClient

Defined in โ€‹

ui/packages/display/src/Leafer.ts:377


getPagePointByClient โ€‹

โ–ธ getPagePointByClient(clientPoint, updateClient?): IPointData

Parameters โ€‹

NameType
clientPointIClientPointData
updateClient?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IApp.getPagePointByClient

Inherited from โ€‹

Leafer.getPagePointByClient

Defined in โ€‹

ui/packages/display/src/Leafer.ts:381


updateClientBounds โ€‹

โ–ธ updateClientBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.updateClientBounds

Inherited from โ€‹

Leafer.updateClientBounds

Defined in โ€‹

ui/packages/display/src/Leafer.ts:385


receiveEvent โ€‹

โ–ธ receiveEvent(_event): void

Parameters โ€‹

NameType
_eventany

Returns โ€‹

void

Implementation of โ€‹

IApp.receiveEvent

Inherited from โ€‹

Leafer.receiveEvent

Defined in โ€‹

ui/packages/display/src/Leafer.ts:390


emitLeafer โ€‹

โ–ธ emitLeafer(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Inherited from โ€‹

Leafer.emitLeafer

Defined in โ€‹

ui/packages/display/src/Leafer.ts:397


__listenEvents โ€‹

โ–ธ __listenEvents(): void

Returns โ€‹

void

Inherited from โ€‹

Leafer.__listenEvents

Defined in โ€‹

ui/packages/display/src/Leafer.ts:401


__removeListenEvents โ€‹

โ–ธ __removeListenEvents(): void

Returns โ€‹

void

Inherited from โ€‹

Leafer.__removeListenEvents

Defined in โ€‹

ui/packages/display/src/Leafer.ts:415


destroy โ€‹

โ–ธ destroy(sync?): void

Parameters โ€‹

NameType
sync?boolean

Returns โ€‹

void

Implementation of โ€‹

IApp.destroy

Inherited from โ€‹

Leafer.destroy

Defined in โ€‹

ui/packages/display/src/Leafer.ts:420


get โ€‹

โ–ธ get(name?): IValue | IUIInputData

Parameters โ€‹

NameType
name?string | string[] | IUIInputData

Returns โ€‹

IValue | IUIInputData

Implementation of โ€‹

IApp.get

Inherited from โ€‹

Leafer.get

Defined in โ€‹

ui/packages/display/src/UI.ts:385


createProxyData โ€‹

โ–ธ createProxyData(): IUIInputData

Returns โ€‹

IUIInputData

Implementation of โ€‹

IApp.createProxyData

Inherited from โ€‹

Leafer.createProxyData

Defined in โ€‹

ui/packages/display/src/UI.ts:389


find โ€‹

โ–ธ find(_condition, _options?): IUI[]

Parameters โ€‹

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns โ€‹

IUI[]

Implementation of โ€‹

IApp.find

Inherited from โ€‹

Leafer.find

Defined in โ€‹

ui/packages/display/src/UI.ts:394


findTag โ€‹

โ–ธ findTag(tag): IUI[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

IUI[]

Implementation of โ€‹

IApp.findTag

Inherited from โ€‹

Leafer.findTag

Defined in โ€‹

ui/packages/display/src/UI.ts:396


findOne โ€‹

โ–ธ findOne(_condition, _options?): IUI

Parameters โ€‹

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns โ€‹

IUI

Implementation of โ€‹

IApp.findOne

Inherited from โ€‹

Leafer.findOne

Defined in โ€‹

ui/packages/display/src/UI.ts:398


findId โ€‹

โ–ธ findId(id): IUI

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

IUI

Implementation of โ€‹

IApp.findId

Inherited from โ€‹

Leafer.findId

Defined in โ€‹

ui/packages/display/src/UI.ts:400


getPath โ€‹

โ–ธ getPath(curve?, pathForRender?): IPathCommandData

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

IPathCommandData

Implementation of โ€‹

IApp.getPath

Inherited from โ€‹

Leafer.getPath

Defined in โ€‹

ui/packages/display/src/UI.ts:405


getPathString โ€‹

โ–ธ getPathString(curve?, pathForRender?, floatLength?): string

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean
floatLength?number

Returns โ€‹

string

Implementation of โ€‹

IApp.getPathString

Inherited from โ€‹

Leafer.getPathString

Defined in โ€‹

ui/packages/display/src/UI.ts:412


load โ€‹

โ–ธ load(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.load

Inherited from โ€‹

Leafer.load

Defined in โ€‹

ui/packages/display/src/UI.ts:417


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__onUpdateSize

Inherited from โ€‹

Leafer.__onUpdateSize

Defined in โ€‹

ui/packages/display/src/UI.ts:421


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(): void

Returns โ€‹

void

Implementation of โ€‹

IApp.__updateRenderPath

Inherited from โ€‹

Leafer.__updateRenderPath

Defined in โ€‹

ui/packages/display/src/UI.ts:428


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

IApp.__drawRenderPath

Inherited from โ€‹

Leafer.__drawRenderPath

Defined in โ€‹

ui/packages/display/src/UI.ts:436


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

IApp.__drawPath

Inherited from โ€‹

Leafer.__drawPath

Defined in โ€‹

ui/packages/display/src/UI.ts:441


__drawPathByData โ€‹

โ–ธ __drawPathByData(drawer, data): void

Parameters โ€‹

NameType
drawerIPathDrawer
dataIPathCommandData

Returns โ€‹

void

Implementation of โ€‹

IApp.__drawPathByData

Inherited from โ€‹

Leafer.__drawPathByData

Defined in โ€‹

ui/packages/display/src/UI.ts:446


__drawPathByBox โ€‹

โ–ธ __drawPathByBox(drawer): void

Parameters โ€‹

NameType
drawerIPathDrawer

Returns โ€‹

void

Implementation of โ€‹

IApp.__drawPathByBox

Inherited from โ€‹

Leafer.__drawPathByBox

Defined in โ€‹

ui/packages/display/src/UI.ts:450


animate โ€‹

โ–ธ animate(_keyframe?, _options?, _type?, _isTemp?): IAnimate

Parameters โ€‹

NameType
_keyframe?IAnimation | IUIInputData | IKeyframe[]
_options?ITransition
_type?IAnimateType
_isTemp?boolean

Returns โ€‹

IAnimate

Implementation of โ€‹

IApp.animate

Inherited from โ€‹

Leafer.animate

Defined in โ€‹

ui/packages/display/src/UI.ts:460


killAnimate โ€‹

โ–ธ killAnimate(_type?): void

Parameters โ€‹

NameType
_type?IAnimateType

Returns โ€‹

void

Implementation of โ€‹

IApp.killAnimate

Inherited from โ€‹

Leafer.killAnimate

Defined in โ€‹

ui/packages/display/src/UI.ts:464


export โ€‹

โ–ธ export(filename, options?): Promise<IExportResult>

Parameters โ€‹

NameType
filenamestring
options?number | boolean | IExportOptions

Returns โ€‹

Promise<IExportResult>

Implementation of โ€‹

IApp.export

Inherited from โ€‹

Leafer.export

Defined in โ€‹

ui/packages/display/src/UI.ts:469


clone โ€‹

โ–ธ clone(data?): IUI

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

IUI

Implementation of โ€‹

IApp.clone

Inherited from โ€‹

Leafer.clone

Defined in โ€‹

ui/packages/display/src/UI.ts:473


one โ€‹

โ–ธ one(data, x?, y?, width?, height?): IUI

Parameters โ€‹

NameType
dataIUIInputData
x?number
y?number
width?number
height?number

Returns โ€‹

IUI

Inherited from โ€‹

Leafer.one

Defined in โ€‹

ui/packages/display/src/UI.ts:479


registerUI โ€‹

โ–ธ registerUI(): void

Returns โ€‹

void

Inherited from โ€‹

Leafer.registerUI

Defined in โ€‹

ui/packages/display/src/UI.ts:483


registerData โ€‹

โ–ธ registerData(data): void

Parameters โ€‹

NameType
dataIUIData

Returns โ€‹

void

Inherited from โ€‹

Leafer.registerData

Defined in โ€‹

ui/packages/display/src/UI.ts:487


setEditConfig โ€‹

โ–ธ setEditConfig(_config): void

Parameters โ€‹

NameType
_configIEditorConfig | IEditorConfigFunction

Returns โ€‹

void

Inherited from โ€‹

Leafer.setEditConfig

Defined in โ€‹

ui/packages/display/src/UI.ts:494


setEditOuter โ€‹

โ–ธ setEditOuter(_toolName): void

Parameters โ€‹

NameType
_toolNamestring | IEditToolFunction

Returns โ€‹

void

Inherited from โ€‹

Leafer.setEditOuter

Defined in โ€‹

ui/packages/display/src/UI.ts:496


setEditInner โ€‹

โ–ธ setEditInner(_editorName): void

Parameters โ€‹

NameType
_editorNamestring | IEditToolFunction

Returns โ€‹

void

Inherited from โ€‹

Leafer.setEditInner

Defined in โ€‹

ui/packages/display/src/UI.ts:498

Released under the MIT License.