Interface: ISelectArea â
Hierarchy â
âŗ
ISelectArea
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
- motionPrecision
- 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
- isOverflow
- proxyData
- __proxyData
- animation
- animationOut
- editConfig
- editOuter
- editInner
- __animate
- pen
- transition
- transitionOut
- states
- state
- hoverStyle
- pressStyle
- focusStyle
- selectedStyle
- disabledStyle
Methods â
- setStyle
- setBounds
- 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
- __drawContent
- animate
- killAnimate
- export
- clone
Properties â
id â
âĸ Optional
id: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:212
name â
âĸ Optional
name: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:213
className â
âĸ Optional
className: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:214
blendMode â
âĸ Optional
blendMode: IBlendMode
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:216
opacity â
âĸ Optional
opacity: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:217
visible â
âĸ Optional
visible: boolean
| 0
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:218
selected â
âĸ Optional
selected: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:219
disabled â
âĸ Optional
disabled: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:220
locked â
âĸ Optional
locked: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:221
zIndex â
âĸ Optional
zIndex: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:222
mask â
âĸ Optional
mask: boolean
| IMaskType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:224
eraser â
âĸ Optional
eraser: boolean
| IEraserType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:225
x â
âĸ Optional
x: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:228
y â
âĸ Optional
y: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:229
width â
âĸ Optional
width: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:230
height â
âĸ Optional
height: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:231
scaleX â
âĸ Optional
scaleX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:232
scaleY â
âĸ Optional
scaleY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:233
rotation â
âĸ Optional
rotation: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:234
skewX â
âĸ Optional
skewX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:235
skewY â
âĸ Optional
skewY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:236
scale â
âĸ Optional
scale: number
| IPointData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:238
offsetX â
âĸ Optional
offsetX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:240
offsetY â
âĸ Optional
offsetY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:241
scrollX â
âĸ Optional
scrollX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:242
scrollY â
âĸ Optional
scrollY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:243
origin â
âĸ Optional
origin: IUnitPointData
| IDirection
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:245
around â
âĸ Optional
around: IUnitPointData
| IDirection
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:246
lazy â
âĸ Optional
lazy: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:248
pixelRatio â
âĸ Optional
pixelRatio: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:249
path â
âĸ Optional
path: string
| IPathCommandData
| IPathCommandObject
[]
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:251
windingRule â
âĸ Optional
windingRule: IWindingRule
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:252
closed â
âĸ Optional
closed: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:253
flow â
âĸ Optional
flow: IFlowType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:256
padding â
âĸ Optional
padding: IFourNumber
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:257
gap â
âĸ Optional
gap: IGap
| IPointGap
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:258
flowAlign â
âĸ Optional
flowAlign: IFlowAxisAlign
| IFlowAlign
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:259
flowWrap â
âĸ Optional
flowWrap: IFlowWrap
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:260
itemBox â
âĸ Optional
itemBox: IFlowBoxType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:261
inFlow â
âĸ Optional
inFlow: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:263
autoWidth â
âĸ Optional
autoWidth: IAutoSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:264
autoHeight â
âĸ Optional
autoHeight: IAutoSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:265
lockRatio â
âĸ Optional
lockRatio: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:266
autoBox â
âĸ Optional
autoBox: IAutoBoxData
| IConstraint
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:267
widthRange â
âĸ Optional
widthRange: IRangeSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:269
heightRange â
âĸ Optional
heightRange: IRangeSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:270
draggable â
âĸ Optional
draggable: boolean
| IAxis
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:273
dragBounds â
âĸ Optional
dragBounds: "parent"
| IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:274
editable â
âĸ Optional
editable: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:276
hittable â
âĸ Optional
hittable: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:278
hitFill â
âĸ Optional
hitFill: IHitType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:279
hitStroke â
âĸ Optional
hitStroke: IHitType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:280
hitBox â
âĸ Optional
hitBox: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:281
hitChildren â
âĸ Optional
hitChildren: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:282
hitSelf â
âĸ Optional
hitSelf: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:283
hitRadius â
âĸ Optional
hitRadius: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:284
button â
âĸ Optional
button: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:286
cursor â
âĸ Optional
cursor: ICursorType
| ICursorType
[]
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:287
motionPath â
âĸ Optional
motionPath: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:289
motionPrecision â
âĸ Optional
motionPrecision: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:290
motion â
âĸ Optional
motion: number
| IUnitData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:292
motionRotation â
âĸ Optional
motionRotation: number
| boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:293
normalStyle â
âĸ Optional
normalStyle: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:295
event â
âĸ Optional
event: IEventMap
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:297
data â
âĸ Optional
data: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:300
noBounds â
âĸ Optional
noBounds: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:309
tag â
âĸ tag: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:427
__tag â
âĸ Readonly
__tag: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:428
innerName â
âĸ Readonly
innerName: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:429
__DataProcessor â
âĸ Readonly
__DataProcessor: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:431
__LayoutProcessor â
âĸ Readonly
__LayoutProcessor: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:432
leaferIsCreated â
âĸ Readonly
leaferIsCreated: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:439
leaferIsReady â
âĸ Readonly
leaferIsReady: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:440
isApp â
âĸ Optional
Readonly
isApp: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:442
isLeafer â
âĸ Optional
Readonly
isLeafer: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:443
isBranch â
âĸ Optional
Readonly
isBranch: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:444
isBranchLeaf â
âĸ Optional
Readonly
isBranchLeaf: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:445
isOutside â
âĸ Optional
Readonly
isOutside: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:446
syncEventer â
âĸ Optional
syncEventer: ILeaf
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:453
lockNormalStyle â
âĸ Optional
lockNormalStyle: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:454
__layout â
âĸ __layout: ILeafLayout
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:456
__world â
âĸ __world: IMatrixWithBoundsScaleData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:458
__local â
âĸ Optional
__local: IMatrixWithBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:459
__nowWorld â
âĸ Optional
__nowWorld: IMatrixWithBoundsScaleData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:461
__cameraWorld â
âĸ Optional
__cameraWorld: IMatrixWithBoundsScaleData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:462
__localMatrix â
âĸ Readonly
__localMatrix: IMatrixData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:464
__localBoxBounds â
âĸ Readonly
__localBoxBounds: IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:465
__worldOpacity â
âĸ __worldOpacity: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:467
worldTransform â
âĸ Readonly
worldTransform: IMatrixWithScaleData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:469
localTransform â
âĸ Readonly
localTransform: IMatrixData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:470
boxBounds â
âĸ Readonly
boxBounds: IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:472
renderBounds â
âĸ Readonly
renderBounds: IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:473
worldBoxBounds â
âĸ Readonly
worldBoxBounds: IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:474
worldStrokeBounds â
âĸ Readonly
worldStrokeBounds: IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:475
worldRenderBounds â
âĸ Readonly
worldRenderBounds: IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:476
worldOpacity â
âĸ Readonly
worldOpacity: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:478
__level â
âĸ __level: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:480
__tempNumber â
âĸ Optional
__tempNumber: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:481
__worldFlipped â
âĸ Readonly
__worldFlipped: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:483
__hasAutoLayout â
âĸ Optional
__hasAutoLayout: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:488
__hasMotionPath â
âĸ Optional
__hasMotionPath: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:489
__hasMask â
âĸ Optional
__hasMask: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:491
__hasEraser â
âĸ Optional
__hasEraser: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:492
__hitCanvas â
âĸ Optional
__hitCanvas: IHitCanvas
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:493
__flowBounds â
âĸ Optional
__flowBounds: IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:495
__widthGrow â
âĸ Optional
__widthGrow: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:496
__heightGrow â
âĸ Optional
__heightGrow: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:497
__hasGrow â
âĸ Optional
__hasGrow: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:498
__onlyHitMask â
âĸ Readonly
__onlyHitMask: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:500
__ignoreHitWorld â
âĸ Readonly
__ignoreHitWorld: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:501
__inLazyBounds â
âĸ Readonly
__inLazyBounds: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:502
pathInputed â
âĸ Readonly
pathInputed: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:504
destroyed â
âĸ destroyed: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:506
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
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:347
children â
âĸ children: IUI
[]
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:348
app â
âĸ Readonly
app: ILeafer
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:366
leafer â
âĸ Optional
leafer: ILeafer
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:367
parent â
âĸ Optional
parent: IGroup
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:368
zoomLayer â
âĸ Optional
zoomLayer: IGroup
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:369
isFrame â
âĸ Optional
Readonly
isFrame: boolean
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:370
isOverflow â
âĸ Optional
isOverflow: boolean
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:373
__proxyData â
âĸ Optional
__proxyData: IUIInputData
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:374
animation â
âĸ Optional
animation: IAnimation
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:376
animationOut â
âĸ Optional
animationOut: IAnimation
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:377
editConfig â
âĸ Optional
editConfig: IEditorConfig
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:379
editOuter â
âĸ editOuter: string
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:380
editInner â
âĸ editInner: string
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:381
__animate â
âĸ Optional
__animate: IAnimate
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:385
pen â
âĸ Readonly
pen: IPathCreator
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:387
transition â
âĸ Optional
transition: ITransition
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:437
transitionOut â
âĸ Optional
transitionOut: ITransition
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:438
states â
âĸ Optional
states: IStates
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:440
state â
âĸ Optional
state: string
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:441
hoverStyle â
âĸ Optional
hoverStyle: IStateStyle
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:443
pressStyle â
âĸ Optional
pressStyle: IStateStyle
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:444
focusStyle â
âĸ Optional
focusStyle: IStateStyle
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:445
selectedStyle â
âĸ Optional
selectedStyle: IStateStyle
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:446
disabledStyle â
âĸ Optional
disabledStyle: IStateStyle
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:447
Methods â
setStyle â
⸠setStyle(style
, userStyle?
): void
Parameters â
Name | Type |
---|---|
style | IRectInputData |
userStyle? | IRectInputData |
Returns â
void
Defined in â
in/packages/interface/src/editor/ISelectArea.ts:4
setBounds â
⸠setBounds(bounds
): void
Parameters â
Name | Type |
---|---|
bounds | IBoundsData |
Returns â
void
Defined in â
in/packages/interface/src/editor/ISelectArea.ts:5
resetCustom â
⸠resetCustom(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:509
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:511
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:512
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:513
removeNextRender â
⸠removeNextRender(item
): void
Parameters â
Name | Type |
---|---|
item | IFunction |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:514
__bindLeafer â
⸠__bindLeafer(leafer
): void
Parameters â
Name | Type |
---|---|
leafer | ILeaferBase |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:516
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:520
getAttr â
⸠getAttr(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:521
getComputedAttr â
⸠getComputedAttr(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:522
toString â
⸠toString(options?
): string
Parameters â
Name | Type |
---|---|
options? | IJSONOptions |
Returns â
string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:525
toSVG â
⸠toSVG(): string
Returns â
string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:526
__SVG â
⸠__SVG(data
): void
Parameters â
Name | Type |
---|---|
data | IObject |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:527
toHTML â
⸠toHTML(): string
Returns â
string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:528
__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:534
__getAttr â
⸠__getAttr(attrName
): IValue
Parameters â
Name | Type |
---|---|
attrName | string |
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:535
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:536
getProxyAttr â
⸠getProxyAttr(name
): IValue
Parameters â
Name | Type |
---|---|
name | string |
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:537
focus â
⸠focus(value?
): void
Parameters â
Name | Type |
---|---|
value? | boolean |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:545
updateState â
⸠updateState(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:547
updateLayout â
⸠updateLayout(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:548
forceUpdate â
⸠forceUpdate(attrName?
): void
Parameters â
Name | Type |
---|---|
attrName? | string |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:549
forceRender â
⸠forceRender(bounds?
, sync?
): void
Parameters â
Name | Type |
---|---|
bounds? | IBoundsData |
sync? | boolean |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:550
__updateWorldMatrix â
⸠__updateWorldMatrix(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:553
__updateLocalMatrix â
⸠__updateLocalMatrix(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:554
__updateWorldBounds â
⸠__updateWorldBounds(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:557
__updateLocalBounds â
⸠__updateLocalBounds(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:558
__updateLocalBoxBounds â
⸠__updateLocalBoxBounds(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:560
__updateLocalStrokeBounds â
⸠__updateLocalStrokeBounds(): void
Returns â
void
Inherited from â
IGroup.__updateLocalStrokeBounds
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:561
__updateLocalRenderBounds â
⸠__updateLocalRenderBounds(): void
Returns â
void
Inherited from â
IGroup.__updateLocalRenderBounds
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:562
__updateContentBounds â
⸠__updateContentBounds(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:564
__updateBoxBounds â
⸠__updateBoxBounds(secondLayout?
): void
Parameters â
Name | Type |
---|---|
secondLayout? | boolean |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:565
__updateStrokeBounds â
⸠__updateStrokeBounds(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:566
__updateRenderBounds â
⸠__updateRenderBounds(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:567
__updateAutoLayout â
⸠__updateAutoLayout(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:569
__updateFlowLayout â
⸠__updateFlowLayout(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:570
__updateNaturalSize â
⸠__updateNaturalSize(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:571
__updateStrokeSpread â
⸠__updateStrokeSpread(): number
Returns â
number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:573
__updateRenderSpread â
⸠__updateRenderSpread(): number
Returns â
number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:574
__onUpdateSize â
⸠__onUpdateSize(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:576
__updateEraser â
⸠__updateEraser(value?
): void
Parameters â
Name | Type |
---|---|
value? | boolean |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:579
__updateMask â
⸠__updateMask(value?
): void
Parameters â
Name | Type |
---|---|
value? | boolean |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:580
__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:581
__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:582
__getNowWorld â
⸠__getNowWorld(options
): IMatrixWithBoundsScaleData
Parameters â
Name | Type |
---|---|
options | IRenderOptions |
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:585
getTransform â
⸠getTransform(relative?
): IMatrixData
Parameters â
Name | Type |
---|---|
relative? | ILeaf | ILocationType |
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:587
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:589
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:590
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:591
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:593
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:595
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:596
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:597
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:598
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:600
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:601
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:602
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:603
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:604
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:605
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:606
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:607
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:608
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:609
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:610
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:611
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:614
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:615
move â
⸠move(x
, y?
, transition?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | any |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:616
moveInner â
⸠moveInner(x
, y?
, transition?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | any |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:618
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:619
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:620
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:621
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:623
moveWorld â
⸠moveWorld(x
, y?
, transition?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
transition? | any |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:624
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:625
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:626
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:627
flip â
⸠flip(axis
): void
Parameters â
Name | Type |
---|---|
axis | IAxis |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:629
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:631
__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:632
resizeWidth â
⸠resizeWidth(width
): void
Parameters â
Name | Type |
---|---|
width | number |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:634
resizeHeight â
⸠resizeHeight(height
): void
Parameters â
Name | Type |
---|---|
height | number |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:635
__hitWorld â
⸠__hitWorld(point
): boolean
Parameters â
Name | Type |
---|---|
point | IRadiusPointData |
Returns â
boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:638
__hit â
⸠__hit(local
): boolean
Parameters â
Name | Type |
---|---|
local | IRadiusPointData |
Returns â
boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:639
__hitFill â
⸠__hitFill(inner
): boolean
Parameters â
Name | Type |
---|---|
inner | IRadiusPointData |
Returns â
boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:640
__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:641
__hitPixel â
⸠__hitPixel(inner
): boolean
Parameters â
Name | Type |
---|---|
inner | IRadiusPointData |
Returns â
boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:642
__drawHitPath â
⸠__drawHitPath(canvas
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:643
__updateHitCanvas â
⸠__updateHitCanvas(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:644
__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:647
__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:648
__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:649
__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:651
__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:652
__updateWorldOpacity â
⸠__updateWorldOpacity(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:654
__updateChange â
⸠__updateChange(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:655
__drawPath â
⸠__drawPath(canvas
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:658
__drawRenderPath â
⸠__drawRenderPath(canvas
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:659
__updatePath â
⸠__updatePath(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:660
__updateRenderPath â
⸠__updateRenderPath(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:661
getMotionPathData â
⸠getMotionPathData(): IMotionPathData
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:664
getMotionPoint â
⸠getMotionPoint(motionDistance
): IRotationPointData
Parameters â
Name | Type |
---|---|
motionDistance | number | IUnitData |
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:665
getMotionTotal â
⸠getMotionTotal(): number
Returns â
number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:666
__updateMotionPath â
⸠__updateMotionPath(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:668
__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:670
__emitLifeEvent â
⸠__emitLifeEvent(type
): void
Parameters â
Name | Type |
---|---|
type | string |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:672
__updateSortChildren â
⸠__updateSortChildren(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:677
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:680
__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 â
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:349
add â
⸠add(child
, index?
): void
Parameters â
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
index? | number |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:350
addAt â
⸠addAt(child
, index
): void
Parameters â
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
index | number |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:351
addAfter â
⸠addAfter(child
, after
): void
Parameters â
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
after | IUI |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:352
addBefore â
⸠addBefore(child
, before
): void
Parameters â
Name | Type |
---|---|
child | IUIInputData | IUI | IUI [] | IUIInputData [] |
before | IUI |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:353
addMany â
⸠addMany(...children
): void
Parameters â
Name | Type |
---|---|
...children | ILeaf [] | IUIInputData [] |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:354
remove â
⸠remove(child?
): void
Parameters â
Name | Type |
---|---|
child? | string | number | IFindCondition | IUI | IFindUIMethod |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:355
removeAll â
⸠removeAll(): void
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:356
clear â
⸠clear(): void
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:357
reset â
⸠reset(data?
): void
Parameters â
Name | Type |
---|---|
data? | IUIInputData |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:389
set â
⸠set(data
, transition?
): void
Parameters â
Name | Type |
---|---|
data | IUIInputData |
transition? | ITransition | "temp" |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:391
toJSON â
⸠toJSON(options?
): IUIJSONData
Parameters â
Name | Type |
---|---|
options? | IJSONOptions |
Returns â
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:392
get â
⸠get(name?
): IValue
| IUIInputData
Parameters â
Name | Type |
---|---|
name? | string | string [] | IUIInputData |
Returns â
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:394
createProxyData â
⸠createProxyData(): IUIInputData
Returns â
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:395
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:397
findTag â
⸠findTag(tag
): IUI
[]
Parameters â
Name | Type |
---|---|
tag | string | string [] |
Returns â
IUI
[]
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:398
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:399
findId â
⸠findId(id
): IUI
Parameters â
Name | Type |
---|---|
id | string | number |
Returns â
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:400
getPath â
⸠getPath(curve?
, pathForRender?
): IPathCommandData
Parameters â
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns â
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:402
getPathString â
⸠getPathString(curve?
, pathForRender?
): string
Parameters â
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns â
string
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:403
load â
⸠load(): void
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:405
__drawPathByData â
⸠__drawPathByData(drawer
, data
): void
Parameters â
Name | Type |
---|---|
drawer | IPathDrawer |
data | IPathCommandData |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:407
__drawPathByBox â
⸠__drawPathByBox(drawer
): void
Parameters â
Name | Type |
---|---|
drawer | IPathDrawer |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:408
__drawAfterFill â
⸠__drawAfterFill(canvas
, options
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:409
__drawContent â
⸠__drawContent(canvas
, options
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:410
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:412
killAnimate â
⸠killAnimate(type?
): void
Parameters â
Name | Type |
---|---|
type? | IAnimateType |
Returns â
void
Inherited from â
Defined in â
ui/packages/interface/src/IUI.ts:413
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:415
clone â
⸠clone(data?
): IUI
Parameters â
Name | Type |
---|---|
data? | IUIInputData |