Class: EditSelect â
Hierarchy â
âŗ
EditSelect
Implements â
Table of contents â
Constructors â
Properties â
- editor
- hoverStroker
- targetStroker
- bounds
- selectArea
- originList
- needRemoveItem
- waitSelect
- __eventIds
- innerId
- syncEventer
- lockNormalStyle
- __layout
- __world
- __local
- __nowWorld
- __cameraWorld
- __worldOpacity
- __level
- __tempNumber
- __hasAutoLayout
- __hasMask
- __hasEraser
- __hitCanvas
- __captureMap
- __bubbleMap
- noBounds
- destroyed
- __
- children
- proxyData
- __proxyData
- leafer
- parent
- 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
- pixelRatio
- 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
- motionPrecision
- motion
- motionRotation
- states
- state
- selected
- disabled
- normalStyle
- hoverStyle
- pressStyle
- focusStyle
- selectedStyle
- disabledStyle
- button
- data
- __animate
Accessors â
- dragging
- running
- isMoveMode
- tag
- innerName
- __DataProcessor
- __LayoutProcessor
- leaferIsCreated
- leaferIsReady
- isLeafer
- isBranchLeaf
- __localMatrix
- __localBoxBounds
- worldTransform
- localTransform
- boxBounds
- renderBounds
- worldBoxBounds
- worldStrokeBounds
- worldRenderBounds
- worldOpacity
- __worldFlipped
- __onlyHitMask
- __ignoreHitWorld
- __inLazyBounds
- pathInputed
- event
- __tag
- isBranch
- app
- isFrame
- scale
- pen
- editConfig
- editOuter
- editInner
Methods â
- onHover
- onSelect
- update
- onPointerMove
- onBeforeDown
- onTap
- checkAndSelect
- onDragStart
- onDrag
- onDragEnd
- onAutoMove
- allow
- allowDrag
- allowSelect
- findDeepOne
- findUI
- isMultipleSelect
- __listenEvents
- __removeListenEvents
- destroy
- resetCustom
- waitParent
- waitLeafer
- nextRender
- removeNextRender
- __bindLeafer
- setAttr
- getAttr
- getComputedAttr
- toString
- toSVG
- __SVG
- toHTML
- __setAttr
- __getAttr
- setProxyAttr
- getProxyAttr
- focus
- updateState
- updateLayout
- forceUpdate
- forceRender
- __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
- __render
- __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
- reset
- __setBranch
- set
- toJSON
- pick
- addAt
- addAfter
- addBefore
- add
- addMany
- remove
- removeAll
- clear
- 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 EditSelect(editor
): EditSelect
Parameters â
Name | Type |
---|---|
editor | IEditor |
Returns â
Overrides â
Defined in â
in/packages/editor/src/display/EditSelect.ts:36
Properties â
editor â
âĸ editor: IEditor
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:17
hoverStroker â
âĸ hoverStroker: IStroker
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:23
targetStroker â
âĸ targetStroker: IStroker
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:24
bounds â
âĸ bounds: IBounds
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:26
selectArea â
âĸ selectArea: ISelectArea
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:27
originList â
âĸ Protected
originList: ILeafList
Defined in â
in/packages/editor/src/display/EditSelect.ts:29
needRemoveItem â
âĸ Protected
needRemoveItem: IUI
Defined in â
in/packages/editor/src/display/EditSelect.ts:30
waitSelect â
âĸ Protected
waitSelect: IFunction
Defined in â
in/packages/editor/src/display/EditSelect.ts:32
__eventIds â
âĸ Protected
__eventIds: IEventListenerId
[] = []
Defined in â
in/packages/editor/src/display/EditSelect.ts:34
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
__ â
âĸ __: IGroupData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/Group.ts:19
children â
âĸ children: IUI
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/Group.ts:21
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
parent â
âĸ Optional
parent: IGroup
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:27
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
pixelRatio â
âĸ Optional
pixelRatio: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:136
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:173
autoBox â
âĸ Optional
autoBox: IAutoBoxData
| IConstraint
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:175
widthRange â
âĸ Optional
widthRange: IRangeSize
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:178
heightRange â
âĸ Optional
heightRange: IRangeSize
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:181
draggable â
âĸ Optional
draggable: boolean
| IAxis
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:186
dragBounds â
âĸ Optional
dragBounds: "parent"
| IBoundsData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:189
editable â
âĸ Optional
editable: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:193
hittable â
âĸ Optional
hittable: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:198
hitFill â
âĸ Optional
hitFill: IHitType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:201
hitStroke â
âĸ Optional
hitStroke: IHitType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:204
hitBox â
âĸ Optional
hitBox: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:207
hitChildren â
âĸ Optional
hitChildren: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:210
hitSelf â
âĸ Optional
hitSelf: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:213
hitRadius â
âĸ Optional
hitRadius: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:216
cursor â
âĸ Optional
cursor: ICursorType
| ICursorType
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:219
fill â
âĸ Optional
fill: IFill
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:227
stroke â
âĸ Optional
stroke: IStroke
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:232
strokeAlign â
âĸ Optional
strokeAlign: IStrokeAlign
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:235
strokeWidth â
âĸ Optional
strokeWidth: string
| IFourNumber
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:238
strokeWidthFixed â
âĸ Optional
strokeWidthFixed: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:241
strokeCap â
âĸ Optional
strokeCap: IStrokeCap
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:244
strokeJoin â
âĸ Optional
strokeJoin: IStrokeJoin
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:247
dashPattern â
âĸ Optional
dashPattern: string
| number
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:250
dashOffset â
âĸ Optional
dashOffset: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:253
miterLimit â
âĸ Optional
miterLimit: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:256
startArrow â
âĸ Optional
startArrow: IArrowType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:261
endArrow â
âĸ Optional
endArrow: IArrowType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:263
cornerRadius â
âĸ Optional
cornerRadius: string
| IFourNumber
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:268
cornerSmoothing â
âĸ Optional
cornerSmoothing: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:271
shadow â
âĸ Optional
shadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:276
innerShadow â
âĸ Optional
innerShadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:279
blur â
âĸ Optional
blur: number
| IBlurEffect
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:282
backgroundBlur â
âĸ Optional
backgroundBlur: number
| IBlurEffect
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:285
grayscale â
âĸ Optional
grayscale: number
| IGrayscaleEffect
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:288
filter â
âĸ Optional
filter: IObject
| IObject
[]
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:290
animation â
âĸ Optional
animation: IAnimation
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:295
animationOut â
âĸ Optional
animationOut: IAnimation
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:297
transition â
âĸ Optional
transition: ITransition
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:300
transitionOut â
âĸ Optional
transitionOut: ITransition
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:302
motionPath â
âĸ Optional
motionPath: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:307
motionPrecision â
âĸ Optional
motionPrecision: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:309
motion â
âĸ Optional
motion: number
| IUnitData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:312
motionRotation â
âĸ Optional
motionRotation: number
| boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:314
states â
âĸ Optional
states: IStates
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:319
state â
âĸ Optional
state: string
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:321
selected â
âĸ Optional
selected: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:324
disabled â
âĸ Optional
disabled: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:326
normalStyle â
âĸ Optional
normalStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:329
hoverStyle â
âĸ Optional
hoverStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:331
pressStyle â
âĸ Optional
pressStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:333
focusStyle â
âĸ Optional
focusStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:335
selectedStyle â
âĸ Optional
selectedStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:337
disabledStyle â
âĸ Optional
disabledStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:339
button â
âĸ Optional
button: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:342
data â
âĸ data: IObject
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:347
__animate â
âĸ Optional
__animate: IAnimate
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:353
Accessors â
dragging â
âĸ get
dragging(): boolean
Returns â
boolean
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:19
running â
âĸ get
running(): boolean
Returns â
boolean
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:20
isMoveMode â
âĸ get
isMoveMode(): boolean
Returns â
boolean
Defined in â
in/packages/editor/src/display/EditSelect.ts:21
tag â
âĸ get
tag(): string
Returns â
string
Implementation of â
Inherited from â
Group.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 â
Group.tag
Defined in â
leafer/packages/display/src/Leaf.ts:26
innerName â
âĸ get
innerName(): string
Returns â
string
Implementation of â
Inherited from â
Group.innerName
Defined in â
leafer/packages/display/src/Leaf.ts:31
__DataProcessor â
âĸ get
__DataProcessor(): typeof LeafData
Returns â
typeof LeafData
Implementation of â
Inherited from â
Group.__DataProcessor
Defined in â
leafer/packages/display/src/Leaf.ts:33
__LayoutProcessor â
âĸ get
__LayoutProcessor(): typeof LeafLayout
Returns â
typeof LeafLayout
Implementation of â
Inherited from â
Group.__LayoutProcessor
Defined in â
leafer/packages/display/src/Leaf.ts:34
leaferIsCreated â
âĸ get
leaferIsCreated(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.leaferIsCreated
Defined in â
leafer/packages/display/src/Leaf.ts:39
leaferIsReady â
âĸ get
leaferIsReady(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.leaferIsReady
Defined in â
leafer/packages/display/src/Leaf.ts:40
isLeafer â
âĸ get
isLeafer(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.isLeafer
Defined in â
leafer/packages/display/src/Leaf.ts:42
isBranchLeaf â
âĸ get
isBranchLeaf(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.isBranchLeaf
Defined in â
leafer/packages/display/src/Leaf.ts:44
__localMatrix â
âĸ get
__localMatrix(): IMatrixData
Returns â
Implementation of â
Inherited from â
Group.__localMatrix
Defined in â
leafer/packages/display/src/Leaf.ts:58
__localBoxBounds â
âĸ get
__localBoxBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
Group.__localBoxBounds
Defined in â
leafer/packages/display/src/Leaf.ts:59
worldTransform â
âĸ get
worldTransform(): IMatrixWithScaleData
Returns â
Implementation of â
Inherited from â
Group.worldTransform
Defined in â
leafer/packages/display/src/Leaf.ts:64
localTransform â
âĸ get
localTransform(): IMatrixData
Returns â
Implementation of â
Inherited from â
Group.localTransform
Defined in â
leafer/packages/display/src/Leaf.ts:65
boxBounds â
âĸ get
boxBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
Group.boxBounds
Defined in â
leafer/packages/display/src/Leaf.ts:68
renderBounds â
âĸ get
renderBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
Group.renderBounds
Defined in â
leafer/packages/display/src/Leaf.ts:69
worldBoxBounds â
âĸ get
worldBoxBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
Group.worldBoxBounds
Defined in â
leafer/packages/display/src/Leaf.ts:70
worldStrokeBounds â
âĸ get
worldStrokeBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
Group.worldStrokeBounds
Defined in â
leafer/packages/display/src/Leaf.ts:71
worldRenderBounds â
âĸ get
worldRenderBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
Group.worldRenderBounds
Defined in â
leafer/packages/display/src/Leaf.ts:72
worldOpacity â
âĸ get
worldOpacity(): number
Returns â
number
Implementation of â
Inherited from â
Group.worldOpacity
Defined in â
leafer/packages/display/src/Leaf.ts:75
__worldFlipped â
âĸ get
__worldFlipped(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.__worldFlipped
Defined in â
leafer/packages/display/src/Leaf.ts:80
__onlyHitMask â
âĸ get
__onlyHitMask(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.__onlyHitMask
Defined in â
leafer/packages/display/src/Leaf.ts:87
__ignoreHitWorld â
âĸ get
__ignoreHitWorld(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.__ignoreHitWorld
Defined in â
leafer/packages/display/src/Leaf.ts:88
__inLazyBounds â
âĸ get
__inLazyBounds(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.__inLazyBounds
Defined in â
leafer/packages/display/src/Leaf.ts:89
pathInputed â
âĸ get
pathInputed(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.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 â
Group.event
Defined in â
leafer/packages/display/src/Leaf.ts:94
__tag â
âĸ get
__tag(): string
Returns â
string
Implementation of â
Inherited from â
Group.__tag
Defined in â
ui/packages/display/src/Group.ts:14
isBranch â
âĸ get
isBranch(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.isBranch
Defined in â
ui/packages/display/src/Group.ts:16
app â
âĸ get
app(): ILeafer
Returns â
Implementation of â
Inherited from â
Group.app
Defined in â
ui/packages/display/src/UI.ts:24
isFrame â
âĸ get
isFrame(): boolean
Returns â
boolean
Implementation of â
Inherited from â
Group.isFrame
Defined in â
ui/packages/display/src/UI.ts:32
scale â
âĸ get
scale(): number
| IPointData
Returns â
number
| IPointData
Implementation of â
Inherited from â
Group.scale
Defined in â
ui/packages/display/src/UI.ts:351
âĸ set
scale(value
): void
Parameters â
Name | Type |
---|---|
value | number | IPointData |
Returns â
void
Implementation of â
Inherited from â
Group.scale
Defined in â
ui/packages/display/src/UI.ts:350
pen â
âĸ get
pen(): IPathCreator
Returns â
Implementation of â
Inherited from â
Group.pen
Defined in â
ui/packages/display/src/UI.ts:355
editConfig â
âĸ get
editConfig(): IEditorConfig
Returns â
Implementation of â
Inherited from â
Group.editConfig
Defined in â
ui/packages/display/src/UI.ts:365
editOuter â
âĸ get
editOuter(): string
Returns â
string
Implementation of â
Inherited from â
Group.editOuter
Defined in â
ui/packages/display/src/UI.ts:367
editInner â
âĸ get
editInner(): string
Returns â
string
Implementation of â
Inherited from â
Group.editInner
Defined in â
ui/packages/display/src/UI.ts:369
Methods â
onHover â
⸠onHover(): void
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:45
onSelect â
⸠onSelect(): void
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:55
update â
⸠update(): void
Returns â
void
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:64
onPointerMove â
⸠onPointerMove(e
): void
Parameters â
Name | Type |
---|---|
e | PointerEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:71
onBeforeDown â
⸠onBeforeDown(e
): void
Parameters â
Name | Type |
---|---|
e | PointerEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:81
onTap â
⸠onTap(e
): void
Parameters â
Name | Type |
---|---|
e | PointerEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:94
checkAndSelect â
⸠checkAndSelect(e
): void
Parameters â
Name | Type |
---|---|
e | PointerEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:111
onDragStart â
⸠onDragStart(e
): void
Parameters â
Name | Type |
---|---|
e | DragEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:136
onDrag â
⸠onDrag(e
): void
Parameters â
Name | Type |
---|---|
e | DragEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:154
onDragEnd â
⸠onDragEnd(e
): void
Parameters â
Name | Type |
---|---|
e | DragEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:189
onAutoMove â
⸠onAutoMove(e
): void
Parameters â
Name | Type |
---|---|
e | MoveEvent |
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:195
allow â
⸠allow(target
): boolean
Parameters â
Name | Type |
---|---|
target | ILeaf |
Returns â
boolean
Defined in â
in/packages/editor/src/display/EditSelect.ts:205
allowDrag â
⸠allowDrag(e
): boolean
Parameters â
Name | Type |
---|---|
e | DragEvent |
Returns â
boolean
Defined in â
in/packages/editor/src/display/EditSelect.ts:209
allowSelect â
⸠allowSelect(e
): boolean
Parameters â
Name | Type |
---|---|
e | IPointerEvent |
Returns â
boolean
Defined in â
in/packages/editor/src/display/EditSelect.ts:217
findDeepOne â
⸠findDeepOne(e
): IUI
Parameters â
Name | Type |
---|---|
e | PointerEvent |
Returns â
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:221
findUI â
⸠findUI(e
): IUI
Parameters â
Name | Type |
---|---|
e | PointerEvent |
Returns â
Implementation of â
Defined in â
in/packages/editor/src/display/EditSelect.ts:226
isMultipleSelect â
⸠isMultipleSelect(e
): boolean
Parameters â
Name | Type |
---|---|
e | IPointerEvent |
Returns â
boolean
Defined in â
in/packages/editor/src/display/EditSelect.ts:230
__listenEvents â
⸠__listenEvents(): void
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:234
__removeListenEvents â
⸠__removeListenEvents(): void
Returns â
void
Defined in â
in/packages/editor/src/display/EditSelect.ts:260
destroy â
⸠destroy(): void
Returns â
void
Implementation of â
Overrides â
Defined in â
in/packages/editor/src/display/EditSelect.ts:267
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
nextRender â
⸠nextRender(item
, bind?
, off?
): void
Parameters â
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
off? | "off" |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:149
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
__setAttr â
⸠__setAttr(_attrName
, _newValue
): boolean
Parameters â
Name | Type |
---|---|
_attrName | string |
_newValue | IValue |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:208
__getAttr â
⸠__getAttr(_attrName
): IValue
Parameters â
Name | Type |
---|---|
_attrName | string |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:210
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
forceRender â
⸠forceRender(_bounds?
, _sync?
): void
Parameters â
Name | Type |
---|---|
_bounds? | IBoundsData |
_sync? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:253
__updateWorldMatrix â
⸠__updateWorldMatrix(): void
Returns â
void
Implementation of â
IEditSelect.__updateWorldMatrix
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:259
__updateLocalMatrix â
⸠__updateLocalMatrix(): void
Returns â
void
Implementation of â
IEditSelect.__updateLocalMatrix
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:261
__updateWorldBounds â
⸠__updateWorldBounds(): void
Returns â
void
Implementation of â
IEditSelect.__updateWorldBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:267
__updateLocalBounds â
⸠__updateLocalBounds(): void
Returns â
void
Implementation of â
IEditSelect.__updateLocalBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:269
__updateLocalBoxBounds â
⸠__updateLocalBoxBounds(): void
Returns â
void
Implementation of â
IEditSelect.__updateLocalBoxBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:272
__updateLocalStrokeBounds â
⸠__updateLocalStrokeBounds(): void
Returns â
void
Implementation of â
IEditSelect.__updateLocalStrokeBounds
Inherited from â
Group.__updateLocalStrokeBounds
Defined in â
leafer/packages/display/src/Leaf.ts:274
__updateLocalRenderBounds â
⸠__updateLocalRenderBounds(): void
Returns â
void
Implementation of â
IEditSelect.__updateLocalRenderBounds
Inherited from â
Group.__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 â
IEditSelect.__updateContentBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:282
__updateStrokeBounds â
⸠__updateStrokeBounds(): void
Returns â
void
Implementation of â
IEditSelect.__updateStrokeBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:284
__updateRenderBounds â
⸠__updateRenderBounds(): void
Returns â
void
Implementation of â
IEditSelect.__updateRenderBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:286
__updateAutoLayout â
⸠__updateAutoLayout(): void
Returns â
void
Implementation of â
IEditSelect.__updateAutoLayout
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:289
__updateFlowLayout â
⸠__updateFlowLayout(): void
Returns â
void
Implementation of â
IEditSelect.__updateFlowLayout
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:291
__updateNaturalSize â
⸠__updateNaturalSize(): void
Returns â
void
Implementation of â
IEditSelect.__updateNaturalSize
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:293
__updateStrokeSpread â
⸠__updateStrokeSpread(): number
Returns â
number
Implementation of â
IEditSelect.__updateStrokeSpread
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:296
__updateRenderSpread â
⸠__updateRenderSpread(): number
Returns â
number
Implementation of â
IEditSelect.__updateRenderSpread
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 â
IEditSelect.getBoxPointByInner
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 â
IEditSelect.getInnerPointByBox
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 â
IEditSelect.getInnerPointByLocal
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 â
IEditSelect.getLocalPointByInner
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 â
IEditSelect.getWorldPointByBox
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 â
IEditSelect.getWorldPointByLocal
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 â
IEditSelect.getWorldPointByPage
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?
, transition?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | any |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:473
moveInner â
⸠moveInner(x
, y?
, transition?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | any |
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?
, transition?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | any |
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
__render â
⸠__render(_canvas
, _options
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:556
__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 â
IEditSelect.__updateWorldOpacity
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 â
IEditSelect.__updateMotionPath
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 â
IEditSelect.__updateSortChildren
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
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
set â
⸠set(data
, transition?
): void
Parameters â
Name | Type |
---|---|
data | IUIInputData |
transition? | ITransition | "temp" |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/Group.ts:39
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
add â
⸠add(_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:82
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
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:393
createProxyData â
⸠createProxyData(): IUIInputData
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:397
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:402
findTag â
⸠findTag(tag
): IUI
[]
Parameters â
Name | Type |
---|---|
tag | string | string [] |
Returns â
IUI
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:404
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:406
findId â
⸠findId(id
): IUI
Parameters â
Name | Type |
---|---|
id | string | number |
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:408
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:413
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:420
load â
⸠load(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:425
__onUpdateSize â
⸠__onUpdateSize(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:429
__updateRenderPath â
⸠__updateRenderPath(): void
Returns â
void
Implementation of â
IEditSelect.__updateRenderPath
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:436
__drawRenderPath â
⸠__drawRenderPath(canvas
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:444
__drawPath â
⸠__drawPath(canvas
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:449
__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:454
__drawPathByBox â
⸠__drawPathByBox(drawer
): void
Parameters â
Name | Type |
---|---|
drawer | IPathDrawer |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:458
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:468
killAnimate â
⸠killAnimate(_type?
): void
Parameters â
Name | Type |
---|---|
_type? | IAnimateType |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:472
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:477
clone â
⸠clone(data?
): IUI
Parameters â
Name | Type |
---|---|
data? | IUIInputData |
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:481
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:487
registerUI â
⸠registerUI(): void
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:491
registerData â
⸠registerData(data
): void
Parameters â
Name | Type |
---|---|
data | IUIData |
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:495
setEditConfig â
⸠setEditConfig(_config
): void
Parameters â
Name | Type |
---|---|
_config | IEditorConfig | IEditorConfigFunction |
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:502
setEditOuter â
⸠setEditOuter(_toolName
): void
Parameters â
Name | Type |
---|---|
_toolName | string | IEditToolFunction |
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:504
setEditInner â
⸠setEditInner(_editorName
): void
Parameters â
Name | Type |
---|---|
_editorName | string | IEditToolFunction |
Returns â
void