็ฎไฝไธญๆ
Class: Editor โ
Hierarchy โ
โณ
Editor
Implements โ
Table of contents โ
Constructors โ
Properties โ
- config
- mergeConfig
- mergedConfig
- target
- hoverTarget
- dimTarget
- leafList
- openedGroupList
- innerEditing
- resizeDirection
- simulateTarget
- editBox
- editTool
- innerEditor
- editToolList
- selector
- editMask
- targetChanged
- targetEventIds
- innerId
- syncEventer
- lockNormalStyle
- __layout
- __world
- __local
- __nowWorld
- __cameraWorld
- __worldOpacity
- __scrollWorld
- __level
- __tempNumber
- __hasAutoLayout
- __hasMask
- __hasEraser
- __hitCanvas
- __captureMap
- __bubbleMap
- __hasLocalEvent
- __hasWorldEvent
- destroyed
- __
- width
- height
- children
- topChildren
- childlessJSON
- proxyData
- __proxyData
- leafer
- parent
- zoomLayer
- id
- name
- className
- blendMode
- opacity
- visible
- locked
- dim
- dimskip
- bright
- zIndex
- mask
- eraser
- x
- y
- scaleX
- scaleY
- rotation
- skewX
- skewY
- offsetX
- offsetY
- scrollX
- scrollY
- origin
- around
- lazy
- pixelRatio
- renderSpread
- path
- windingRule
- closed
- flow
- padding
- gap
- flowAlign
- flowWrap
- itemBox
- inFlow
- autoWidth
- autoHeight
- lockRatio
- autoBox
- widthRange
- heightRange
- draggable
- dragBounds
- dragBoundsType
- 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
- placeholderStyle
- placeholderColor
- placeholderDelay
- button
- editConfig
- editOuter
- editInner
- data
- useFastShadow
- __box
- __animate
Accessors โ
- list
- dragHoverExclude
- editing
- groupOpening
- multiple
- single
- dragPoint
- dragging
- gesturing
- moving
- resizing
- rotating
- skewing
- element
- buttons
- targetLeafer
- tag
- innerName
- __DataProcessor
- __LayoutProcessor
- leaferIsCreated
- leaferIsReady
- isLeafer
- isBranchLeaf
- __localMatrix
- __localBoxBounds
- worldTransform
- localTransform
- scrollWorldTransform
- boxBounds
- renderBounds
- worldBoxBounds
- worldStrokeBounds
- worldRenderBounds
- worldOpacity
- __worldFlipped
- __onlyHitMask
- __ignoreHitWorld
- __inLazyBounds
- pathInputed
- event
- __tag
- isBranch
- app
- isFrame
- scale
- isAutoWidth
- isAutoHeight
- pen
Methods โ
- select
- cancel
- hasItem
- addItem
- removeItem
- shiftItem
- setDimOthers
- setBright
- update
- updateEditBox
- updateEditTool
- unloadEditTool
- getEditSize
- onMove
- onScale
- onRotate
- onSkew
- move
- scaleWithDrag
- scaleOf
- flip
- rotateOf
- skewOf
- checkTransform
- getWorldOrigin
- getChangedTransform
- group
- ungroup
- openGroup
- closeGroup
- checkOpenedGroups
- checkDeepSelect
- emitGroupEvent
- openInnerEditor
- closeInnerEditor
- emitInnerEvent
- lock
- unlock
- toTop
- toBottom
- onAppRenderStart
- onRenderStart
- onChildScroll
- listenTargetEvents
- removeTargetEvents
- destroy
- resetCustom
- waitParent
- waitLeafer
- nextRender
- removeNextRender
- __bindLeafer
- setAttr
- getAttr
- getComputedAttr
- toString
- toSVG
- __SVG
- toHTML
- __setAttr
- __getAttr
- setProxyAttr
- getProxyAttr
- focus
- updateState
- updateLayout
- forceUpdate
- forceRender
- __extraUpdate
- __updateWorldMatrix
- __updateLocalMatrix
- __updateWorldBounds
- __updateLocalBounds
- __updateLocalBoxBounds
- __updateLocalStrokeBounds
- __updateLocalRenderBounds
- __updateBoxBounds
- __updateContentBounds
- __updateStrokeBounds
- __updateRenderBounds
- __updateAutoLayout
- __updateFlowLayout
- __updateNaturalSize
- __updateStrokeSpread
- __updateRenderSpread
- __updateEraser
- __renderEraser
- __updateMask
- __renderMask
- __getNowWorld
- getClampRenderScale
- getRenderScaleData
- getTransform
- getBounds
- getLayoutBounds
- getLayoutPoints
- getWorldBounds
- worldToLocal
- localToWorld
- worldToInner
- innerToWorld
- getBoxPoint
- getBoxPointByInner
- getInnerPoint
- getInnerPointByBox
- getInnerPointByLocal
- getLocalPoint
- getLocalPointByInner
- getPagePoint
- getWorldPoint
- getWorldPointByBox
- getWorldPointByLocal
- getWorldPointByPage
- setTransform
- transform
- moveInner
- transformWorld
- moveWorld
- scaleOfWorld
- rotateOfWorld
- skewOfWorld
- scaleResize
- __scaleResize
- resizeWidth
- resizeHeight
- hit
- __hitWorld
- __hit
- __hitFill
- __hitStroke
- __hitPixel
- __drawHitPath
- __updateHitCanvas
- __render
- __drawFast
- __draw
- __clip
- __renderShape
- __drawShape
- __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
- drawImagePlaceholder
- animate
- killAnimate
- export
- syncExport
- clone
- one
- registerUI
- registerData
- setEditConfig
- setEditOuter
- setEditInner
Constructors โ
constructor โ
โข new Editor(userConfig?
, data?
): Editor
Parameters โ
Name | Type |
---|---|
userConfig? | IEditorConfig |
data? | IGroupInputData |
Returns โ
Overrides โ
Defined in โ
src/in/packages/editor/src/Editor.ts:88
Properties โ
config โ
โข config: IEditorConfig
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:26
mergeConfig โ
โข Readonly
mergeConfig: IEditorConfig
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:29
mergedConfig โ
โข Readonly
mergedConfig: IEditorConfig
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:30
target โ
โข Optional
target: IUI
| IUI
[]
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:33
hoverTarget โ
โข Optional
hoverTarget: IUI
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:36
dimTarget โ
โข Optional
dimTarget: IGroup
| IGroup
[]
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:38
leafList โ
โข leafList: ILeafList
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:42
openedGroupList โ
โข openedGroupList: ILeafList
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:45
innerEditing โ
โข innerEditing: boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:50
resizeDirection โ
โข Optional
resizeDirection: Direction9
Defined in โ
src/in/packages/editor/src/Editor.ts:52
simulateTarget โ
โข simulateTarget: ISimulateElement
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:70
editBox โ
โข editBox: IEditBox
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:72
editTool โ
โข Optional
editTool: IEditTool
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:75
innerEditor โ
โข Optional
innerEditor: IInnerEditor
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:77
editToolList โ
โข editToolList: IObject
= {}
Defined in โ
src/in/packages/editor/src/Editor.ts:78
selector โ
โข selector: EditSelect
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:80
editMask โ
โข editMask: EditMask
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:81
targetChanged โ
โข targetChanged: boolean
Defined in โ
src/in/packages/editor/src/Editor.ts:84
targetEventIds โ
โข targetEventIds: IEventListenerId
[] = []
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:85
innerId โ
โข Readonly
innerId: number
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:33
syncEventer โ
โข Optional
syncEventer: ILeaf
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:49
lockNormalStyle โ
โข Optional
lockNormalStyle: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:50
__layout โ
โข __layout: ILeafLayout
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:53
__world โ
โข __world: IMatrixWithBoundsScaleData
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:55
__local โ
โข Optional
__local: IMatrixWithBoundsData
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:56
__nowWorld โ
โข Optional
__nowWorld: IMatrixWithBoundsScaleData
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:58
__cameraWorld โ
โข Optional
__cameraWorld: IMatrixWithBoundsScaleData
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:59
__worldOpacity โ
โข __worldOpacity: number
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:64
__scrollWorld โ
โข Optional
__scrollWorld: IMatrixWithBoundsScaleData
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:70
__level โ
โข __level: number
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:83
__tempNumber โ
โข __tempNumber: number
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:84
__hasAutoLayout โ
โข Optional
__hasAutoLayout: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:88
__hasMask โ
โข Optional
__hasMask: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:89
__hasEraser โ
โข Optional
__hasEraser: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:90
__hitCanvas โ
โข Optional
__hitCanvas: IHitCanvas
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:91
__captureMap โ
โข Optional
__captureMap: IEventListenerMap
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:102
__bubbleMap โ
โข Optional
__bubbleMap: IEventListenerMap
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:103
__hasLocalEvent โ
โข Optional
__hasLocalEvent: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:105
__hasWorldEvent โ
โข Optional
__hasWorldEvent: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:106
destroyed โ
โข destroyed: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:112
__ โ
โข __: IGroupData
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:19
width โ
โข Optional
width: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:23
height โ
โข Optional
height: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:26
children โ
โข children: IUI
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:28
topChildren โ
โข Optional
topChildren: IUI
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:30
childlessJSON โ
โข Optional
childlessJSON: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:32
proxyData โ
โข Optional
proxyData: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:21
__proxyData โ
โข Optional
__proxyData: IUIInputData
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:22
leafer โ
โข Optional
leafer: ILeafer
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:26
parent โ
โข Optional
parent: IGroup
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:27
zoomLayer โ
โข zoomLayer: IGroup
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:30
id โ
โข Optional
id: string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:40
name โ
โข Optional
name: string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:43
className โ
โข Optional
className: string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:46
blendMode โ
โข Optional
blendMode: IBlendMode
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:51
opacity โ
โข Optional
opacity: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:54
visible โ
โข Optional
visible: boolean
| 0
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:57
locked โ
โข Optional
locked: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:61
dim โ
โข Optional
dim: number
| boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:67
dimskip โ
โข Optional
dimskip: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:70
bright โ
โข Optional
bright: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:72
zIndex โ
โข Optional
zIndex: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:76
mask โ
โข Optional
mask: boolean
| IMaskType
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:80
eraser โ
โข Optional
eraser: boolean
| IEraserType
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:83
x โ
โข Optional
x: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:88
y โ
โข Optional
y: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:91
scaleX โ
โข Optional
scaleX: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:102
scaleY โ
โข Optional
scaleY: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:105
rotation โ
โข Optional
rotation: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:109
skewX โ
โข Optional
skewX: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:113
skewY โ
โข Optional
skewY: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:116
offsetX โ
โข Optional
offsetX: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:121
offsetY โ
โข Optional
offsetY: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:124
scrollX โ
โข Optional
scrollX: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:128
scrollY โ
โข Optional
scrollY: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:131
origin โ
โข Optional
origin: IUnitPointData
| IDirection
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:136
around โ
โข Optional
around: IUnitPointData
| IDirection
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:139
lazy โ
โข Optional
lazy: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:144
pixelRatio โ
โข Optional
pixelRatio: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:147
renderSpread โ
โข Optional
renderSpread: IFourNumber
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:151
path โ
โข Optional
path: string
| IPathCommandData
| IPathCommandObject
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:156
windingRule โ
โข Optional
windingRule: IWindingRule
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:159
closed โ
โข Optional
closed: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:162
flow โ
โข Optional
flow: IFlowType
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:166
padding โ
โข Optional
padding: IFourNumber
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:169
gap โ
โข Optional
gap: IGap
| IPointGap
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:171
flowAlign โ
โข Optional
flowAlign: IFlowAxisAlign
| IFlowAlign
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:173
flowWrap โ
โข Optional
flowWrap: IFlowWrap
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:175
itemBox โ
โข Optional
itemBox: IFlowBoxType
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:178
inFlow โ
โข Optional
inFlow: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:180
autoWidth โ
โข Optional
autoWidth: IAutoSize
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:183
autoHeight โ
โข Optional
autoHeight: IAutoSize
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:185
lockRatio โ
โข Optional
lockRatio: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:188
autoBox โ
โข Optional
autoBox: IAutoBoxData
| IConstraint
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:190
widthRange โ
โข Optional
widthRange: IRangeSize
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:193
heightRange โ
โข Optional
heightRange: IRangeSize
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:196
draggable โ
โข Optional
draggable: boolean
| IAxis
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:201
dragBounds โ
โข Optional
dragBounds: "parent"
| IBoundsData
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:204
dragBoundsType โ
โข Optional
dragBoundsType: IDragBoundsType
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:207
editable โ
โข Optional
editable: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:211
hittable โ
โข Optional
hittable: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:216
hitFill โ
โข Optional
hitFill: IHitType
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:219
hitStroke โ
โข Optional
hitStroke: IHitType
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:222
hitBox โ
โข Optional
hitBox: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:225
hitChildren โ
โข Optional
hitChildren: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:228
hitSelf โ
โข Optional
hitSelf: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:231
hitRadius โ
โข Optional
hitRadius: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:234
cursor โ
โข Optional
cursor: ICursorType
| ICursorType
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:237
fill โ
โข Optional
fill: IFill
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:245
stroke โ
โข Optional
stroke: IStroke
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:250
strokeAlign โ
โข Optional
strokeAlign: IStrokeAlign
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:253
strokeWidth โ
โข Optional
strokeWidth: string
| IFourNumber
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:256
strokeWidthFixed โ
โข Optional
strokeWidthFixed: IScaleFixed
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:259
strokeCap โ
โข Optional
strokeCap: IStrokeCap
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:262
strokeJoin โ
โข Optional
strokeJoin: IStrokeJoin
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:265
dashPattern โ
โข Optional
dashPattern: string
| number
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:268
dashOffset โ
โข Optional
dashOffset: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:271
miterLimit โ
โข Optional
miterLimit: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:274
startArrow โ
โข Optional
startArrow: IArrowStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:279
endArrow โ
โข Optional
endArrow: IArrowStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:281
cornerRadius โ
โข Optional
cornerRadius: string
| IFourNumber
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:286
cornerSmoothing โ
โข Optional
cornerSmoothing: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:289
shadow โ
โข Optional
shadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:294
innerShadow โ
โข Optional
innerShadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:297
blur โ
โข Optional
blur: number
| IBlurEffect
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:300
backgroundBlur โ
โข Optional
backgroundBlur: number
| IBlurEffect
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:303
grayscale โ
โข Optional
grayscale: number
| IGrayscaleEffect
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:306
filter โ
โข Optional
filter: IFilter
| IFilter
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:309
animation โ
โข Optional
animation: IAnimation
| IAnimation
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:314
animationOut โ
โข Optional
animationOut: IAnimation
| IAnimation
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:316
transition โ
โข Optional
transition: ITransition
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:319
transitionOut โ
โข Optional
transitionOut: ITransition
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:321
motionPath โ
โข Optional
motionPath: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:326
motionPrecision โ
โข Optional
motionPrecision: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:328
motion โ
โข Optional
motion: number
| IUnitData
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:331
motionRotation โ
โข Optional
motionRotation: number
| boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:333
states โ
โข Optional
states: IStates
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:338
state โ
โข Optional
state: string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:340
selected โ
โข Optional
selected: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:343
disabled โ
โข Optional
disabled: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:345
normalStyle โ
โข Optional
normalStyle: IStateStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:348
hoverStyle โ
โข Optional
hoverStyle: IStateStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:350
pressStyle โ
โข Optional
pressStyle: IStateStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:352
focusStyle โ
โข Optional
focusStyle: IStateStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:354
selectedStyle โ
โข Optional
selectedStyle: IStateStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:356
disabledStyle โ
โข Optional
disabledStyle: IStateStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:358
placeholderStyle โ
โข Optional
placeholderStyle: IStateStyle
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:361
placeholderColor โ
โข Optional
placeholderColor: string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:364
placeholderDelay โ
โข Optional
placeholderDelay: number
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:367
button โ
โข Optional
button: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:370
editConfig โ
โข editConfig: IEditorConfig
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:375
editOuter โ
โข editOuter: string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:377
editInner โ
โข editInner: string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:379
data โ
โข data: IObject
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:384
useFastShadow โ
โข Optional
useFastShadow: boolean
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:393
__box โ
โข Optional
__box: IUI
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:395
__animate โ
โข Optional
__animate: IAnimate
| IAnimateList
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:396
Accessors โ
list โ
โข get
list(): IUI
[]
Returns โ
IUI
[]
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:43
dragHoverExclude โ
โข get
dragHoverExclude(): IUI
[]
Returns โ
IUI
[]
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:44
editing โ
โข get
editing(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:49
groupOpening โ
โข get
groupOpening(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:51
multiple โ
โข get
multiple(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:54
single โ
โข get
single(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:55
dragPoint โ
โข get
dragPoint(): IEditPoint
Returns โ
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:57
dragging โ
โข get
dragging(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:59
gesturing โ
โข get
gesturing(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:60
moving โ
โข get
moving(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:62
resizing โ
โข get
resizing(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:63
rotating โ
โข get
rotating(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:64
skewing โ
โข get
skewing(): boolean
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:65
element โ
โข get
element(): ISimulateElement
Returns โ
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:69
buttons โ
โข get
buttons(): IGroup
Returns โ
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:73
targetLeafer โ
โข get
targetLeafer(): ILeafer
Returns โ
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:83
tag โ
โข get
tag(): string
Returns โ
string
Implementation of โ
Inherited from โ
Group.tag
Defined in โ
src/leafer/packages/display/src/Leaf.ts:28
โข set
tag(_value
): void
Parameters โ
Name | Type |
---|---|
_value | string |
Returns โ
void
Implementation of โ
Inherited from โ
Group.tag
Defined in โ
src/leafer/packages/display/src/Leaf.ts:29
innerName โ
โข get
innerName(): string
Returns โ
string
Implementation of โ
Inherited from โ
Group.innerName
Defined in โ
src/leafer/packages/display/src/Leaf.ts:34
__DataProcessor โ
โข get
__DataProcessor(): typeof LeafData
Returns โ
typeof LeafData
Implementation of โ
Inherited from โ
Group.__DataProcessor
Defined in โ
src/leafer/packages/display/src/Leaf.ts:36
__LayoutProcessor โ
โข get
__LayoutProcessor(): typeof LeafLayout
Returns โ
typeof LeafLayout
Implementation of โ
Inherited from โ
Group.__LayoutProcessor
Defined in โ
src/leafer/packages/display/src/Leaf.ts:37
leaferIsCreated โ
โข get
leaferIsCreated(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.leaferIsCreated
Defined in โ
src/leafer/packages/display/src/Leaf.ts:42
leaferIsReady โ
โข get
leaferIsReady(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.leaferIsReady
Defined in โ
src/leafer/packages/display/src/Leaf.ts:43
isLeafer โ
โข get
isLeafer(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.isLeafer
Defined in โ
src/leafer/packages/display/src/Leaf.ts:45
isBranchLeaf โ
โข get
isBranchLeaf(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.isBranchLeaf
Defined in โ
src/leafer/packages/display/src/Leaf.ts:47
__localMatrix โ
โข get
__localMatrix(): IMatrixData
Returns โ
Implementation of โ
Inherited from โ
Group.__localMatrix
Defined in โ
src/leafer/packages/display/src/Leaf.ts:61
__localBoxBounds โ
โข get
__localBoxBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Group.__localBoxBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:62
worldTransform โ
โข get
worldTransform(): IMatrixWithScaleData
Returns โ
Implementation of โ
Inherited from โ
Group.worldTransform
Defined in โ
src/leafer/packages/display/src/Leaf.ts:67
localTransform โ
โข get
localTransform(): IMatrixData
Returns โ
Implementation of โ
Inherited from โ
Group.localTransform
Defined in โ
src/leafer/packages/display/src/Leaf.ts:68
scrollWorldTransform โ
โข get
scrollWorldTransform(): IMatrixWithScaleData
Returns โ
Implementation of โ
Inherited from โ
Group.scrollWorldTransform
Defined in โ
src/leafer/packages/display/src/Leaf.ts:71
boxBounds โ
โข get
boxBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Group.boxBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:74
renderBounds โ
โข get
renderBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Group.renderBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:75
worldBoxBounds โ
โข get
worldBoxBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Group.worldBoxBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:76
worldStrokeBounds โ
โข get
worldStrokeBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Group.worldStrokeBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:77
worldRenderBounds โ
โข get
worldRenderBounds(): IBoundsData
Returns โ
Implementation of โ
Inherited from โ
Group.worldRenderBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:78
worldOpacity โ
โข get
worldOpacity(): number
Returns โ
number
Implementation of โ
Inherited from โ
Group.worldOpacity
Defined in โ
src/leafer/packages/display/src/Leaf.ts:81
__worldFlipped โ
โข get
__worldFlipped(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.__worldFlipped
Defined in โ
src/leafer/packages/display/src/Leaf.ts:86
__onlyHitMask โ
โข get
__onlyHitMask(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.__onlyHitMask
Defined in โ
src/leafer/packages/display/src/Leaf.ts:93
__ignoreHitWorld โ
โข get
__ignoreHitWorld(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.__ignoreHitWorld
Defined in โ
src/leafer/packages/display/src/Leaf.ts:94
__inLazyBounds โ
โข get
__inLazyBounds(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.__inLazyBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:95
pathInputed โ
โข get
pathInputed(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.pathInputed
Defined in โ
src/leafer/packages/display/src/Leaf.ts:97
event โ
โข set
event(map
): void
Parameters โ
Name | Type |
---|---|
map | IEventParamsMap |
Returns โ
void
Implementation of โ
Inherited from โ
Group.event
Defined in โ
src/leafer/packages/display/src/Leaf.ts:100
__tag โ
โข get
__tag(): string
Returns โ
string
Implementation of โ
Inherited from โ
Group.__tag
Defined in โ
src/ui/packages/display/src/Group.ts:14
isBranch โ
โข get
isBranch(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.isBranch
Defined in โ
src/ui/packages/display/src/Group.ts:16
app โ
โข get
app(): ILeafer
Returns โ
Implementation of โ
Inherited from โ
Group.app
Defined in โ
src/ui/packages/display/src/UI.ts:24
isFrame โ
โข get
isFrame(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.isFrame
Defined in โ
src/ui/packages/display/src/UI.ts:32
scale โ
โข get
scale(): number
| IPointData
Returns โ
number
| IPointData
Implementation of โ
Inherited from โ
Group.scale
Defined in โ
src/ui/packages/display/src/UI.ts:388
โข set
scale(value
): void
Parameters โ
Name | Type |
---|---|
value | number | IPointData |
Returns โ
void
Implementation of โ
Inherited from โ
Group.scale
Defined in โ
src/ui/packages/display/src/UI.ts:387
isAutoWidth โ
โข get
isAutoWidth(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.isAutoWidth
Defined in โ
src/ui/packages/display/src/UI.ts:390
isAutoHeight โ
โข get
isAutoHeight(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
Group.isAutoHeight
Defined in โ
src/ui/packages/display/src/UI.ts:391
pen โ
โข get
pen(): IPathCreator
Returns โ
Implementation of โ
Inherited from โ
Group.pen
Defined in โ
src/ui/packages/display/src/UI.ts:398
Methods โ
select โ
โธ select(target
): void
Parameters โ
Name | Type |
---|---|
target | IUI | IUI [] |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:100
cancel โ
โธ cancel(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:104
hasItem โ
โธ hasItem(item
): boolean
Parameters โ
Name | Type |
---|---|
item | IUI |
Returns โ
boolean
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:110
addItem โ
โธ addItem(item
): void
Parameters โ
Name | Type |
---|---|
item | IUI |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:114
removeItem โ
โธ removeItem(item
): void
Parameters โ
Name | Type |
---|---|
item | IUI |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:118
shiftItem โ
โธ shiftItem(item
): void
Parameters โ
Name | Type |
---|---|
item | IUI |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:122
setDimOthers โ
โธ setDimOthers(value
, attrName?
, list?
): void
Parameters โ
Name | Type | Default value |
---|---|---|
value | number | boolean | undefined |
attrName | "bright" | "dim" | 'dim' |
list? | IUI [] | undefined |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:128
setBright โ
โธ setBright(value
): void
Parameters โ
Name | Type |
---|---|
value | boolean |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:136
update โ
โธ update(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:142
updateEditBox โ
โธ updateEditBox(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:151
updateEditTool โ
โธ updateEditTool(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:156
unloadEditTool โ
โธ unloadEditTool(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:179
getEditSize โ
โธ getEditSize(_ui
): IEditSize
Parameters โ
Name | Type |
---|---|
_ui | IUI |
Returns โ
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:191
onMove โ
โธ onMove(_e
): void
Parameters โ
Name | Type |
---|---|
_e | DragEvent | MoveEvent |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:200
onScale โ
โธ onScale(_e
): void
Parameters โ
Name | Type |
---|---|
_e | DragEvent | ZoomEvent |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:202
onRotate โ
โธ onRotate(_e
): void
Parameters โ
Name | Type |
---|---|
_e | DragEvent | RotateEvent |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:204
onSkew โ
โธ onSkew(_e
): void
Parameters โ
Name | Type |
---|---|
_e | DragEvent |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:206
move โ
โธ move(_x
, _y?
): void
Parameters โ
Name | Type | Default value |
---|---|---|
_x | number | IPointData | undefined |
_y | number | 0 |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
src/in/packages/editor/src/Editor.ts:211
scaleWithDrag โ
โธ scaleWithDrag(_data
): void
Parameters โ
Name | Type |
---|---|
_data | IEditorScaleEvent |
Returns โ
void
Defined in โ
src/in/packages/editor/src/Editor.ts:213
scaleOf โ
โธ scaleOf(_origin
, scaleX
, _scaleY?
, _resize?
): void
Parameters โ
Name | Type | Default value |
---|---|---|
_origin | IPointData | IDirection | undefined |
scaleX | number | undefined |
_scaleY | number | scaleX |
_resize? | boolean | undefined |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
src/in/packages/editor/src/Editor.ts:215
flip โ
โธ flip(_axis
): void
Parameters โ
Name | Type |
---|---|
_axis | IAxis |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
src/in/packages/editor/src/Editor.ts:217
rotateOf โ
โธ rotateOf(_origin
, _rotation
): void
Parameters โ
Name | Type |
---|---|
_origin | IPointData | IDirection |
_rotation | number |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
src/in/packages/editor/src/Editor.ts:219
skewOf โ
โธ skewOf(_origin
, _skewX
, _skewY?
, _resize?
): void
Parameters โ
Name | Type | Default value |
---|---|---|
_origin | IPointData | IDirection | undefined |
_skewX | number | undefined |
_skewY | number | 0 |
_resize? | boolean | undefined |
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
src/in/packages/editor/src/Editor.ts:221
checkTransform โ
โธ checkTransform(_type
): boolean
Parameters โ
Name | Type |
---|---|
_type | "moveable" | "resizeable" | "rotateable" | "skewable" |
Returns โ
boolean
Defined in โ
src/in/packages/editor/src/Editor.ts:223
getWorldOrigin โ
โธ getWorldOrigin(_origin
): IPointData
Parameters โ
Name | Type |
---|---|
_origin | IPointData | IDirection |
Returns โ
Defined in โ
src/in/packages/editor/src/Editor.ts:225
getChangedTransform โ
โธ getChangedTransform(_func
): IMatrix
Parameters โ
Name | Type |
---|---|
_func | IFunction |
Returns โ
Defined in โ
src/in/packages/editor/src/Editor.ts:227
group โ
โธ group(userGroup?
): IGroup
Parameters โ
Name | Type |
---|---|
userGroup? | IGroupInputData | IGroup |
Returns โ
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:234
ungroup โ
โธ ungroup(): IUI
[]
Returns โ
IUI
[]
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:243
openGroup โ
โธ openGroup(group
): void
Parameters โ
Name | Type |
---|---|
group | IGroup |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:253
closeGroup โ
โธ closeGroup(group
): void
Parameters โ
Name | Type |
---|---|
group | IGroup |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:260
checkOpenedGroups โ
โธ checkOpenedGroups(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:267
checkDeepSelect โ
โธ checkDeepSelect(): void
Returns โ
void
Defined in โ
src/in/packages/editor/src/Editor.ts:277
emitGroupEvent โ
โธ emitGroupEvent(type
, group?
): void
Parameters โ
Name | Type |
---|---|
type | string |
group? | IGroup |
Returns โ
void
Defined in โ
src/in/packages/editor/src/Editor.ts:288
openInnerEditor โ
โธ openInnerEditor(target?
, nameOrSelect?
, select?
): void
Parameters โ
Name | Type |
---|---|
target? | IUI |
nameOrSelect? | string | boolean |
select? | boolean |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:296
closeInnerEditor โ
โธ closeInnerEditor(onlyInnerEditor?
): void
Parameters โ
Name | Type |
---|---|
onlyInnerEditor? | boolean |
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:327
emitInnerEvent โ
โธ emitInnerEvent(type
): void
Parameters โ
Name | Type |
---|---|
type | string |
Returns โ
void
Defined in โ
src/in/packages/editor/src/Editor.ts:340
lock โ
โธ lock(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:349
unlock โ
โธ unlock(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:354
toTop โ
โธ toTop(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:361
toBottom โ
โธ toBottom(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:368
onAppRenderStart โ
โธ onAppRenderStart(app
): void
Parameters โ
Name | Type |
---|---|
app | IApp |
Returns โ
void
Defined in โ
src/in/packages/editor/src/Editor.ts:375
onRenderStart โ
โธ onRenderStart(): void
Returns โ
void
Defined in โ
src/in/packages/editor/src/Editor.ts:379
onChildScroll โ
โธ onChildScroll(): void
Returns โ
void
Defined in โ
src/in/packages/editor/src/Editor.ts:383
listenTargetEvents โ
โธ listenTargetEvents(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:389
removeTargetEvents โ
โธ removeTargetEvents(): void
Returns โ
void
Implementation of โ
Defined in โ
src/in/packages/editor/src/Editor.ts:402
destroy โ
โธ destroy(): void
Returns โ
void
Implementation of โ
Overrides โ
Defined in โ
src/in/packages/editor/src/Editor.ts:410
resetCustom โ
โธ resetCustom(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:142
waitParent โ
โธ waitParent(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:148
waitLeafer โ
โธ waitLeafer(item
, bind?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:153
nextRender โ
โธ nextRender(item
, bind?
, off?
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
off? | "off" |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:158
removeNextRender โ
โธ removeNextRender(item
): void
Parameters โ
Name | Type |
---|---|
item | IFunction |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:162
__bindLeafer โ
โธ __bindLeafer(leafer
): void
Parameters โ
Name | Type |
---|---|
leafer | ILeaferBase |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:166
setAttr โ
โธ setAttr(name
, value
): void
Parameters โ
Name | Type |
---|---|
name | string |
value | any |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:196
getAttr โ
โธ getAttr(name
): any
Parameters โ
Name | Type |
---|---|
name | string |
Returns โ
any
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:197
getComputedAttr โ
โธ getComputedAttr(name
): any
Parameters โ
Name | Type |
---|---|
name | string |
Returns โ
any
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:199
toString โ
โธ toString(options?
): string
Parameters โ
Name | Type |
---|---|
options? | IJSONOptions |
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:206
toSVG โ
โธ toSVG(): string
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:210
__SVG โ
โธ __SVG(_data
): void
Parameters โ
Name | Type |
---|---|
_data | IObject |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:212
toHTML โ
โธ toHTML(): string
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:214
__setAttr โ
โธ __setAttr(_attrName
, _newValue
): boolean
Parameters โ
Name | Type |
---|---|
_attrName | string |
_newValue | IValue |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:218
__getAttr โ
โธ __getAttr(_attrName
): IValue
Parameters โ
Name | Type |
---|---|
_attrName | string |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:220
setProxyAttr โ
โธ setProxyAttr(_attrName
, _newValue
): void
Parameters โ
Name | Type |
---|---|
_attrName | string |
_newValue | IValue |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:222
getProxyAttr โ
โธ getProxyAttr(_attrName
): IValue
Parameters โ
Name | Type |
---|---|
_attrName | string |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:224
focus โ
โธ focus(_value?
): void
Parameters โ
Name | Type |
---|---|
_value? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:244
updateState โ
โธ updateState(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:246
updateLayout โ
โธ updateLayout(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:251
forceUpdate โ
โธ forceUpdate(attrName?
): void
Parameters โ
Name | Type |
---|---|
attrName? | string |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:255
forceRender โ
โธ forceRender(_bounds?
, _sync?
): void
Parameters โ
Name | Type |
---|---|
_bounds? | IBoundsData |
_sync? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:263
__extraUpdate โ
โธ __extraUpdate(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:267
__updateWorldMatrix โ
โธ __updateWorldMatrix(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:273
__updateLocalMatrix โ
โธ __updateLocalMatrix(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:275
__updateWorldBounds โ
โธ __updateWorldBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:281
__updateLocalBounds โ
โธ __updateLocalBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:283
__updateLocalBoxBounds โ
โธ __updateLocalBoxBounds(): void
Returns โ
void
Implementation of โ
IEditor.__updateLocalBoxBounds
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:286
__updateLocalStrokeBounds โ
โธ __updateLocalStrokeBounds(): void
Returns โ
void
Implementation of โ
IEditor.__updateLocalStrokeBounds
Inherited from โ
Group.__updateLocalStrokeBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:288
__updateLocalRenderBounds โ
โธ __updateLocalRenderBounds(): void
Returns โ
void
Implementation of โ
IEditor.__updateLocalRenderBounds
Inherited from โ
Group.__updateLocalRenderBounds
Defined in โ
src/leafer/packages/display/src/Leaf.ts:290
__updateBoxBounds โ
โธ __updateBoxBounds(_secondLayout?
, _bounds?
): void
Parameters โ
Name | Type |
---|---|
_secondLayout? | boolean |
_bounds? | IBoundsData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:294
__updateContentBounds โ
โธ __updateContentBounds(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:296
__updateStrokeBounds โ
โธ __updateStrokeBounds(_bounds?
): void
Parameters โ
Name | Type |
---|---|
_bounds? | IBoundsData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:298
__updateRenderBounds โ
โธ __updateRenderBounds(_bounds?
): void
Parameters โ
Name | Type |
---|---|
_bounds? | IBoundsData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:300
__updateAutoLayout โ
โธ __updateAutoLayout(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:303
__updateFlowLayout โ
โธ __updateFlowLayout(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:305
__updateNaturalSize โ
โธ __updateNaturalSize(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:307
__updateStrokeSpread โ
โธ __updateStrokeSpread(): IFourNumber
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:310
__updateRenderSpread โ
โธ __updateRenderSpread(): IFourNumber
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:312
__updateEraser โ
โธ __updateEraser(value?
): void
Parameters โ
Name | Type |
---|---|
value? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:319
__renderEraser โ
โธ __renderEraser(canvas
, options
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:323
__updateMask โ
โธ __updateMask(_value?
): void
Parameters โ
Name | Type |
---|---|
_value? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:331
__renderMask โ
โธ __renderMask(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:337
__getNowWorld โ
โธ __getNowWorld(options
): IMatrixWithBoundsScaleData
Parameters โ
Name | Type |
---|---|
options | IRenderOptions |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:345
getClampRenderScale โ
โธ getClampRenderScale(): number
Returns โ
number
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:359
getRenderScaleData โ
โธ getRenderScaleData(abs?
, scaleFixed?
): IScaleData
Parameters โ
Name | Type |
---|---|
abs? | boolean |
scaleFixed? | IScaleFixed |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:365
getTransform โ
โธ getTransform(relative?
): IMatrixData
Parameters โ
Name | Type |
---|---|
relative? | ILeaf | ILocationType |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:374
getBounds โ
โธ getBounds(type?
, relative?
): IBoundsData
Parameters โ
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:379
getLayoutBounds โ
โธ getLayoutBounds(type?
, relative?
, unscale?
): ILayoutBoundsData
Parameters โ
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
unscale? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:383
getLayoutPoints โ
โธ getLayoutPoints(type?
, relative?
): IPointData
[]
Parameters โ
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:387
getWorldBounds โ
โธ getWorldBounds(inner
, relative?
, change?
): IBoundsData
Parameters โ
Name | Type |
---|---|
inner | IBoundsData |
relative? | ILeaf |
change? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:392
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 โ
src/leafer/packages/display/src/Leaf.ts:400
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 โ
src/leafer/packages/display/src/Leaf.ts:408
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 โ
src/leafer/packages/display/src/Leaf.ts:416
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 โ
src/leafer/packages/display/src/Leaf.ts:424
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 โ
src/leafer/packages/display/src/Leaf.ts:431
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 โ
src/leafer/packages/display/src/Leaf.ts:435
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 โ
src/leafer/packages/display/src/Leaf.ts:441
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 โ
src/leafer/packages/display/src/Leaf.ts:447
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 โ
src/leafer/packages/display/src/Leaf.ts:453
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 โ
src/leafer/packages/display/src/Leaf.ts:457
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 โ
src/leafer/packages/display/src/Leaf.ts:463
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 โ
src/leafer/packages/display/src/Leaf.ts:467
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 โ
src/leafer/packages/display/src/Leaf.ts:472
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 โ
src/leafer/packages/display/src/Leaf.ts:478
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 โ
src/leafer/packages/display/src/Leaf.ts:482
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 โ
src/leafer/packages/display/src/Leaf.ts:488
setTransform โ
โธ setTransform(matrix
, resize?
, transition?
): void
Parameters โ
Name | Type |
---|---|
matrix | IMatrixData |
resize? | boolean |
transition? | ITransition |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:496
transform โ
โธ transform(matrix
, resize?
, transition?
): void
Parameters โ
Name | Type |
---|---|
matrix | IMatrixData |
resize? | boolean |
transition? | ITransition |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:500
moveInner โ
โธ moveInner(x
, y?
, transition?
): void
Parameters โ
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | ITransition |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:509
transformWorld โ
โธ transformWorld(worldTransform?
, resize?
, transition?
): void
Parameters โ
Name | Type |
---|---|
worldTransform? | IMatrixData |
resize? | boolean |
transition? | ITransition |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:526
moveWorld โ
โธ moveWorld(x
, y?
, transition?
): void
Parameters โ
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | ITransition |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:530
scaleOfWorld โ
โธ scaleOfWorld(worldOrigin
, scaleX
, scaleY?
, resize?
, transition?
): void
Parameters โ
Name | Type |
---|---|
worldOrigin | IPointData |
scaleX | number |
scaleY? | ITransition |
resize? | boolean |
transition? | ITransition |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:534
rotateOfWorld โ
โธ rotateOfWorld(worldOrigin
, rotation
): void
Parameters โ
Name | Type |
---|---|
worldOrigin | IPointData |
rotation | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:538
skewOfWorld โ
โธ skewOfWorld(worldOrigin
, skewX
, skewY?
, resize?
, transition?
): void
Parameters โ
Name | Type |
---|---|
worldOrigin | IPointData |
skewX | number |
skewY? | number |
resize? | boolean |
transition? | ITransition |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:542
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 โ
src/leafer/packages/display/src/Leaf.ts:553
__scaleResize โ
โธ __scaleResize(_scaleX
, _scaleY
): void
Parameters โ
Name | Type |
---|---|
_scaleX | number |
_scaleY | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:558
resizeWidth โ
โธ resizeWidth(_width
): void
Parameters โ
Name | Type |
---|---|
_width | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:561
resizeHeight โ
โธ resizeHeight(_height
): void
Parameters โ
Name | Type |
---|---|
_height | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:563
hit โ
โธ hit(_world
, _hitRadius?
): boolean
Parameters โ
Name | Type |
---|---|
_world | IPointData |
_hitRadius? | number |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:568
__hitWorld โ
โธ __hitWorld(_point
): boolean
Parameters โ
Name | Type |
---|---|
_point | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:570
__hit โ
โธ __hit(_local
): boolean
Parameters โ
Name | Type |
---|---|
_local | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:572
__hitFill โ
โธ __hitFill(_inner
): boolean
Parameters โ
Name | Type |
---|---|
_inner | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:574
__hitStroke โ
โธ __hitStroke(_inner
, _strokeWidth
): boolean
Parameters โ
Name | Type |
---|---|
_inner | IRadiusPointData |
_strokeWidth | number |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:576
__hitPixel โ
โธ __hitPixel(_inner
): boolean
Parameters โ
Name | Type |
---|---|
_inner | IRadiusPointData |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:578
__drawHitPath โ
โธ __drawHitPath(_canvas
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:580
__updateHitCanvas โ
โธ __updateHitCanvas(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:582
__render โ
โธ __render(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:589
__drawFast โ
โธ __drawFast(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:591
__draw โ
โธ __draw(_canvas
, _options
, _originCanvas?
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
_originCanvas? | ILeaferCanvas |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:593
__clip โ
โธ __clip(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:596
__renderShape โ
โธ __renderShape(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:598
__drawShape โ
โธ __drawShape(_canvas
, _options
): void
Parameters โ
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:600
__updateWorldOpacity โ
โธ __updateWorldOpacity(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:603
__updateChange โ
โธ __updateChange(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:605
__updatePath โ
โธ __updatePath(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:616
getMotionPathData โ
โธ getMotionPathData(): IMotionPathData
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:625
getMotionPoint โ
โธ getMotionPoint(_motionDistance
): IRotationPointData
Parameters โ
Name | Type |
---|---|
_motionDistance | number | IUnitData |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:629
getMotionTotal โ
โธ getMotionTotal(): number
Returns โ
number
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:633
__updateMotionPath โ
โธ __updateMotionPath(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:637
__runAnimation โ
โธ __runAnimation(_type
, _complete?
): void
Parameters โ
Name | Type |
---|---|
_type | "in" | "out" |
_complete? | IFunction |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:643
__updateSortChildren โ
โธ __updateSortChildren(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:648
dropTo โ
โธ dropTo(parent
, index?
, resize?
): void
Parameters โ
Name | Type |
---|---|
parent | ILeaf |
index? | number |
resize? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:656
on โ
โธ on(_type
, _listener?
, _options?
): void
Parameters โ
Name | Type |
---|---|
_type | string | string [] | IEventParamsMap | IEventParams [] |
_listener? | IFunction |
_options? | IEventOption |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:665
off โ
โธ off(_type?
, _listener?
, _options?
): void
Parameters โ
Name | Type |
---|---|
_type? | string | string [] |
_listener? | IFunction |
_options? | IEventOption |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:667
on_ โ
โธ on_(_type
, _listener?
, _bind?
, _options?
): IEventListenerId
Parameters โ
Name | Type |
---|---|
_type | string | string [] | IEventParams [] |
_listener? | IFunction |
_bind? | IObject |
_options? | IEventOption |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:669
off_ โ
โธ off_(_id
): void
Parameters โ
Name | Type |
---|---|
_id | IEventListenerId | IEventListenerId [] |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:671
once โ
โธ once(_type
, _listener?
, _captureOrBind?
, _capture?
): void
Parameters โ
Name | Type |
---|---|
_type | string | string [] | IEventParams [] |
_listener? | IFunction |
_captureOrBind? | boolean | IObject |
_capture? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:673
emit โ
โธ emit(_type
, _event?
, _capture?
): void
Parameters โ
Name | Type |
---|---|
_type | string |
_event? | IObject | IEvent |
_capture? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:675
emitEvent โ
โธ emitEvent(_event?
, _capture?
): void
Parameters โ
Name | Type |
---|---|
_event? | IEvent |
_capture? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:677
hasEvent โ
โธ hasEvent(_type
, _capture?
): boolean
Parameters โ
Name | Type |
---|---|
_type | string |
_capture? | boolean |
Returns โ
boolean
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:679
changeAttr โ
โธ changeAttr(attrName
, defaultValue
, fn?
): void
Parameters โ
Name | Type |
---|---|
attrName | string |
defaultValue | IValueFunction | IValue |
fn? | IAttrDecorator |
Returns โ
void
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:683
addAttr โ
โธ addAttr(attrName
, defaultValue
, fn?
, helpValue?
): void
Parameters โ
Name | Type |
---|---|
attrName | string |
defaultValue | IValueFunction | IValue |
fn? | IAttrDecorator |
helpValue? | IValue |
Returns โ
void
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:687
__emitLifeEvent โ
โธ __emitLifeEvent(type
): void
Parameters โ
Name | Type |
---|---|
type | string |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/leafer/packages/display/src/Leaf.ts:693
reset โ
โธ reset(data?
): void
Parameters โ
Name | Type |
---|---|
data? | IGroupInputData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:35
__setBranch โ
โธ __setBranch(): void
Returns โ
void
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:40
set โ
โธ set(data
, transition?
): void
Parameters โ
Name | Type |
---|---|
data | IUIInputData |
transition? | ITransition | "temp" |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:47
toJSON โ
โธ toJSON(options?
): IUIJSONData
Parameters โ
Name | Type |
---|---|
options? | IJSONOptions |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:64
pick โ
โธ pick(_hitPoint
, _options?
): IPickResult
Parameters โ
Name | Type |
---|---|
_hitPoint | IPointData |
_options? | IPickOptions |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:73
addAt โ
โธ addAt(child
, index
): void
Parameters โ
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
index | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:78
addAfter โ
โธ addAfter(child
, after
): void
Parameters โ
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
after | IUI |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:82
addBefore โ
โธ addBefore(child
, before
): void
Parameters โ
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
before | IUI |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:86
add โ
โธ add(_child
, _index?
): void
Parameters โ
Name | Type |
---|---|
_child | IUIInputData | IUI | IUI [] | IUIInputData [] |
_index? | number |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:92
addMany โ
โธ addMany(..._children
): void
Parameters โ
Name | Type |
---|---|
..._children | IUI [] | IUIInputData [] |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:94
remove โ
โธ remove(_child?
, _destroy?
): void
Parameters โ
Name | Type |
---|---|
_child? | string | number | IFindCondition | IUI | IFindUIMethod |
_destroy? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:96
removeAll โ
โธ removeAll(_destroy?
): void
Parameters โ
Name | Type |
---|---|
_destroy? | boolean |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:98
clear โ
โธ clear(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/Group.ts:100
get โ
โธ get<K
>(name?
): IUIInputData
| Editor
[K
]
Type parameters โ
Name | Type |
---|---|
K | extends keyof Editor |
Parameters โ
Name | Type |
---|---|
name? | IUIInputData | K | K [] |
Returns โ
IUIInputData
| Editor
[K
]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:418
createProxyData โ
โธ createProxyData(): IUIInputData
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:422
find โ
โธ find(_condition
, _options?
): IUI
[]
Parameters โ
Name | Type |
---|---|
_condition | string | number | IFindCondition | IFindUIMethod |
_options? | any |
Returns โ
IUI
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:427
findTag โ
โธ findTag(tag
): IUI
[]
Parameters โ
Name | Type |
---|---|
tag | string | string [] |
Returns โ
IUI
[]
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:429
findOne โ
โธ findOne(_condition
, _options?
): IUI
Parameters โ
Name | Type |
---|---|
_condition | string | number | IFindCondition | IFindUIMethod |
_options? | any |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:431
findId โ
โธ findId(id
): IUI
Parameters โ
Name | Type |
---|---|
id | string | number |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:433
getPath โ
โธ getPath(curve?
, pathForRender?
): IPathCommandData
Parameters โ
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:438
getPathString โ
โธ getPathString(curve?
, pathForRender?
, floatLength?
): string
Parameters โ
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
floatLength? | number |
Returns โ
string
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:445
load โ
โธ load(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:450
__onUpdateSize โ
โธ __onUpdateSize(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:454
__updateRenderPath โ
โธ __updateRenderPath(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:461
__drawRenderPath โ
โธ __drawRenderPath(canvas
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:469
__drawPath โ
โธ __drawPath(canvas
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:474
__drawPathByData โ
โธ __drawPathByData(drawer
, data
): void
Parameters โ
Name | Type |
---|---|
drawer | IPathDrawer |
data | IPathCommandData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:479
__drawPathByBox โ
โธ __drawPathByBox(drawer
): void
Parameters โ
Name | Type |
---|---|
drawer | IPathDrawer |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:483
drawImagePlaceholder โ
โธ drawImagePlaceholder(canvas
, _image?
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
_image? | ILeaferImage |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:491
animate โ
โธ animate(keyframe?
, _options?
, _type?
, _isTemp?
): IAnimate
Parameters โ
Name | Type |
---|---|
keyframe? | IAnimation | IUIInputData | IKeyframe [] | IAnimation [] |
_options? | ITransition |
_type? | IAnimateType |
_isTemp? | boolean |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:497
killAnimate โ
โธ killAnimate(_type?
, _nextStyle?
): void
Parameters โ
Name | Type |
---|---|
_type? | IAnimateType |
_nextStyle? | IUIInputData |
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:502
export โ
โธ export(_filename
, _options?
): Promise
<IExportResult
>
Parameters โ
Name | Type |
---|---|
_filename | string |
_options? | number | boolean | IExportOptions |
Returns โ
Promise
<IExportResult
>
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:508
syncExport โ
โธ syncExport(_filename
, _options?
): IExportResult
Parameters โ
Name | Type |
---|---|
_filename | string |
_options? | number | boolean | IExportOptions |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:512
clone โ
โธ clone(data?
): this
Parameters โ
Name | Type |
---|---|
data? | IUIInputData |
Returns โ
this
Implementation of โ
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:516
one โ
โธ one<T
>(this
, data
, x?
, y?
, width?
, height?
): T
Type parameters โ
Name | Type |
---|---|
T | extends UI <IUIInputData > |
Parameters โ
Name | Type |
---|---|
this | (...args : any []) => T |
data | IUIInputData |
x? | number |
y? | number |
width? | number |
height? | number |
Returns โ
T
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:523
registerUI โ
โธ registerUI(): void
Returns โ
void
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:527
registerData โ
โธ registerData(data
): void
Parameters โ
Name | Type |
---|---|
data | IUIData |
Returns โ
void
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:531
setEditConfig โ
โธ setEditConfig(_config
): void
Parameters โ
Name | Type |
---|---|
_config | IEditorConfig | IEditorConfigFunction |
Returns โ
void
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:538
setEditOuter โ
โธ setEditOuter(_toolName
): void
Parameters โ
Name | Type |
---|---|
_toolName | string | IEditToolFunction |
Returns โ
void
Inherited from โ
Defined in โ
src/ui/packages/display/src/UI.ts:540
setEditInner โ
โธ setEditInner(_editorName
): void
Parameters โ
Name | Type |
---|---|
_editorName | string | IEditToolFunction |
Returns โ
void