Class: App โ
Hierarchy โ
โณ
App
Implements โ
Table of contents โ
Constructors โ
Properties โ
- innerId
- syncEventer
- lockNormalStyle
- __layout
- __world
- __local
- __nowWorld
- __cameraWorld
- __worldOpacity
- __level
- __tempNumber
- __hasAutoLayout
- __hasMask
- __hasEraser
- __hitCanvas
- __captureMap
- __bubbleMap
- noBounds
- destroyed
- children
- realCanvas
- ground
- tree
- sky
- list
- __
- pixelRatio
- parent
- running
- created
- ready
- viewReady
- viewCompleted
- transforming
- view
- canvas
- renderer
- watcher
- layouter
- selector
- interaction
- canvasManager
- hitCanvasManager
- editor
- userConfig
- config
- autoLayout
- lazyBounds
- leafs
- __eventIds
- __startTimer
- __controllers
- __initWait
- __readyWait
- __viewReadyWait
- __viewCompletedWait
- __nextRenderWait
- proxyData
- __proxyData
- leafer
- zoomLayer
- id
- name
- className
- blendMode
- opacity
- visible
- locked
- zIndex
- mask
- eraser
- x
- y
- width
- height
- scaleX
- scaleY
- rotation
- skewX
- skewY
- offsetX
- offsetY
- scrollX
- scrollY
- origin
- around
- lazy
- path
- windingRule
- closed
- flow
- padding
- gap
- flowAlign
- flowWrap
- itemBox
- inFlow
- autoWidth
- autoHeight
- lockRatio
- autoBox
- widthRange
- heightRange
- draggable
- dragBounds
- editable
- hittable
- hitFill
- hitStroke
- hitBox
- hitChildren
- hitSelf
- hitRadius
- cursor
- fill
- stroke
- strokeAlign
- strokeWidth
- strokeWidthFixed
- strokeCap
- strokeJoin
- dashPattern
- dashOffset
- miterLimit
- startArrow
- endArrow
- cornerRadius
- cornerSmoothing
- shadow
- innerShadow
- blur
- backgroundBlur
- grayscale
- filter
- animation
- animationOut
- transition
- transitionOut
- motionPath
- motion
- motionRotation
- states
- state
- selected
- disabled
- normalStyle
- hoverStyle
- pressStyle
- focusStyle
- selectedStyle
- disabledStyle
- button
- data
- __animate
Accessors โ
- tag
- innerName
- __DataProcessor
- __LayoutProcessor
- leaferIsCreated
- leaferIsReady
- isBranchLeaf
- __localMatrix
- __localBoxBounds
- worldTransform
- localTransform
- boxBounds
- renderBounds
- worldBoxBounds
- worldStrokeBounds
- worldRenderBounds
- worldOpacity
- __worldFlipped
- __onlyHitMask
- __ignoreHitWorld
- __inLazyBounds
- pathInputed
- event
- __tag
- isApp
- isBranch
- app
- isLeafer
- imageReady
- layoutLocked
- FPS
- cursorPoint
- clientBounds
- isFrame
- scale
- pen
- editConfig
- editOuter
- editInner
Methods โ
- resetCustom
- waitParent
- waitLeafer
- removeNextRender
- __bindLeafer
- setAttr
- getAttr
- getComputedAttr
- toString
- toSVG
- __SVG
- toHTML
- setProxyAttr
- getProxyAttr
- focus
- updateState
- updateLayout
- forceUpdate
- __updateWorldMatrix
- __updateLocalMatrix
- __updateWorldBounds
- __updateLocalBounds
- __updateLocalBoxBounds
- __updateLocalStrokeBounds
- __updateLocalRenderBounds
- __updateBoxBounds
- __updateContentBounds
- __updateStrokeBounds
- __updateRenderBounds
- __updateAutoLayout
- __updateFlowLayout
- __updateNaturalSize
- __updateStrokeSpread
- __updateRenderSpread
- __updateEraser
- __renderEraser
- __updateMask
- __renderMask
- __getNowWorld
- getTransform
- getBounds
- getLayoutBounds
- getLayoutPoints
- getWorldBounds
- worldToLocal
- localToWorld
- worldToInner
- innerToWorld
- getBoxPoint
- getBoxPointByInner
- getInnerPoint
- getInnerPointByBox
- getInnerPointByLocal
- getLocalPoint
- getLocalPointByInner
- getPagePoint
- getWorldPoint
- getWorldPointByBox
- getWorldPointByLocal
- getWorldPointByPage
- setTransform
- transform
- move
- moveInner
- scaleOf
- rotateOf
- skewOf
- transformWorld
- moveWorld
- scaleOfWorld
- rotateOfWorld
- skewOfWorld
- flip
- scaleResize
- __scaleResize
- resizeWidth
- resizeHeight
- __hitWorld
- __hit
- __hitFill
- __hitStroke
- __hitPixel
- __drawHitPath
- __updateHitCanvas
- __drawFast
- __draw
- __clip
- __renderShape
- __updateWorldOpacity
- __updateChange
- __updatePath
- getMotionPathData
- getMotionPoint
- getMotionTotal
- __updateMotionPath
- __runAnimation
- __updateSortChildren
- dropTo
- on
- off
- on_
- off_
- once
- emit
- emitEvent
- hasEvent
- changeAttr
- addAttr
- __emitLifeEvent
- init
- __setApp
- start
- stop
- unlockLayout
- lockLayout
- forceRender
- addLeafer
- add
- __onPropertyChange
- __onCreated
- __onReady
- __onViewReady
- __onChildRenderEnd
- __render
- __onResize
- __checkUpdateLayout
- __getChildConfig
- __listenChildEvents
- reset
- __setBranch
- toJSON
- pick
- addAt
- addAfter
- addBefore
- addMany
- remove
- removeAll
- clear
- onInit
- initType
- set
- resize
- updateCursor
- updateLazyBounds
- __doResize
- __bindApp
- __setLeafer
- __checkAutoLayout
- __setAttr
- __getAttr
- __changeCanvasSize
- __changeFill
- __onNextRender
- __checkViewCompleted
- __onWatchData
- waitInit
- waitReady
- waitViewReady
- waitViewCompleted
- nextRender
- zoom
- getValidMove
- getValidScale
- getWorldPointByClient
- getPagePointByClient
- updateClientBounds
- receiveEvent
- emitLeafer
- __listenEvents
- __removeListenEvents
- destroy
- get
- createProxyData
- find
- findTag
- findOne
- findId
- getPath
- getPathString
- load
- __onUpdateSize
- __updateRenderPath
- __drawRenderPath
- __drawPath
- __drawPathByData
- __drawPathByBox
- animate
- killAnimate
- export
- clone
- one
- registerUI
- registerData
- setEditConfig
- setEditOuter
- setEditInner
Constructors โ
constructor โ
โข new App(userConfig?
, data?
): App
Parameters โ
Name | Type |
---|---|
userConfig? | IAppConfig |
data? | IAppInputData |
Returns โ
Overrides โ
Defined in โ
Properties โ
innerId โ
โข Readonly
innerId: number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:30
syncEventer โ
โข Optional
syncEventer: ILeaf
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:46
lockNormalStyle โ
โข Optional
lockNormalStyle: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:47
__layout โ
โข __layout: ILeafLayout
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:50
__world โ
โข __world: IMatrixWithBoundsScaleData
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:52
__local โ
โข Optional
__local: IMatrixWithBoundsData
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:53
__nowWorld โ
โข Optional
__nowWorld: IMatrixWithBoundsScaleData
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:55
__cameraWorld โ
โข Optional
__cameraWorld: IMatrixWithBoundsScaleData
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:56
__worldOpacity โ
โข __worldOpacity: number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:61
__level โ
โข __level: number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:77
__tempNumber โ
โข __tempNumber: number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:78
__hasAutoLayout โ
โข Optional
__hasAutoLayout: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:82
__hasMask โ
โข Optional
__hasMask: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:83
__hasEraser โ
โข Optional
__hasEraser: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:84
__hitCanvas โ
โข Optional
__hitCanvas: IHitCanvas
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:85
__captureMap โ
โข Optional
__captureMap: IEventListenerMap
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:96
__bubbleMap โ
โข Optional
__bubbleMap: IEventListenerMap
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:97
noBounds โ
โข Optional
noBounds: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:103
destroyed โ
โข destroyed: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:105
children โ
โข children: ILeafer
[]
Implementation of โ
Overrides โ
Defined in โ
realCanvas โ
โข realCanvas: boolean
Implementation of โ
Defined in โ
ground โ
โข ground: ILeafer
Implementation of โ
Defined in โ
tree โ
โข tree: ILeafer
Implementation of โ
Defined in โ
sky โ
โข sky: ILeafer
Implementation of โ
Defined in โ
list โ
โช Static
list: LeafList
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:15
__ โ
โข __: ILeaferData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:21
pixelRatio โ
โข Optional
pixelRatio: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:24
parent โ
โข Optional
parent: IApp
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:31
running โ
โข running: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:33
created โ
โข created: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:34
ready โ
โข ready: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:35
viewReady โ
โข viewReady: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:36
viewCompleted โ
โข viewCompleted: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:37
transforming โ
โข transforming: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:41
view โ
โข view: unknown
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:43
canvas โ
โข canvas: ILeaferCanvas
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:46
renderer โ
โข renderer: IRenderer
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:47
watcher โ
โข watcher: IWatcher
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:49
layouter โ
โข layouter: ILayouter
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:50
selector โ
โข Optional
selector: ISelector
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:52
interaction โ
โข Optional
interaction: IInteraction
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:53
canvasManager โ
โข canvasManager: ICanvasManager
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:55
hitCanvasManager โ
โข Optional
hitCanvasManager: IHitCanvasManager
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:56
editor โ
โข editor: IEditorBase
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:59
userConfig โ
โข userConfig: ILeaferConfig
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:61
config โ
โข config: ILeaferConfig
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:62
autoLayout โ
โข Optional
autoLayout: IAutoBounds
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:79
lazyBounds โ
โข lazyBounds: IBounds
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:80
leafs โ
โข leafs: number
= 0
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:85
__eventIds โ
โข __eventIds: IEventListenerId
[] = []
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:87
__startTimer โ
โข Protected
__startTimer: any
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:88
__controllers โ
โข Protected
__controllers: IControl
[] = []
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:89
__initWait โ
โข Protected
__initWait: IFunction
[]
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:91
__readyWait โ
โข Protected
__readyWait: IFunction
[] = []
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:92
__viewReadyWait โ
โข Protected
__viewReadyWait: IFunction
[] = []
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:93
__viewCompletedWait โ
โข Protected
__viewCompletedWait: IFunction
[] = []
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:94
__nextRenderWait โ
โข __nextRenderWait: IFunction
[] = []
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:95
proxyData โ
โข Optional
proxyData: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:21
__proxyData โ
โข Optional
__proxyData: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:22
leafer โ
โข Optional
leafer: ILeafer
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:26
zoomLayer โ
โข zoomLayer: IGroup
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:30
id โ
โข Optional
id: string
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:40
name โ
โข Optional
name: string
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:43
className โ
โข Optional
className: string
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:46
blendMode โ
โข Optional
blendMode: IBlendMode
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:51
opacity โ
โข Optional
opacity: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:54
visible โ
โข Optional
visible: boolean
| 0
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:57
locked โ
โข Optional
locked: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:61
zIndex โ
โข Optional
zIndex: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:65
mask โ
โข Optional
mask: boolean
| IMaskType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:69
eraser โ
โข Optional
eraser: boolean
| IEraserType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:72
x โ
โข Optional
x: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:77
y โ
โข Optional
y: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:80
width โ
โข Optional
width: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:84
height โ
โข Optional
height: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:87
scaleX โ
โข Optional
scaleX: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:91
scaleY โ
โข Optional
scaleY: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:94
rotation โ
โข Optional
rotation: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:98
skewX โ
โข Optional
skewX: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:102
skewY โ
โข Optional
skewY: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:105
offsetX โ
โข Optional
offsetX: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:110
offsetY โ
โข Optional
offsetY: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:113
scrollX โ
โข Optional
scrollX: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:117
scrollY โ
โข Optional
scrollY: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:120
origin โ
โข Optional
origin: IUnitPointData
| IDirection
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:125
around โ
โข Optional
around: IUnitPointData
| IDirection
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:128
lazy โ
โข Optional
lazy: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:133
path โ
โข Optional
path: string
| IPathCommandData
| IPathCommandObject
[]
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:141
windingRule โ
โข Optional
windingRule: IWindingRule
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:144
closed โ
โข Optional
closed: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:147
flow โ
โข Optional
flow: IFlowType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:151
padding โ
โข Optional
padding: IFourNumber
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:154
gap โ
โข Optional
gap: IGap
| IPointGap
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:156
flowAlign โ
โข Optional
flowAlign: IFlowAxisAlign
| IFlowAlign
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:158
flowWrap โ
โข Optional
flowWrap: IFlowWrap
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:160
itemBox โ
โข Optional
itemBox: IFlowBoxType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:163
inFlow โ
โข Optional
inFlow: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:165
autoWidth โ
โข Optional
autoWidth: IAutoSize
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:168
autoHeight โ
โข Optional
autoHeight: IAutoSize
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:170
lockRatio โ
โข Optional
lockRatio: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:172
autoBox โ
โข Optional
autoBox: IAutoBoxData
| IConstraint
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:174
widthRange โ
โข Optional
widthRange: IRangeSize
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:176
heightRange โ
โข Optional
heightRange: IRangeSize
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:178
draggable โ
โข Optional
draggable: boolean
| IAxis
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:183
dragBounds โ
โข Optional
dragBounds: "parent"
| IBoundsData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:186
editable โ
โข Optional
editable: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:190
hittable โ
โข Optional
hittable: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:195
hitFill โ
โข Optional
hitFill: IHitType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:198
hitStroke โ
โข Optional
hitStroke: IHitType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:201
hitBox โ
โข Optional
hitBox: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:204
hitChildren โ
โข Optional
hitChildren: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:207
hitSelf โ
โข Optional
hitSelf: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:210
hitRadius โ
โข Optional
hitRadius: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:213
cursor โ
โข Optional
cursor: ICursorType
| ICursorType
[]
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:216
fill โ
โข Optional
fill: IFill
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:224
stroke โ
โข Optional
stroke: IStroke
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:229
strokeAlign โ
โข Optional
strokeAlign: IStrokeAlign
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:232
strokeWidth โ
โข Optional
strokeWidth: string
| IFourNumber
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:235
strokeWidthFixed โ
โข Optional
strokeWidthFixed: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:238
strokeCap โ
โข Optional
strokeCap: IStrokeCap
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:241
strokeJoin โ
โข Optional
strokeJoin: IStrokeJoin
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:244
dashPattern โ
โข Optional
dashPattern: string
| number
[]
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:247
dashOffset โ
โข Optional
dashOffset: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:250
miterLimit โ
โข Optional
miterLimit: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:253
startArrow โ
โข Optional
startArrow: IArrowType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:258
endArrow โ
โข Optional
endArrow: IArrowType
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:260
cornerRadius โ
โข Optional
cornerRadius: string
| IFourNumber
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:265
cornerSmoothing โ
โข Optional
cornerSmoothing: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:268
shadow โ
โข Optional
shadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:273
innerShadow โ
โข Optional
innerShadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:276
blur โ
โข Optional
blur: number
| IBlurEffect
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:279
backgroundBlur โ
โข Optional
backgroundBlur: number
| IBlurEffect
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:282
grayscale โ
โข Optional
grayscale: number
| IGrayscaleEffect
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:285
filter โ
โข Optional
filter: IObject
| IObject
[]
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:287
animation โ
โข Optional
animation: IAnimation
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:292
animationOut โ
โข Optional
animationOut: IAnimation
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:294
transition โ
โข Optional
transition: ITransition
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:297
transitionOut โ
โข Optional
transitionOut: ITransition
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:299
motionPath โ
โข Optional
motionPath: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:304
motion โ
โข Optional
motion: number
| IUnitData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:306
motionRotation โ
โข Optional
motionRotation: number
| boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:308
states โ
โข Optional
states: IStates
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:313
state โ
โข Optional
state: string
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:315
selected โ
โข Optional
selected: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:318
disabled โ
โข Optional
disabled: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:320
normalStyle โ
โข Optional
normalStyle: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:323
hoverStyle โ
โข Optional
hoverStyle: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:325
pressStyle โ
โข Optional
pressStyle: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:327
focusStyle โ
โข Optional
focusStyle: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:329
selectedStyle โ
โข Optional
selectedStyle: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:331
disabledStyle โ
โข Optional
disabledStyle: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:333
button โ
โข Optional
button: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:336
data โ
โข data: IObject
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:341
__animate โ
โข Optional
__animate: IAnimate
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:347
Accessors โ
tag โ
โข get
tag(): string
Returns โ
string
Implementation of โ
Inherited from โ
Leafer.tag
Defined in โ
leafer/packages/display/src/Leaf.ts:25
โข set
tag(_value
): void
Parameters โ
Name | Type |
---|---|
_value | string |
Returns โ
void
Implementation of โ
Inherited from โ
Leafer.tag
Defined in โ
leafer/packages/display/src/Leaf.ts:26
innerName โ
โข get
innerName(): string
Returns โ
string
Implementation of โ
Inherited from โ
Leafer.innerName
Defined in โ
leafer/packages/display/src/Leaf.ts:31
__DataProcessor โ
โข get
__DataProcessor(): typeof LeafData
Returns โ
typeof LeafData
Implementation of โ
Inherited from โ
Leafer.__DataProcessor
Defined in โ
leafer/packages/display/src/Leaf.ts:33
__LayoutProcessor โ
โข get
__LayoutProcessor(): typeof LeafLayout
Returns โ
typeof LeafLayout
Implementation of โ
Inherited from โ
Leafer.__LayoutProcessor
Defined in โ
leafer/packages/display/src/Leaf.ts:34
leaferIsCreated โ
โข get
leaferIsCreated(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.leaferIsCreated
Defined in โ
leafer/packages/display/src/Leaf.ts:39
leaferIsReady โ
โข get
leaferIsReady(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.leaferIsReady
Defined in โ
leafer/packages/display/src/Leaf.ts:40
isBranchLeaf โ
โข get
isBranchLeaf(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.isBranchLeaf
Defined in โ
leafer/packages/display/src/Leaf.ts:44
__localMatrix โ
โข get
__localMatrix(): IMatrixData
Returns โ
Implementation of โ
Inherited from โ
Leafer.__localMatrix
Defined in โ
leafer/packages/display/src/Leaf.ts:58
__localBoxBounds โ
โข get
__localBoxBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Leafer.__localBoxBounds
Defined in โ
leafer/packages/display/src/Leaf.ts:59
worldTransform โ
โข get
worldTransform(): IMatrixWithScaleData
Returns โ
Implementation of โ
Inherited from โ
Leafer.worldTransform
Defined in โ
leafer/packages/display/src/Leaf.ts:64
localTransform โ
โข get
localTransform(): IMatrixData
Returns โ
Implementation of โ
Inherited from โ
Leafer.localTransform
Defined in โ
leafer/packages/display/src/Leaf.ts:65
boxBounds โ
โข get
boxBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Leafer.boxBounds
Defined in โ
leafer/packages/display/src/Leaf.ts:68
renderBounds โ
โข get
renderBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Leafer.renderBounds
Defined in โ
leafer/packages/display/src/Leaf.ts:69
worldBoxBounds โ
โข get
worldBoxBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Leafer.worldBoxBounds
Defined in โ
leafer/packages/display/src/Leaf.ts:70
worldStrokeBounds โ
โข get
worldStrokeBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Leafer.worldStrokeBounds
Defined in โ
leafer/packages/display/src/Leaf.ts:71
worldRenderBounds โ
โข get
worldRenderBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Leafer.worldRenderBounds
Defined in โ
leafer/packages/display/src/Leaf.ts:72
worldOpacity โ
โข get
worldOpacity(): number
Returns โ
number
Implementation of โ
Inherited from โ
Leafer.worldOpacity
Defined in โ
leafer/packages/display/src/Leaf.ts:75
__worldFlipped โ
โข get
__worldFlipped(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.__worldFlipped
Defined in โ
leafer/packages/display/src/Leaf.ts:80
__onlyHitMask โ
โข get
__onlyHitMask(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.__onlyHitMask
Defined in โ
leafer/packages/display/src/Leaf.ts:87
__ignoreHitWorld โ
โข get
__ignoreHitWorld(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.__ignoreHitWorld
Defined in โ
leafer/packages/display/src/Leaf.ts:88
__inLazyBounds โ
โข get
__inLazyBounds(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.__inLazyBounds
Defined in โ
leafer/packages/display/src/Leaf.ts:89
pathInputed โ
โข get
pathInputed(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.pathInputed
Defined in โ
leafer/packages/display/src/Leaf.ts:91
event โ
โข set
event(map
): void
Parameters โ
Name | Type |
---|---|
map | IEventMap |
Returns โ
void
Implementation of โ
Inherited from โ
Leafer.event
Defined in โ
leafer/packages/display/src/Leaf.ts:94
__tag โ
โข get
__tag(): string
Returns โ
string
Implementation of โ
Overrides โ
Leafer.__tag
Defined in โ
isApp โ
โข get
isApp(): boolean
Returns โ
boolean
Implementation of โ
Overrides โ
Leafer.isApp
Defined in โ
isBranch โ
โข get
isBranch(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.isBranch
Defined in โ
ui/packages/display/src/Group.ts:16
app โ
โข get
app(): ILeafer
Returns โ
Implementation of โ
Inherited from โ
Leafer.app
Defined in โ
ui/packages/display/src/Leafer.ts:27
isLeafer โ
โข get
isLeafer(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.isLeafer
Defined in โ
ui/packages/display/src/Leafer.ts:29
imageReady โ
โข get
imageReady(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.imageReady
Defined in โ
ui/packages/display/src/Leafer.ts:38
layoutLocked โ
โข get
layoutLocked(): boolean
Returns โ
boolean
Implementation of โ
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 โ
Implementation of โ
Inherited from โ
Leafer.cursorPoint
Defined in โ
ui/packages/display/src/Leafer.ts:83
clientBounds โ
โข get
clientBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Leafer.clientBounds
Defined in โ
ui/packages/display/src/Leafer.ts:84
isFrame โ
โข get
isFrame(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Leafer.isFrame
Defined in โ
ui/packages/display/src/UI.ts:32
scale โ
โข get
scale(): number
| IPointData
Returns โ
number
| IPointData
Implementation of โ
Inherited from โ
Leafer.scale
Defined in โ
ui/packages/display/src/UI.ts:345
โข set
scale(value
): void
Parameters โ
Name | Type |
---|---|
value | number | IPointData |
Returns โ
void
Implementation of โ
Inherited from โ
Leafer.scale
Defined in โ
ui/packages/display/src/UI.ts:344
pen โ
โข get
pen(): IPathCreator
Returns โ
Implementation of โ
Inherited from โ
Leafer.pen
Defined in โ
ui/packages/display/src/UI.ts:349
editConfig โ
โข get
editConfig(): IEditorConfig
Returns โ
Implementation of โ
Inherited from โ
Leafer.editConfig
Defined in โ
ui/packages/display/src/UI.ts:359
editOuter โ
โข get
editOuter(): string
Returns โ
string
Implementation of โ
Inherited from โ
Leafer.editOuter
Defined in โ
ui/packages/display/src/UI.ts:361
editInner โ
โข get
editInner(): string
Returns โ
string
Implementation of โ
Inherited from โ
Leafer.editInner
Defined in โ
ui/packages/display/src/UI.ts:363
Methods โ
resetCustom โ
โธ resetCustom(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:133
waitParent โ
โธ waitParent(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:139
waitLeafer โ
โธ waitLeafer(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:144
removeNextRender โ
โธ removeNextRender(item
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:153
__bindLeafer โ
โธ __bindLeafer(leafer
): void
Parameters โ
Name | Type |
---|---|
leafer | ILeaferBase |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:157
setAttr โ
โธ setAttr(name
, value
): void
Parameters โ
Name | Type |
---|---|
name | string |
value | any |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:186
getAttr โ
โธ getAttr(name
): any
Parameters โ
Name | Type |
---|---|
name | string |
Returns โ
any
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:187
getComputedAttr โ
โธ getComputedAttr(name
): any
Parameters โ
Name | Type |
---|---|
name | string |
Returns โ
any
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:189
toString โ
โธ toString(options?
): string
Parameters โ
Name | Type |
---|---|
options? | IJSONOptions |
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:196
toSVG โ
โธ toSVG(): string
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:200
__SVG โ
โธ __SVG(_data
): void
Parameters โ
Name | Type |
---|---|
_data | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:202
toHTML โ
โธ toHTML(): string
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:204
setProxyAttr โ
โธ setProxyAttr(_attrName
, _newValue
): void
Parameters โ
Name | Type |
---|---|
_attrName | string |
_newValue | IValue |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:212
getProxyAttr โ
โธ getProxyAttr(_attrName
): IValue
Parameters โ
Name | Type |
---|---|
_attrName | string |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:214
focus โ
โธ focus(_value?
): void
Parameters โ
Name | Type |
---|---|
_value? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:234
updateState โ
โธ updateState(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:236
updateLayout โ
โธ updateLayout(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:241
forceUpdate โ
โธ forceUpdate(attrName?
): void
Parameters โ
Name | Type |
---|---|
attrName? | string |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:245
__updateWorldMatrix โ
โธ __updateWorldMatrix(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:259
__updateLocalMatrix โ
โธ __updateLocalMatrix(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:261
__updateWorldBounds โ
โธ __updateWorldBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:267
__updateLocalBounds โ
โธ __updateLocalBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:269
__updateLocalBoxBounds โ
โธ __updateLocalBoxBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
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 โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:280
__updateContentBounds โ
โธ __updateContentBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:282
__updateStrokeBounds โ
โธ __updateStrokeBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:284
__updateRenderBounds โ
โธ __updateRenderBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:286
__updateAutoLayout โ
โธ __updateAutoLayout(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:289
__updateFlowLayout โ
โธ __updateFlowLayout(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:291
__updateNaturalSize โ
โธ __updateNaturalSize(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:293
__updateStrokeSpread โ
โธ __updateStrokeSpread(): number
Returns โ
number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:296
__updateRenderSpread โ
โธ __updateRenderSpread(): number
Returns โ
number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:298
__updateEraser โ
โธ __updateEraser(value?
): void
Parameters โ
Name | Type |
---|---|
value? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:305
__renderEraser โ
โธ __renderEraser(canvas
, options
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:309
__updateMask โ
โธ __updateMask(value?
): void
Parameters โ
Name | Type |
---|---|
value? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:317
__renderMask โ
โธ __renderMask(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:323
__getNowWorld โ
โธ __getNowWorld(options
): IMatrixWithBoundsScaleData
Parameters โ
Name | Type |
---|---|
options | IRenderOptions |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:331
getTransform โ
โธ getTransform(relative?
): IMatrixData
Parameters โ
Name | Type |
---|---|
relative? | ILeaf | ILocationType |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:343
getBounds โ
โธ getBounds(type?
, relative?
): IBoundsData
Parameters โ
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:348
getLayoutBounds โ
โธ getLayoutBounds(type?
, relative?
, unscale?
): ILayoutBoundsData
Parameters โ
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
unscale? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:352
getLayoutPoints โ
โธ getLayoutPoints(type?
, relative?
): IPointData
[]
Parameters โ
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:356
getWorldBounds โ
โธ getWorldBounds(inner
, relative?
, change?
): IBoundsData
Parameters โ
Name | Type |
---|---|
inner | IBoundsData |
relative? | ILeaf |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:361
worldToLocal โ
โธ worldToLocal(world
, to?
, distance?
, relative?
): void
Parameters โ
Name | Type |
---|---|
world | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:369
localToWorld โ
โธ localToWorld(local
, to?
, distance?
, relative?
): void
Parameters โ
Name | Type |
---|---|
local | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:377
worldToInner โ
โธ worldToInner(world
, to?
, distance?
, relative?
): void
Parameters โ
Name | Type |
---|---|
world | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:385
innerToWorld โ
โธ innerToWorld(inner
, to?
, distance?
, relative?
): void
Parameters โ
Name | Type |
---|---|
inner | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:393
getBoxPoint โ
โธ getBoxPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:400
getBoxPointByInner โ
โธ getBoxPointByInner(inner
, _relative?
, _distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
inner | IPointData |
_relative? | ILeaf |
_distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:404
getInnerPoint โ
โธ getInnerPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:410
getInnerPointByBox โ
โธ getInnerPointByBox(box
, _relative?
, _distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
box | IPointData |
_relative? | ILeaf |
_distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:416
getInnerPointByLocal โ
โธ getInnerPointByLocal(local
, _relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
local | IPointData |
_relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:422
getLocalPoint โ
โธ getLocalPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:426
getLocalPointByInner โ
โธ getLocalPointByInner(inner
, _relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
inner | IPointData |
_relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:432
getPagePoint โ
โธ getPagePoint(world
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:436
getWorldPoint โ
โธ getWorldPoint(inner
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
inner | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:441
getWorldPointByBox โ
โธ getWorldPointByBox(box
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
box | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:447
getWorldPointByLocal โ
โธ getWorldPointByLocal(local
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
local | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:451
getWorldPointByPage โ
โธ getWorldPointByPage(page
, relative?
, distance?
, change?
): IPointData
Parameters โ
Name | Type |
---|---|
page | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:457
setTransform โ
โธ setTransform(matrix
, resize?
): void
Parameters โ
Name | Type |
---|---|
matrix | IMatrixData |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:465
transform โ
โธ transform(matrix
, resize?
): void
Parameters โ
Name | Type |
---|---|
matrix | IMatrixData |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:469
move โ
โธ move(x
, y?
): void
Parameters โ
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:473
moveInner โ
โธ moveInner(x
, y?
): void
Parameters โ
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:478
scaleOf โ
โธ scaleOf(origin
, scaleX
, scaleY?
, resize?
): void
Parameters โ
Name | Type |
---|---|
origin | IPointData | IDirection |
scaleX | number |
scaleY? | number |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:482
rotateOf โ
โธ rotateOf(origin
, rotation
): void
Parameters โ
Name | Type |
---|---|
origin | IPointData | IDirection |
rotation | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:486
skewOf โ
โธ skewOf(origin
, skewX
, skewY?
, resize?
): void
Parameters โ
Name | Type |
---|---|
origin | IPointData | IDirection |
skewX | number |
skewY? | number |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:490
transformWorld โ
โธ transformWorld(worldTransform?
, resize?
): void
Parameters โ
Name | Type |
---|---|
worldTransform? | IMatrixData |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:495
moveWorld โ
โธ moveWorld(x
, y?
): void
Parameters โ
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:499
scaleOfWorld โ
โธ scaleOfWorld(worldOrigin
, scaleX
, scaleY?
, resize?
): void
Parameters โ
Name | Type |
---|---|
worldOrigin | IPointData |
scaleX | number |
scaleY? | number |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:503
rotateOfWorld โ
โธ rotateOfWorld(worldOrigin
, rotation
): void
Parameters โ
Name | Type |
---|---|
worldOrigin | IPointData |
rotation | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:507
skewOfWorld โ
โธ skewOfWorld(worldOrigin
, skewX
, skewY?
, resize?
): void
Parameters โ
Name | Type |
---|---|
worldOrigin | IPointData |
skewX | number |
skewY? | number |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:511
flip โ
โธ flip(axis
): void
Parameters โ
Name | Type |
---|---|
axis | IAxis |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:515
scaleResize โ
โธ scaleResize(scaleX
, scaleY?
, _noResize?
): void
Parameters โ
Name | Type | Default value |
---|---|---|
scaleX | number | undefined |
scaleY | number | scaleX |
_noResize? | boolean | undefined |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:522
__scaleResize โ
โธ __scaleResize(_scaleX
, _scaleY
): void
Parameters โ
Name | Type |
---|---|
_scaleX | number |
_scaleY | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:527
resizeWidth โ
โธ resizeWidth(_width
): void
Parameters โ
Name | Type |
---|---|
_width | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:530
resizeHeight โ
โธ resizeHeight(_height
): void
Parameters โ
Name | Type |
---|---|
_height | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:532
__hitWorld โ
โธ __hitWorld(_point
): boolean
Parameters โ
Name | Type |
---|---|
_point | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:537
__hit โ
โธ __hit(_local
): boolean
Parameters โ
Name | Type |
---|---|
_local | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:539
__hitFill โ
โธ __hitFill(_inner
): boolean
Parameters โ
Name | Type |
---|---|
_inner | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:541
__hitStroke โ
โธ __hitStroke(_inner
, _strokeWidth
): boolean
Parameters โ
Name | Type |
---|---|
_inner | IRadiusPointData |
_strokeWidth | number |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:543
__hitPixel โ
โธ __hitPixel(_inner
): boolean
Parameters โ
Name | Type |
---|---|
_inner | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:545
__drawHitPath โ
โธ __drawHitPath(_canvas
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:547
__updateHitCanvas โ
โธ __updateHitCanvas(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:549
__drawFast โ
โธ __drawFast(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:558
__draw โ
โธ __draw(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:560
__clip โ
โธ __clip(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:563
__renderShape โ
โธ __renderShape(_canvas
, _options
, _ignoreFill?
, _ignoreStroke?
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
_ignoreFill? | boolean |
_ignoreStroke? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:565
__updateWorldOpacity โ
โธ __updateWorldOpacity(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:568
__updateChange โ
โธ __updateChange(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:570
__updatePath โ
โธ __updatePath(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:581
getMotionPathData โ
โธ getMotionPathData(): IMotionPathData
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:590
getMotionPoint โ
โธ getMotionPoint(_motionDistance
): IRotationPointData
Parameters โ
Name | Type |
---|---|
_motionDistance | number | IUnitData |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:594
getMotionTotal โ
โธ getMotionTotal(): number
Returns โ
number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:598
__updateMotionPath โ
โธ __updateMotionPath(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:602
__runAnimation โ
โธ __runAnimation(_type
, _complete?
): void
Parameters โ
Name | Type |
---|---|
_type | "in" | "out" |
_complete? | IFunction |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:608
__updateSortChildren โ
โธ __updateSortChildren(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:613
dropTo โ
โธ dropTo(parent
, index?
, resize?
): void
Parameters โ
Name | Type |
---|---|
parent | ILeaf |
index? | number |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:621
on โ
โธ on(_type
, _listener?
, _options?
): void
Parameters โ
Name | Type |
---|---|
_type | string | string [] | IEventMap |
_listener? | IFunction |
_options? | IEventOption |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:630
off โ
โธ off(_type?
, _listener?
, _options?
): void
Parameters โ
Name | Type |
---|---|
_type? | string | string [] |
_listener? | IFunction |
_options? | IEventOption |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:632
on_ โ
โธ on_(_type
, _listener
, _bind?
, _options?
): IEventListenerId
Parameters โ
Name | Type |
---|---|
_type | string | string [] |
_listener | IFunction |
_bind? | IObject |
_options? | IEventOption |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:634
off_ โ
โธ off_(_id
): void
Parameters โ
Name | Type |
---|---|
_id | IEventListenerId | IEventListenerId [] |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:636
once โ
โธ once(_type
, _listener
, _capture?
): void
Parameters โ
Name | Type |
---|---|
_type | string | string [] |
_listener | IFunction |
_capture? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:638
emit โ
โธ emit(_type
, _event?
, _capture?
): void
Parameters โ
Name | Type |
---|---|
_type | string |
_event? | IObject | IEvent |
_capture? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:640
emitEvent โ
โธ emitEvent(_event?
, _capture?
): void
Parameters โ
Name | Type |
---|---|
_event? | IEvent |
_capture? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:642
hasEvent โ
โธ hasEvent(_type
, _capture?
): boolean
Parameters โ
Name | Type |
---|---|
_type | string |
_capture? | boolean |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:644
changeAttr โ
โธ changeAttr(attrName
, defaultValue
, fn?
): void
Parameters โ
Name | Type |
---|---|
attrName | string |
defaultValue | IValue |
fn? | IAttrDecorator |
Returns โ
void
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:648
addAttr โ
โธ addAttr(attrName
, defaultValue
, fn?
): void
Parameters โ
Name | Type |
---|---|
attrName | string |
defaultValue | IValue |
fn? | IAttrDecorator |
Returns โ
void
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:652
__emitLifeEvent โ
โธ __emitLifeEvent(type
): void
Parameters โ
Name | Type |
---|---|
type | string |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/display/src/Leaf.ts:658
init โ
โธ init(userConfig?
, parentApp?
): void
Parameters โ
Name | Type |
---|---|
userConfig? | IAppConfig |
parentApp? | IApp |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
__setApp โ
โธ __setApp(): void
Returns โ
void
Overrides โ
Defined in โ
start โ
โธ start(): void
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
stop โ
โธ stop(): void
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
unlockLayout โ
โธ unlockLayout(): void
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
lockLayout โ
โธ lockLayout(): void
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
forceRender โ
โธ forceRender(bounds?
): void
Parameters โ
Name | Type |
---|---|
bounds? | IBoundsData |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
addLeafer โ
โธ addLeafer(merge?
): Leafer
Parameters โ
Name | Type |
---|---|
merge? | ILeaferConfig |
Returns โ
Defined in โ
add โ
โธ add(leafer
, index?
): void
Parameters โ
Name | Type |
---|---|
leafer | ILeafer |
index? | number |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
__onPropertyChange โ
โธ __onPropertyChange(): void
Returns โ
void
Defined in โ
__onCreated โ
โธ __onCreated(): void
Returns โ
void
Overrides โ
Defined in โ
ui/packages/app/src/App.ts:100
__onReady โ
โธ __onReady(): void
Returns โ
void
Overrides โ
Defined in โ
ui/packages/app/src/App.ts:104
__onViewReady โ
โธ __onViewReady(): void
Returns โ
void
Overrides โ
Defined in โ
ui/packages/app/src/App.ts:108
__onChildRenderEnd โ
โธ __onChildRenderEnd(e
): void
Parameters โ
Name | Type |
---|---|
e | RenderEvent |
Returns โ
void
Defined in โ
ui/packages/app/src/App.ts:112
__render โ
โธ __render(canvas
, options
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
ui/packages/app/src/App.ts:117
__onResize โ
โธ __onResize(event
): void
Parameters โ
Name | Type |
---|---|
event | IResizeEvent |
Returns โ
void
Overrides โ
Defined in โ
ui/packages/app/src/App.ts:125
__checkUpdateLayout โ
โธ __checkUpdateLayout(): void
Returns โ
void
Overrides โ
Defined in โ
ui/packages/app/src/App.ts:130
__getChildConfig โ
โธ __getChildConfig(userConfig?
): ILeaferConfig
Parameters โ
Name | Type |
---|---|
userConfig? | ILeaferConfig |
Returns โ
Defined in โ
ui/packages/app/src/App.ts:134
__listenChildEvents โ
โธ __listenChildEvents(leafer
): void
Parameters โ
Name | Type |
---|---|
leafer | ILeaferBase |
Returns โ
void
Defined in โ
ui/packages/app/src/App.ts:146
reset โ
โธ reset(data?
): void
Parameters โ
Name | Type |
---|---|
data? | IGroupInputData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:27
__setBranch โ
โธ __setBranch(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:32
toJSON โ
โธ toJSON(options?
): IUIJSONData
Parameters โ
Name | Type |
---|---|
options? | IJSONOptions |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:54
pick โ
โธ pick(_hitPoint
, _options?
): IPickResult
Parameters โ
Name | Type |
---|---|
_hitPoint | IPointData |
_options? | IPickOptions |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:63
addAt โ
โธ addAt(child
, index
): void
Parameters โ
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
index | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:68
addAfter โ
โธ addAfter(child
, after
): void
Parameters โ
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
after | IUI |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:72
addBefore โ
โธ addBefore(child
, before
): void
Parameters โ
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
before | IUI |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:76
addMany โ
โธ addMany(..._children
): void
Parameters โ
Name | Type |
---|---|
..._children | IUI [] | IUIInputData [] |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:84
remove โ
โธ remove(_child?
, _destroy?
): void
Parameters โ
Name | Type |
---|---|
_child? | string | number | IFindCondition | IUI | IFindUIMethod |
_destroy? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:86
removeAll โ
โธ removeAll(_destroy?
): void
Parameters โ
Name | Type |
---|---|
_destroy? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:88
clear โ
โธ clear(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Group.ts:90
onInit โ
โธ onInit(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:158
initType โ
โธ initType(_type
): void
Parameters โ
Name | Type |
---|---|
_type | ILeaferType |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:160
set โ
โธ set(data
): void
Parameters โ
Name | Type |
---|---|
data | IUIInputData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:162
resize โ
โธ resize(size
): void
Parameters โ
Name | Type |
---|---|
size | IScreenSizeData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:195
updateCursor โ
โธ updateCursor(cursor?
): void
Parameters โ
Name | Type |
---|---|
cursor? | ICursorType |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:205
updateLazyBounds โ
โธ updateLazyBounds(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:210
__doResize โ
โธ __doResize(size
): void
Parameters โ
Name | Type |
---|---|
size | IScreenSizeData |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:214
__bindApp โ
โธ __bindApp(app
): void
Parameters โ
Name | Type |
---|---|
app | IApp |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:232
__setLeafer โ
โธ __setLeafer(leafer
): void
Parameters โ
Name | Type |
---|---|
leafer | ILeafer |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:240
__checkAutoLayout โ
โธ __checkAutoLayout(config
, parentApp?
): void
Parameters โ
Name | Type |
---|---|
config | ILeaferConfig |
parentApp? | IApp |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:245
__setAttr โ
โธ __setAttr(attrName
, newValue
): boolean
Parameters โ
Name | Type |
---|---|
attrName | string |
newValue | IValue |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:252
__getAttr โ
โธ __getAttr(attrName
): IValue
Parameters โ
Name | Type |
---|---|
attrName | string |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:269
__changeCanvasSize โ
โธ __changeCanvasSize(attrName
, newValue
): void
Parameters โ
Name | Type |
---|---|
attrName | string |
newValue | number |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:274
__changeFill โ
โธ __changeFill(newValue
): void
Parameters โ
Name | Type |
---|---|
newValue | string |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:281
__onNextRender โ
โธ __onNextRender(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:307
__checkViewCompleted โ
โธ __checkViewCompleted(emit?
): void
Parameters โ
Name | Type | Default value |
---|---|---|
emit | boolean | true |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:317
__onWatchData โ
โธ __onWatchData(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:327
waitInit โ
โธ waitInit(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:333
waitReady โ
โธ waitReady(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:339
waitViewReady โ
โธ waitViewReady(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:344
waitViewCompleted โ
โธ waitViewCompleted(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:349
nextRender โ
โธ nextRender(item
, bind?
, off?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
off? | "off" |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:356
zoom โ
โธ zoom(_zoomType
, _padding?
, _fixedScale?
): IBoundsData
Parameters โ
Name | Type |
---|---|
_zoomType | IZoomType |
_padding? | IFourNumber |
_fixedScale? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:367
getValidMove โ
โธ getValidMove(moveX
, moveY
): IPointData
Parameters โ
Name | Type |
---|---|
moveX | number |
moveY | number |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:373
getValidScale โ
โธ getValidScale(changeScale
): number
Parameters โ
Name | Type |
---|---|
changeScale | number |
Returns โ
number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:374
getWorldPointByClient โ
โธ getWorldPointByClient(clientPoint
, updateClient?
): IPointData
Parameters โ
Name | Type |
---|---|
clientPoint | IClientPointData |
updateClient? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:377
getPagePointByClient โ
โธ getPagePointByClient(clientPoint
, updateClient?
): IPointData
Parameters โ
Name | Type |
---|---|
clientPoint | IClientPointData |
updateClient? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:381
updateClientBounds โ
โธ updateClientBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:385
receiveEvent โ
โธ receiveEvent(_event
): void
Parameters โ
Name | Type |
---|---|
_event | any |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:390
emitLeafer โ
โธ emitLeafer(type
): void
Parameters โ
Name | Type |
---|---|
type | string |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:397
__listenEvents โ
โธ __listenEvents(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:401
__removeListenEvents โ
โธ __removeListenEvents(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:415
destroy โ
โธ destroy(sync?
): void
Parameters โ
Name | Type |
---|---|
sync? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/Leafer.ts:420
get โ
โธ get(name?
): IValue
| IUIInputData
Parameters โ
Name | Type |
---|---|
name? | string | string [] | IUIInputData |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:385
createProxyData โ
โธ createProxyData(): IUIInputData
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:389
find โ
โธ find(_condition
, _options?
): IUI
[]
Parameters โ
Name | Type |
---|---|
_condition | string | number | IFindCondition | IFindUIMethod |
_options? | any |
Returns โ
IUI
[]
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:394
findTag โ
โธ findTag(tag
): IUI
[]
Parameters โ
Name | Type |
---|---|
tag | string | string [] |
Returns โ
IUI
[]
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:396
findOne โ
โธ findOne(_condition
, _options?
): IUI
Parameters โ
Name | Type |
---|---|
_condition | string | number | IFindCondition | IFindUIMethod |
_options? | any |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:398
findId โ
โธ findId(id
): IUI
Parameters โ
Name | Type |
---|---|
id | string | number |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:400
getPath โ
โธ getPath(curve?
, pathForRender?
): IPathCommandData
Parameters โ
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:405
getPathString โ
โธ getPathString(curve?
, pathForRender?
, floatLength?
): string
Parameters โ
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
floatLength? | number |
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:412
load โ
โธ load(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:417
__onUpdateSize โ
โธ __onUpdateSize(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:421
__updateRenderPath โ
โธ __updateRenderPath(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:428
__drawRenderPath โ
โธ __drawRenderPath(canvas
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:436
__drawPath โ
โธ __drawPath(canvas
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:441
__drawPathByData โ
โธ __drawPathByData(drawer
, data
): void
Parameters โ
Name | Type |
---|---|
drawer | IPathDrawer |
data | IPathCommandData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:446
__drawPathByBox โ
โธ __drawPathByBox(drawer
): void
Parameters โ
Name | Type |
---|---|
drawer | IPathDrawer |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:450
animate โ
โธ animate(_keyframe?
, _options?
, _type?
, _isTemp?
): IAnimate
Parameters โ
Name | Type |
---|---|
_keyframe? | IAnimation | IUIInputData | IKeyframe [] |
_options? | ITransition |
_type? | IAnimateType |
_isTemp? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:460
killAnimate โ
โธ killAnimate(_type?
): void
Parameters โ
Name | Type |
---|---|
_type? | IAnimateType |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:464
export โ
โธ export(filename
, options?
): Promise
<IExportResult
>
Parameters โ
Name | Type |
---|---|
filename | string |
options? | number | boolean | IExportOptions |
Returns โ
Promise
<IExportResult
>
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:469
clone โ
โธ clone(data?
): IUI
Parameters โ
Name | Type |
---|---|
data? | IUIInputData |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:473
one โ
โธ one(data
, x?
, y?
, width?
, height?
): IUI
Parameters โ
Name | Type |
---|---|
data | IUIInputData |
x? | number |
y? | number |
width? | number |
height? | number |
Returns โ
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:479
registerUI โ
โธ registerUI(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:483
registerData โ
โธ registerData(data
): void
Parameters โ
Name | Type |
---|---|
data | IUIData |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:487
setEditConfig โ
โธ setEditConfig(_config
): void
Parameters โ
Name | Type |
---|---|
_config | IEditorConfig | IEditorConfigFunction |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:494
setEditOuter โ
โธ setEditOuter(_toolName
): void
Parameters โ
Name | Type |
---|---|
_toolName | string | IEditToolFunction |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/display/src/UI.ts:496
setEditInner โ
โธ setEditInner(_editorName
): void
Parameters โ
Name | Type |
---|---|
_editorName | string | IEditToolFunction |
Returns โ
void