Interface: IRobot โ
Hierarchy โ
IRobotAttrData
IPlayerMethods
โณ
IRobot
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
- __
- running
- nowFrame
- robotFrames
- robot
- actions
- action
- now
- FPS
- loop
- app
- leafer
- parent
- zoomLayer
- isFrame
- isOverflow
- proxyData
- __proxyData
- animation
- animationOut
- editConfig
- editOuter
- editInner
- children
- __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
- add
- remove
- dropTo
- __realSetAttr
- destroyEventer
- on
- off
- on_
- off_
- once
- emit
- emitEvent
- hasEvent
- destroy
- play
- pause
- stop
- __updateRobot
- __updateAction
- 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: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
| IPathCommandObject
[]
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
__ โ
โข __: IRobotData
Overrides โ
Defined in โ
ui/packages/interface/src/IUI.ts:88
running โ
โข Readonly
running: boolean
Defined in โ
ui/packages/interface/src/IUI.ts:89
nowFrame โ
โข Optional
Readonly
nowFrame: IRobotComputedKeyframe
Defined in โ
ui/packages/interface/src/IUI.ts:90
robotFrames โ
โข Optional
Readonly
robotFrames: IRobotComputedKeyframe
[]
Defined in โ
ui/packages/interface/src/IUI.ts:91
robot โ
โข Optional
robot: IRobotKeyframe
| IRobotKeyframe
[]
Inherited from โ
IRobotAttrData.robot
Defined in โ
ui/packages/interface/src/IUI.ts:98
actions โ
โข Optional
actions: IRobotActions
Inherited from โ
IRobotAttrData.actions
Defined in โ
ui/packages/interface/src/IUI.ts:99
action โ
โข Optional
action: string
Inherited from โ
IRobotAttrData.action
Defined in โ
ui/packages/interface/src/IUI.ts:100
now โ
โข Optional
now: number
Inherited from โ
IRobotAttrData.now
Defined in โ
ui/packages/interface/src/IUI.ts:101
FPS โ
โข Optional
FPS: number
Inherited from โ
IRobotAttrData.FPS
Defined in โ
ui/packages/interface/src/IUI.ts:102
loop โ
โข Optional
loop: boolean
Inherited from โ
IRobotAttrData.loop
Defined in โ
ui/packages/interface/src/IUI.ts:103
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
isOverflow โ
โข Optional
isOverflow: boolean
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:370
proxyData โ
โข Optional
proxyData: IUIInputData
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:372
__proxyData โ
โข Optional
__proxyData: IUIInputData
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:373
animation โ
โข Optional
animation: IAnimation
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:375
animationOut โ
โข Optional
animationOut: IAnimation
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:376
editConfig โ
โข Optional
editConfig: IEditorConfig
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:378
editOuter โ
โข editOuter: string
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:379
editInner โ
โข editInner: string
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:380
children โ
โข Optional
children: IUI
[]
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:382
__animate โ
โข Optional
__animate: IAnimate
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:384
pen โ
โข Readonly
pen: IPathCreator
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:386
transition โ
โข Optional
transition: ITransition
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:436
transitionOut โ
โข Optional
transitionOut: ITransition
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:437
states โ
โข Optional
states: IStates
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:439
state โ
โข Optional
state: string
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:440
hoverStyle โ
โข Optional
hoverStyle: IStateStyle
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:442
pressStyle โ
โข Optional
pressStyle: IStateStyle
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:443
focusStyle โ
โข Optional
focusStyle: IStateStyle
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:444
selectedStyle โ
โข Optional
selectedStyle: IStateStyle
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:445
disabledStyle โ
โข Optional
disabledStyle: IStateStyle
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:446
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 โ
IRect.__updateLocalStrokeBounds
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:551
__updateLocalRenderBounds โ
โธ __updateLocalRenderBounds(): void
Returns โ
void
Inherited from โ
IRect.__updateLocalRenderBounds
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
add โ
โธ add(child
, index?
): void
Parameters โ
Name | Type |
---|---|
child | ILeaf | ILeafInputData | ILeaf [] | ILeafInputData [] |
index? | number |
Returns โ
void
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:668
remove โ
โธ remove(child?
, destroy?
): void
Parameters โ
Name | Type |
---|---|
child? | string | number | ILeaf | IFindMethod |
destroy? | boolean |
Returns โ
void
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:669
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
play โ
โธ play(): void
Returns โ
void
Inherited from โ
IPlayerMethods.play
Defined in โ
ui/packages/interface/src/IUI.ts:60
pause โ
โธ pause(): void
Returns โ
void
Inherited from โ
IPlayerMethods.pause
Defined in โ
ui/packages/interface/src/IUI.ts:61
stop โ
โธ stop(): void
Returns โ
void
Inherited from โ
IPlayerMethods.stop
Defined in โ
ui/packages/interface/src/IUI.ts:62
__updateRobot โ
โธ __updateRobot(): void
Returns โ
void
Defined in โ
ui/packages/interface/src/IUI.ts:93
__updateAction โ
โธ __updateAction(): void
Returns โ
void
Defined in โ
ui/packages/interface/src/IUI.ts:94
reset โ
โธ reset(data?
): void
Parameters โ
Name | Type |
---|---|
data? | IUIInputData |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:388
set โ
โธ set(data
, isTemp?
): void
Parameters โ
Name | Type |
---|---|
data | IUIInputData |
isTemp? | boolean |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:390
toJSON โ
โธ toJSON(options?
): IUIJSONData
Parameters โ
Name | Type |
---|---|
options? | IJSONOptions |
Returns โ
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:391
get โ
โธ get(name?
): IValue
| IUIInputData
Parameters โ
Name | Type |
---|---|
name? | string | string [] | IUIInputData |
Returns โ
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:393
createProxyData โ
โธ createProxyData(): IUIInputData
Returns โ
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:394
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:396
findTag โ
โธ findTag(tag
): IUI
[]
Parameters โ
Name | Type |
---|---|
tag | string | string [] |
Returns โ
IUI
[]
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:397
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:398
findId โ
โธ findId(id
): IUI
Parameters โ
Name | Type |
---|---|
id | string | number |
Returns โ
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:399
getPath โ
โธ getPath(curve?
, pathForRender?
): IPathCommandData
Parameters โ
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns โ
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:401
getPathString โ
โธ getPathString(curve?
, pathForRender?
): string
Parameters โ
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns โ
string
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:402
load โ
โธ load(): void
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:404
__drawPathByData โ
โธ __drawPathByData(drawer
, data
): void
Parameters โ
Name | Type |
---|---|
drawer | IPathDrawer |
data | IPathCommandData |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:406
__drawPathByBox โ
โธ __drawPathByBox(drawer
): void
Parameters โ
Name | Type |
---|---|
drawer | IPathDrawer |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:407
__drawAfterFill โ
โธ __drawAfterFill(canvas
, options
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:408
__drawContent โ
โธ __drawContent(canvas
, options
): void
Parameters โ
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:409
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:411
killAnimate โ
โธ killAnimate(type?
): void
Parameters โ
Name | Type |
---|---|
type? | IAnimateType |
Returns โ
void
Inherited from โ
Defined in โ
ui/packages/interface/src/IUI.ts:412
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:414
clone โ
โธ clone(data?
): IUI
Parameters โ
Name | Type |
---|---|
data? | IUIInputData |