įŽäŊä¸æ
Interface: IVideo â
Hierarchy â
IPlayerMethods
âŗ
IVideo
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
- __
- 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
- 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
__ â
âĸ __: IVideoData
Overrides â
Defined in â
ui/packages/interface/src/IUI.ts:56
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
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 |