Interface: IGroup
Hierarchy
↳
IGroup
↳↳
ILeafer
↳↳
IPen
↳↳
IBox
↳↳
IEditorBase
↳↳
IEditBoxBase
↳↳
ISelectArea
↳↳
IEditSelect
↳↳
IScrollBar
Implemented by
Table of contents
Properties
- id
- name
- className
- blendMode
- opacity
- visible
- selected
- disabled
- locked
- zIndex
- mask
- eraser
- x
- y
- width
- height
- scaleX
- scaleY
- rotation
- skewX
- skewY
- scale
- 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
- button
- cursor
- motionPath
- motion
- motionRotation
- normalStyle
- event
- data
- noBounds
- tag
- __tag
- innerName
- __DataProcessor
- __LayoutProcessor
- leaferIsCreated
- leaferIsReady
- isApp
- isLeafer
- isBranch
- isBranchLeaf
- isOutside
- syncEventer
- lockNormalStyle
- __layout
- __world
- __local
- __nowWorld
- __cameraWorld
- __localMatrix
- __localBoxBounds
- __worldOpacity
- worldTransform
- localTransform
- boxBounds
- renderBounds
- worldBoxBounds
- worldStrokeBounds
- worldRenderBounds
- worldOpacity
- __level
- __tempNumber
- __worldFlipped
- __hasAutoLayout
- __hasMotionPath
- __hasMask
- __hasEraser
- __hitCanvas
- __flowBounds
- __widthGrow
- __heightGrow
- __hasGrow
- __onlyHitMask
- __ignoreHitWorld
- __inLazyBounds
- pathInputed
- destroyed
- innerId
- __captureMap
- __bubbleMap
- cornerRadius
- cornerSmoothing
- fill
- stroke
- strokeAlign
- strokeWidth
- strokeWidthFixed
- strokeCap
- strokeJoin
- dashPattern
- dashOffset
- miterLimit
- startArrow
- endArrow
- shadow
- innerShadow
- blur
- backgroundBlur
- grayscale
- __
- children
- app
- leafer
- parent
- zoomLayer
- isFrame
- proxyData
- __proxyData
- animation
- animationOut
- editConfig
- editOuter
- editInner
- __animate
- pen
- transition
- transitionOut
- states
- state
- hoverStyle
- pressStyle
- focusStyle
- selectedStyle
- disabledStyle
Methods
- 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
- __updateContentBounds
- __updateBoxBounds
- __updateStrokeBounds
- __updateRenderBounds
- __updateAutoLayout
- __updateFlowLayout
- __updateNaturalSize
- __updateStrokeSpread
- __updateRenderSpread
- __onUpdateSize
- __updateEraser
- __updateMask
- __renderMask
- __renderEraser
- __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
- __drawPath
- __drawRenderPath
- __updatePath
- __updateRenderPath
- getMotionPathData
- getMotionPoint
- getMotionTotal
- __updateMotionPath
- __runAnimation
- __emitLifeEvent
- __updateSortChildren
- dropTo
- __realSetAttr
- destroyEventer
- on
- off
- on_
- off_
- once
- emit
- emitEvent
- hasEvent
- destroy
- pick
- add
- addAt
- addAfter
- addBefore
- addMany
- remove
- removeAll
- clear
- reset
- set
- toJSON
- get
- createProxyData
- find
- findTag
- findOne
- findId
- getPath
- getPathString
- load
- __drawPathByData
- __drawPathByBox
- __drawAfterFill
- animate
- killAnimate
- export
- clone
Properties
id
• Optional
id: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:210
name
• Optional
name: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:211
className
• Optional
className: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:212
blendMode
• Optional
blendMode: IBlendMode
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:214
opacity
• Optional
opacity: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:215
visible
• Optional
visible: boolean
| 0
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:216
selected
• Optional
selected: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:217
disabled
• Optional
disabled: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:218
locked
• Optional
locked: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:219
zIndex
• Optional
zIndex: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:220
mask
• Optional
mask: boolean
| IMaskType
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:222
eraser
• Optional
eraser: boolean
| IEraserType
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:223
x
• Optional
x: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:226
y
• Optional
y: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:227
width
• Optional
width: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:228
height
• Optional
height: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:229
scaleX
• Optional
scaleX: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:230
scaleY
• Optional
scaleY: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:231
rotation
• Optional
rotation: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:232
skewX
• Optional
skewX: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:233
skewY
• Optional
skewY: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:234
scale
• Optional
scale: number
| IPointData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:236
offsetX
• Optional
offsetX: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:238
offsetY
• Optional
offsetY: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:239
scrollX
• Optional
scrollX: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:240
scrollY
• Optional
scrollY: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:241
origin
• Optional
origin: IUnitPointData
| IDirection
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:243
around
• Optional
around: IUnitPointData
| IDirection
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:244
lazy
• Optional
lazy: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:246
pixelRatio
• Optional
pixelRatio: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:247
path
• Optional
path: string
| IPathCommandData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:249
windingRule
• Optional
windingRule: IWindingRule
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:250
closed
• Optional
closed: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:251
flow
• Optional
flow: IFlowType
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:254
padding
• Optional
padding: IFourNumber
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:255
gap
• Optional
gap: IGap
| IPointGap
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:256
flowAlign
• Optional
flowAlign: IFlowAxisAlign
| IFlowAlign
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:257
flowWrap
• Optional
flowWrap: IFlowWrap
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:258
itemBox
• Optional
itemBox: IFlowBoxType
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:259
inFlow
• Optional
inFlow: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:261
autoWidth
• Optional
autoWidth: IAutoSize
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:262
autoHeight
• Optional
autoHeight: IAutoSize
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:263
lockRatio
• Optional
lockRatio: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:264
autoBox
• Optional
autoBox: IAutoBoxData
| IConstraint
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:265
widthRange
• Optional
widthRange: IRangeSize
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:267
heightRange
• Optional
heightRange: IRangeSize
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:268
draggable
• Optional
draggable: boolean
| IAxis
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:271
dragBounds
• Optional
dragBounds: "parent"
| IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:272
editable
• Optional
editable: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:274
hittable
• Optional
hittable: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:276
hitFill
• Optional
hitFill: IHitType
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:277
hitStroke
• Optional
hitStroke: IHitType
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:278
hitBox
• Optional
hitBox: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:279
hitChildren
• Optional
hitChildren: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:280
hitSelf
• Optional
hitSelf: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:281
hitRadius
• Optional
hitRadius: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:282
button
• Optional
button: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:284
cursor
• Optional
cursor: ICursorType
| ICursorType
[]
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:285
motionPath
• Optional
motionPath: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:287
motion
• Optional
motion: number
| IUnitData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:288
motionRotation
• Optional
motionRotation: number
| boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:289
normalStyle
• Optional
normalStyle: IObject
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:291
event
• Optional
event: IEventMap
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:293
data
• Optional
data: IObject
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:296
noBounds
• Optional
noBounds: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:305
tag
• tag: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:420
__tag
• Readonly
__tag: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:421
innerName
• Readonly
innerName: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:422
__DataProcessor
• Readonly
__DataProcessor: IObject
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:424
__LayoutProcessor
• Readonly
__LayoutProcessor: IObject
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:425
leaferIsCreated
• Readonly
leaferIsCreated: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:432
leaferIsReady
• Readonly
leaferIsReady: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:433
isApp
• Optional
Readonly
isApp: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:435
isLeafer
• Optional
Readonly
isLeafer: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:436
isBranch
• Optional
Readonly
isBranch: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:437
isBranchLeaf
• Optional
Readonly
isBranchLeaf: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:438
isOutside
• Optional
Readonly
isOutside: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:439
syncEventer
• Optional
syncEventer: ILeaf
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:446
lockNormalStyle
• Optional
lockNormalStyle: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:447
__layout
• __layout: ILeafLayout
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:449
__world
• __world: IMatrixWithBoundsScaleData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:451
__local
• Optional
__local: IMatrixWithBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:452
__nowWorld
• Optional
__nowWorld: IMatrixWithBoundsScaleData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:454
__cameraWorld
• Optional
__cameraWorld: IMatrixWithBoundsScaleData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:455
__localMatrix
• Readonly
__localMatrix: IMatrixData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:457
__localBoxBounds
• Readonly
__localBoxBounds: IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:458
__worldOpacity
• __worldOpacity: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:460
worldTransform
• Readonly
worldTransform: IMatrixWithScaleData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:462
localTransform
• Readonly
localTransform: IMatrixData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:463
boxBounds
• Readonly
boxBounds: IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:465
renderBounds
• Readonly
renderBounds: IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:466
worldBoxBounds
• Readonly
worldBoxBounds: IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:467
worldStrokeBounds
• Readonly
worldStrokeBounds: IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:468
worldRenderBounds
• Readonly
worldRenderBounds: IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:469
worldOpacity
• Readonly
worldOpacity: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:471
__level
• __level: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:473
__tempNumber
• Optional
__tempNumber: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:474
__worldFlipped
• Readonly
__worldFlipped: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:476
__hasAutoLayout
• Optional
__hasAutoLayout: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:481
__hasMotionPath
• Optional
__hasMotionPath: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:482
__hasMask
• Optional
__hasMask: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:484
__hasEraser
• Optional
__hasEraser: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:485
__hitCanvas
• Optional
__hitCanvas: IHitCanvas
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:486
__flowBounds
• Optional
__flowBounds: IBoundsData
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:488
__widthGrow
• Optional
__widthGrow: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:489
__heightGrow
• Optional
__heightGrow: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:490
__hasGrow
• Optional
__hasGrow: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:491
__onlyHitMask
• Readonly
__onlyHitMask: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:493
__ignoreHitWorld
• Readonly
__ignoreHitWorld: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:494
__inLazyBounds
• Readonly
__inLazyBounds: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:495
pathInputed
• Readonly
pathInputed: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:497
destroyed
• destroyed: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:499
innerId
• Readonly
innerId: number
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:39
__captureMap
• Optional
__captureMap: IEventListenerMap
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:40
__bubbleMap
• Optional
__bubbleMap: IEventListenerMap
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:41
cornerRadius
• Optional
cornerRadius: string
| IFourNumber
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:9
cornerSmoothing
• Optional
cornerSmoothing: number
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:10
fill
• Optional
fill: IFill
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:23
stroke
• Optional
stroke: IStroke
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:40
strokeAlign
• Optional
strokeAlign: IStrokeAlign
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:42
strokeWidth
• Optional
strokeWidth: string
| IFourNumber
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:43
strokeWidthFixed
• Optional
strokeWidthFixed: boolean
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:44
strokeCap
• Optional
strokeCap: IStrokeCap
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:45
strokeJoin
• Optional
strokeJoin: IStrokeJoin
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:46
dashPattern
• Optional
dashPattern: string
| number
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:47
dashOffset
• Optional
dashOffset: number
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:48
miterLimit
• Optional
miterLimit: number
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:49
startArrow
• Optional
startArrow: IArrowType
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:51
endArrow
• Optional
endArrow: IArrowType
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:52
shadow
• Optional
shadow: string
| IShadowEffect
| IShadowEffect
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:150
innerShadow
• Optional
innerShadow: string
| IShadowEffect
| IShadowEffect
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:151
blur
• Optional
blur: number
| IBlurEffect
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:152
backgroundBlur
• Optional
backgroundBlur: number
| IBlurEffect
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:153
grayscale
• Optional
grayscale: number
| IGrayscaleEffect
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:154
__
• __: IGroupData
Overrides
Defined in
ui/packages/interface/src/IUI.ts:346
children
• children: IUI
[]
Overrides
Defined in
ui/packages/interface/src/IUI.ts:347
app
• Readonly
app: ILeafer
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:365
leafer
• Optional
leafer: ILeafer
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:366
parent
• Optional
parent: IGroup
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:367
zoomLayer
• Optional
zoomLayer: IGroup
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:368
isFrame
• Optional
Readonly
isFrame: boolean
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:369
proxyData
• Optional
proxyData: IUIInputData
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:371
__proxyData
• Optional
__proxyData: IUIInputData
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:372
animation
• Optional
animation: IAnimation
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:374
animationOut
• Optional
animationOut: IAnimation
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:375
editConfig
• Optional
editConfig: IEditorConfig
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:377
editOuter
• editOuter: string
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:378
editInner
• editInner: string
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:379
__animate
• Optional
__animate: IAnimate
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:383
pen
• Readonly
pen: IPathCreator
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:385
transition
• Optional
transition: ITransition
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:434
transitionOut
• Optional
transitionOut: ITransition
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:435
states
• Optional
states: IStates
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:437
state
• Optional
state: string
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:438
hoverStyle
• Optional
hoverStyle: IStateStyle
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:440
pressStyle
• Optional
pressStyle: IStateStyle
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:441
focusStyle
• Optional
focusStyle: IStateStyle
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:442
selectedStyle
• Optional
selectedStyle: IStateStyle
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:443
disabledStyle
• Optional
disabledStyle: IStateStyle
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:444
Methods
resetCustom
▸ resetCustom(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:502
waitParent
▸ waitParent(item
, bind?
): void
Parameters
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:504
waitLeafer
▸ waitLeafer(item
, bind?
): void
Parameters
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:505
nextRender
▸ nextRender(item
, bind?
, off?
): void
Parameters
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
off? | "off" |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:506
removeNextRender
▸ removeNextRender(item
): void
Parameters
Name | Type |
---|---|
item | IFunction |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:507
__bindLeafer
▸ __bindLeafer(leafer
): void
Parameters
Name | Type |
---|---|
leafer | ILeaferBase |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:509
setAttr
▸ setAttr(name
, value
): void
Parameters
Name | Type |
---|---|
name | string |
value | any |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:513
getAttr
▸ getAttr(name
): any
Parameters
Name | Type |
---|---|
name | string |
Returns
any
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:514
getComputedAttr
▸ getComputedAttr(name
): any
Parameters
Name | Type |
---|---|
name | string |
Returns
any
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:515
toString
▸ toString(options?
): string
Parameters
Name | Type |
---|---|
options? | IJSONOptions |
Returns
string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:518
toSVG
▸ toSVG(): string
Returns
string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:519
__SVG
▸ __SVG(data
): void
Parameters
Name | Type |
---|---|
data | IObject |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:520
toHTML
▸ toHTML(): string
Returns
string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:521
__setAttr
▸ __setAttr(attrName
, newValue
, checkFiniteNumber?
): boolean
Parameters
Name | Type |
---|---|
attrName | string |
newValue | IValue |
checkFiniteNumber? | boolean |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:524
__getAttr
▸ __getAttr(attrName
): IValue
Parameters
Name | Type |
---|---|
attrName | string |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:525
setProxyAttr
▸ setProxyAttr(name
, newValue
): void
Parameters
Name | Type |
---|---|
name | string |
newValue | IValue |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:526
getProxyAttr
▸ getProxyAttr(name
): IValue
Parameters
Name | Type |
---|---|
name | string |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:527
focus
▸ focus(value?
): void
Parameters
Name | Type |
---|---|
value? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:535
updateState
▸ updateState(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:537
updateLayout
▸ updateLayout(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:538
forceUpdate
▸ forceUpdate(attrName?
): void
Parameters
Name | Type |
---|---|
attrName? | string |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:539
forceRender
▸ forceRender(_bounds?
): void
Parameters
Name | Type |
---|---|
_bounds? | IBoundsData |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:540
__updateWorldMatrix
▸ __updateWorldMatrix(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:543
__updateLocalMatrix
▸ __updateLocalMatrix(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:544
__updateWorldBounds
▸ __updateWorldBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:547
__updateLocalBounds
▸ __updateLocalBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:548
__updateLocalBoxBounds
▸ __updateLocalBoxBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:550
__updateLocalStrokeBounds
▸ __updateLocalStrokeBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:551
__updateLocalRenderBounds
▸ __updateLocalRenderBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:552
__updateContentBounds
▸ __updateContentBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:554
__updateBoxBounds
▸ __updateBoxBounds(secondLayout?
): void
Parameters
Name | Type |
---|---|
secondLayout? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:555
__updateStrokeBounds
▸ __updateStrokeBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:556
__updateRenderBounds
▸ __updateRenderBounds(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:557
__updateAutoLayout
▸ __updateAutoLayout(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:559
__updateFlowLayout
▸ __updateFlowLayout(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:560
__updateNaturalSize
▸ __updateNaturalSize(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:561
__updateStrokeSpread
▸ __updateStrokeSpread(): number
Returns
number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:563
__updateRenderSpread
▸ __updateRenderSpread(): number
Returns
number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:564
__onUpdateSize
▸ __onUpdateSize(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:566
__updateEraser
▸ __updateEraser(value?
): void
Parameters
Name | Type |
---|---|
value? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:569
__updateMask
▸ __updateMask(value?
): void
Parameters
Name | Type |
---|---|
value? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:570
__renderMask
▸ __renderMask(canvas
, options
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:571
__renderEraser
▸ __renderEraser(canvas
, options
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:572
__getNowWorld
▸ __getNowWorld(options
): IMatrixWithBoundsScaleData
Parameters
Name | Type |
---|---|
options | IRenderOptions |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:575
getTransform
▸ getTransform(relative?
): IMatrixData
Parameters
Name | Type |
---|---|
relative? | ILeaf | ILocationType |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:577
getBounds
▸ getBounds(type?
, relative?
): IBoundsData
Parameters
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:579
getLayoutBounds
▸ getLayoutBounds(type?
, relative?
, unscale?
): ILayoutBoundsData
Parameters
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
unscale? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:580
getLayoutPoints
▸ getLayoutPoints(type?
, relative?
): IPointData
[]
Parameters
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:581
getWorldBounds
▸ getWorldBounds(inner
, relative?
, change?
): IBoundsData
Parameters
Name | Type |
---|---|
inner | IBoundsData |
relative? | ILeaf |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:583
worldToLocal
▸ worldToLocal(world
, to?
, distance?
, relative?
): void
Parameters
Name | Type |
---|---|
world | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:585
localToWorld
▸ localToWorld(local
, to?
, distance?
, relative?
): void
Parameters
Name | Type |
---|---|
local | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:586
worldToInner
▸ worldToInner(world
, to?
, distance?
, relative?
): void
Parameters
Name | Type |
---|---|
world | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:587
innerToWorld
▸ innerToWorld(inner
, to?
, distance?
, relative?
): void
Parameters
Name | Type |
---|---|
inner | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:588
getBoxPoint
▸ getBoxPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:590
getBoxPointByInner
▸ getBoxPointByInner(inner
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
inner | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:591
getInnerPoint
▸ getInnerPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:592
getInnerPointByBox
▸ getInnerPointByBox(box
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
box | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:593
getInnerPointByLocal
▸ getInnerPointByLocal(local
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
local | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:594
getLocalPoint
▸ getLocalPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:595
getLocalPointByInner
▸ getLocalPointByInner(inner
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
inner | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:596
getPagePoint
▸ getPagePoint(world
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:597
getWorldPoint
▸ getWorldPoint(inner
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
inner | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:598
getWorldPointByBox
▸ getWorldPointByBox(box
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
box | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:599
getWorldPointByLocal
▸ getWorldPointByLocal(local
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
local | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:600
getWorldPointByPage
▸ getWorldPointByPage(page
, relative?
, distance?
, change?
): IPointData
Parameters
Name | Type |
---|---|
page | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:601
setTransform
▸ setTransform(transform?
, resize?
): void
Parameters
Name | Type |
---|---|
transform? | IMatrixData |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:604
transform
▸ transform(transform?
, resize?
): void
Parameters
Name | Type |
---|---|
transform? | IMatrixData |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:605
move
▸ move(x
, y?
): void
Parameters
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:606
moveInner
▸ moveInner(x
, y?
): void
Parameters
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:608
scaleOf
▸ scaleOf(origin
, scaleX
, scaleY?
, resize?
): void
Parameters
Name | Type |
---|---|
origin | IPointData | IDirection |
scaleX | number |
scaleY? | number |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:609
rotateOf
▸ rotateOf(origin
, rotation
): void
Parameters
Name | Type |
---|---|
origin | IPointData | IDirection |
rotation | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:610
skewOf
▸ skewOf(origin
, skewX
, skewY?
, resize?
): void
Parameters
Name | Type |
---|---|
origin | IPointData | IDirection |
skewX | number |
skewY? | number |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:611
transformWorld
▸ transformWorld(worldTransform?
, resize?
): void
Parameters
Name | Type |
---|---|
worldTransform? | IMatrixData |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:613
moveWorld
▸ moveWorld(x
, y?
): void
Parameters
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:614
scaleOfWorld
▸ scaleOfWorld(worldOrigin
, scaleX
, scaleY?
, resize?
): void
Parameters
Name | Type |
---|---|
worldOrigin | IPointData |
scaleX | number |
scaleY? | number |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:615
rotateOfWorld
▸ rotateOfWorld(worldOrigin
, rotation
): void
Parameters
Name | Type |
---|---|
worldOrigin | IPointData |
rotation | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:616
skewOfWorld
▸ skewOfWorld(worldOrigin
, skewX
, skewY?
, resize?
): void
Parameters
Name | Type |
---|---|
worldOrigin | IPointData |
skewX | number |
skewY? | number |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:617
flip
▸ flip(axis
): void
Parameters
Name | Type |
---|---|
axis | IAxis |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:619
scaleResize
▸ scaleResize(scaleX
, scaleY
, noResize?
): void
Parameters
Name | Type |
---|---|
scaleX | number |
scaleY | number |
noResize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:621
__scaleResize
▸ __scaleResize(scaleX
, scaleY
): void
Parameters
Name | Type |
---|---|
scaleX | number |
scaleY | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:622
resizeWidth
▸ resizeWidth(width
): void
Parameters
Name | Type |
---|---|
width | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:624
resizeHeight
▸ resizeHeight(height
): void
Parameters
Name | Type |
---|---|
height | number |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:625
__hitWorld
▸ __hitWorld(point
): boolean
Parameters
Name | Type |
---|---|
point | IRadiusPointData |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:628
__hit
▸ __hit(local
): boolean
Parameters
Name | Type |
---|---|
local | IRadiusPointData |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:629
__hitFill
▸ __hitFill(inner
): boolean
Parameters
Name | Type |
---|---|
inner | IRadiusPointData |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:630
__hitStroke
▸ __hitStroke(inner
, strokeWidth
): boolean
Parameters
Name | Type |
---|---|
inner | IRadiusPointData |
strokeWidth | number |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:631
__hitPixel
▸ __hitPixel(inner
): boolean
Parameters
Name | Type |
---|---|
inner | IRadiusPointData |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:632
__drawHitPath
▸ __drawHitPath(canvas
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:633
__updateHitCanvas
▸ __updateHitCanvas(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:634
__render
▸ __render(canvas
, options
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:637
__drawFast
▸ __drawFast(canvas
, options
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:638
__draw
▸ __draw(canvas
, options
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:639
__clip
▸ __clip(canvas
, options
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:641
__renderShape
▸ __renderShape(canvas
, options
, ignoreFill?
, ignoreStroke?
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
ignoreFill? | boolean |
ignoreStroke? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:642
__updateWorldOpacity
▸ __updateWorldOpacity(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:644
__updateChange
▸ __updateChange(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:645
__drawPath
▸ __drawPath(canvas
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:648
__drawRenderPath
▸ __drawRenderPath(canvas
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:649
__updatePath
▸ __updatePath(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:650
__updateRenderPath
▸ __updateRenderPath(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:651
getMotionPathData
▸ getMotionPathData(): IMotionPathData
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:654
getMotionPoint
▸ getMotionPoint(motionDistance
): IRotationPointData
Parameters
Name | Type |
---|---|
motionDistance | number | IUnitData |
Returns
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:655
getMotionTotal
▸ getMotionTotal(): number
Returns
number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:656
__updateMotionPath
▸ __updateMotionPath(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:658
__runAnimation
▸ __runAnimation(type
, complete?
): void
Parameters
Name | Type |
---|---|
type | "in" | "out" |
complete? | IFunction |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:660
__emitLifeEvent
▸ __emitLifeEvent(type
): void
Parameters
Name | Type |
---|---|
type | string |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:662
__updateSortChildren
▸ __updateSortChildren(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:667
dropTo
▸ dropTo(parent
, index?
, resize?
): void
Parameters
Name | Type |
---|---|
parent | ILeaf |
index? | number |
resize? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:670
__realSetAttr
▸ __realSetAttr(name
, newValue
): void
Parameters
Name | Type |
---|---|
name | string |
newValue | IValue |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/module/ILeafDataProxy.ts:9
destroyEventer
▸ destroyEventer(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:18
on
▸ on(type
, listener?
, options?
): void
Parameters
Name | Type |
---|---|
type | string | string [] | IEventMap |
listener? | IFunction |
options? | IEventOption |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:45
off
▸ off(type?
, listener?
, options?
): void
Parameters
Name | Type |
---|---|
type? | string | string [] |
listener? | IFunction |
options? | IEventOption |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:46
on_
▸ on_(type
, listener
, bind?
, options?
): IEventListenerId
Parameters
Name | Type |
---|---|
type | string | string [] |
listener | IFunction |
bind? | IObject |
options? | IEventOption |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:47
off_
▸ off_(id
): void
Parameters
Name | Type |
---|---|
id | IEventListenerId | IEventListenerId [] |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:48
once
▸ once(type
, listener
): void
Parameters
Name | Type |
---|---|
type | string | string [] |
listener | IFunction |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:49
emit
▸ emit(type
, event?
, capture?
): void
Parameters
Name | Type |
---|---|
type | string |
event? | IObject | IEvent |
capture? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:50
emitEvent
▸ emitEvent(event?
, capture?
): void
Parameters
Name | Type |
---|---|
event? | IEvent |
capture? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:51
hasEvent
▸ hasEvent(type
, capture?
): boolean
Parameters
Name | Type |
---|---|
type | string |
capture? | boolean |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:52
destroy
▸ destroy(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:54
pick
▸ pick(hitPoint
, options?
): IPickResult
Parameters
Name | Type |
---|---|
hitPoint | IPointData |
options? | IPickOptions |
Returns
Defined in
ui/packages/interface/src/IUI.ts:348
add
▸ add(child
, index?
): void
Parameters
Name | Type |
---|---|
child | IUIInputData | IUI |
index? | number |
Returns
void
Overrides
Defined in
ui/packages/interface/src/IUI.ts:349
addAt
▸ addAt(child
, index
): void
Parameters
Name | Type |
---|---|
child | IUIInputData | IUI |
index | number |
Returns
void
Defined in
ui/packages/interface/src/IUI.ts:350
addAfter
▸ addAfter(child
, after
): void
Parameters
Name | Type |
---|---|
child | IUIInputData | IUI |
after | IUI |
Returns
void
Defined in
ui/packages/interface/src/IUI.ts:351
addBefore
▸ addBefore(child
, before
): void
Parameters
Name | Type |
---|---|
child | IUIInputData | IUI |
before | IUI |
Returns
void
Defined in
ui/packages/interface/src/IUI.ts:352
addMany
▸ addMany(...children
): void
Parameters
Name | Type |
---|---|
...children | ILeaf [] | IUIInputData [] |
Returns
void
Defined in
ui/packages/interface/src/IUI.ts:353
remove
▸ remove(child?
): void
Parameters
Name | Type |
---|---|
child? | string | number | IFindCondition | IUI | IFindUIMethod |
Returns
void
Overrides
Defined in
ui/packages/interface/src/IUI.ts:354
removeAll
▸ removeAll(): void
Returns
void
Defined in
ui/packages/interface/src/IUI.ts:355
clear
▸ clear(): void
Returns
void
Defined in
ui/packages/interface/src/IUI.ts:356
reset
▸ reset(data?
): void
Parameters
Name | Type |
---|---|
data? | IUIInputData |
Returns
void
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:387
set
▸ set(data
, isTemp?
): void
Parameters
Name | Type |
---|---|
data | IUIInputData |
isTemp? | boolean |
Returns
void
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:389
toJSON
▸ toJSON(options?
): IUIJSONData
Parameters
Name | Type |
---|---|
options? | IJSONOptions |
Returns
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:390
get
▸ get(name?
): IValue
| IUIInputData
Parameters
Name | Type |
---|---|
name? | string | string [] | IUIInputData |
Returns
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:392
createProxyData
▸ createProxyData(): IUIInputData
Returns
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:393
find
▸ find(condition
, options?
): IUI
[]
Parameters
Name | Type |
---|---|
condition | string | number | IFindCondition | IFindUIMethod |
options? | any |
Returns
IUI
[]
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:395
findTag
▸ findTag(tag
): IUI
[]
Parameters
Name | Type |
---|---|
tag | string | string [] |
Returns
IUI
[]
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:396
findOne
▸ findOne(condition
, options?
): IUI
Parameters
Name | Type |
---|---|
condition | string | number | IFindCondition | IFindUIMethod |
options? | any |
Returns
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:397
findId
▸ findId(id
): IUI
Parameters
Name | Type |
---|---|
id | string | number |
Returns
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:398
getPath
▸ getPath(curve?
, pathForRender?
): IPathCommandData
Parameters
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:400
getPathString
▸ getPathString(curve?
, pathForRender?
): string
Parameters
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns
string
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:401
load
▸ load(): void
Returns
void
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:403
__drawPathByData
▸ __drawPathByData(drawer
, data
): void
Parameters
Name | Type |
---|---|
drawer | IPathDrawer |
data | IPathCommandData |
Returns
void
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:405
__drawPathByBox
▸ __drawPathByBox(drawer
): void
Parameters
Name | Type |
---|---|
drawer | IPathDrawer |
Returns
void
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:406
__drawAfterFill
▸ __drawAfterFill(canvas
, options
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns
void
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:407
animate
▸ animate(keyframe?
, options?
, type?
, isTemp?
): IAnimate
Parameters
Name | Type |
---|---|
keyframe? | IAnimation | IUIInputData | IKeyframe [] |
options? | ITransition |
type? | IAnimateType |
isTemp? | boolean |
Returns
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:409
killAnimate
▸ killAnimate(type?
): void
Parameters
Name | Type |
---|---|
type? | IAnimateType |
Returns
void
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:410
export
▸ export(filename
, options?
): Promise
<IExportResult
>
Parameters
Name | Type |
---|---|
filename | string |
options? | number | boolean | IExportOptions |
Returns
Promise
<IExportResult
>
Inherited from
Defined in
ui/packages/interface/src/IUI.ts:412
clone
▸ clone(data?
): IUI
Parameters
Name | Type |
---|---|
data? | IUIInputData |