Interface: ILeafData â
Hierarchy â
âł
ILeafData
âłâł
IUIData
Implemented by â
Table of contents â
Properties â
- __leaf
- __input
- __middle
- __single
- __hasMultiPaint
- id
- name
- className
- blendMode
- opacity
- visible
- selected
- disabled
- locked
- zIndex
- mask
- eraser
- x
- y
- width
- height
- scaleX
- scaleY
- rotation
- skewX
- skewY
- offsetX
- offsetY
- scrollX
- scrollY
- origin
- around
- lazy
- pixelRatio
- path
- windingRule
- closed
- flow
- padding
- gap
- flowAlign
- flowWrap
- itemBox
- inFlow
- autoWidth
- autoHeight
- lockRatio
- autoBox
- widthRange
- heightRange
- draggable
- dragBounds
- editable
- hittable
- hitFill
- hitStroke
- hitBox
- hitChildren
- hitSelf
- hitRadius
- button
- cursor
- motionPath
- motionPrecision
- motion
- motionRotation
- normalStyle
- data
- __childBranchNumber
- __complex
- __naturalWidth
- __naturalHeight
- __autoWidth
- __autoHeight
- __autoSide
- __autoSize
- __useNaturalRatio
- __isLinePath
- __blendMode
- __useArrow
- __useEffect
- __pathInputed
- __pathForRender
- __path2DForRender
- __pathForArrow
- __pathForMotion
Methods â
- __get
- __getData
- __setInput
- __getInput
- __removeInput
- __getInputData
- __setMiddle
- __getMiddle
- destroy
- __checkSingle
- __removeNaturalSize
Properties â
__leaf â
⢠__leaf: ILeaf
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:6
__input â
⢠__input: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:7
__middle â
⢠__middle: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:8
__single â
⢠Optional
__single: boolean
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:30
__hasMultiPaint â
⢠Optional
Readonly
__hasMultiPaint: boolean
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:31
id â
⢠Optional
id: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:314
name â
⢠Optional
name: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:315
className â
⢠Optional
className: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:316
blendMode â
⢠Optional
blendMode: IBlendMode
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:318
opacity â
⢠Optional
opacity: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:319
visible â
⢠Optional
visible: boolean
| 0
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:320
selected â
⢠Optional
selected: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:321
disabled â
⢠Optional
disabled: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:322
locked â
⢠Optional
locked: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:323
zIndex â
⢠Optional
zIndex: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:324
mask â
⢠Optional
mask: boolean
| IMaskType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:326
eraser â
⢠Optional
eraser: boolean
| IEraserType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:327
x â
⢠Optional
x: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:330
y â
⢠Optional
y: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:331
width â
⢠Optional
width: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:332
height â
⢠Optional
height: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:333
scaleX â
⢠Optional
scaleX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:334
scaleY â
⢠Optional
scaleY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:335
rotation â
⢠Optional
rotation: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:336
skewX â
⢠Optional
skewX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:337
skewY â
⢠Optional
skewY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:338
offsetX â
⢠Optional
offsetX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:340
offsetY â
⢠Optional
offsetY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:341
scrollX â
⢠Optional
scrollX: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:342
scrollY â
⢠Optional
scrollY: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:343
origin â
⢠Optional
origin: IUnitPointData
| IDirection
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:345
around â
⢠Optional
around: IUnitPointData
| IDirection
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:346
lazy â
⢠Optional
lazy: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:348
pixelRatio â
⢠Optional
pixelRatio: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:349
path â
⢠Optional
path: IPathCommandData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:351
windingRule â
⢠Optional
windingRule: IWindingRule
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:352
closed â
⢠Optional
closed: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:353
flow â
⢠Optional
flow: IFlowType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:356
padding â
⢠Optional
padding: IFourNumber
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:357
gap â
⢠Optional
gap: IGap
| IPointGap
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:358
flowAlign â
⢠Optional
flowAlign: IFlowAxisAlign
| IFlowAlign
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:359
flowWrap â
⢠Optional
flowWrap: IFlowWrap
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:360
itemBox â
⢠Optional
itemBox: IFlowBoxType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:361
inFlow â
⢠Optional
inFlow: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:363
autoWidth â
⢠Optional
autoWidth: IAutoSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:364
autoHeight â
⢠Optional
autoHeight: IAutoSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:365
lockRatio â
⢠Optional
lockRatio: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:366
autoBox â
⢠Optional
autoBox: IAutoBoxData
| IConstraint
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:367
widthRange â
⢠Optional
widthRange: IRangeSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:369
heightRange â
⢠Optional
heightRange: IRangeSize
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:370
draggable â
⢠Optional
draggable: boolean
| IAxis
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:373
dragBounds â
⢠Optional
dragBounds: "parent"
| IBoundsData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:374
editable â
⢠Optional
editable: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:376
hittable â
⢠Optional
hittable: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:378
hitFill â
⢠Optional
hitFill: IHitType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:379
hitStroke â
⢠Optional
hitStroke: IHitType
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:380
hitBox â
⢠Optional
hitBox: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:381
hitChildren â
⢠Optional
hitChildren: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:382
hitSelf â
⢠Optional
hitSelf: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:383
hitRadius â
⢠Optional
hitRadius: number
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:384
button â
⢠Optional
button: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:386
cursor â
⢠Optional
cursor: ICursorType
| ICursorType
[]
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:387
motionPath â
⢠Optional
motionPath: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:389
motionPrecision â
⢠Optional
motionPrecision: number
Inherited from â
ILeafComputedData.motionPrecision
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:390
motion â
⢠Optional
motion: number
| IUnitData
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:392
motionRotation â
⢠Optional
motionRotation: number
| boolean
Inherited from â
ILeafComputedData.motionRotation
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:393
normalStyle â
⢠Optional
normalStyle: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:395
data â
⢠Optional
data: IObject
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:398
__childBranchNumber â
⢠Optional
__childBranchNumber: number
Inherited from â
ILeafComputedData.__childBranchNumber
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:401
__complex â
⢠Optional
__complex: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:402
__naturalWidth â
⢠Optional
__naturalWidth: number
Inherited from â
ILeafComputedData.__naturalWidth
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:404
__naturalHeight â
⢠Optional
__naturalHeight: number
Inherited from â
ILeafComputedData.__naturalHeight
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:405
__autoWidth â
⢠Optional
Readonly
__autoWidth: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:407
__autoHeight â
⢠Optional
Readonly
__autoHeight: boolean
Inherited from â
ILeafComputedData.__autoHeight
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:408
__autoSide â
⢠Optional
Readonly
__autoSide: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:409
__autoSize â
⢠Optional
Readonly
__autoSize: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:410
__useNaturalRatio â
⢠Readonly
__useNaturalRatio: boolean
Inherited from â
ILeafComputedData.__useNaturalRatio
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:412
__isLinePath â
⢠Readonly
__isLinePath: boolean
Inherited from â
ILeafComputedData.__isLinePath
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:413
__blendMode â
⢠Readonly
__blendMode: string
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:414
__useArrow â
⢠Optional
__useArrow: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:416
__useEffect â
⢠Optional
__useEffect: boolean
Inherited from â
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:417
__pathInputed â
⢠Optional
__pathInputed: number
Inherited from â
ILeafComputedData.__pathInputed
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:419
__pathForRender â
⢠Optional
__pathForRender: IPathCommandData
Inherited from â
ILeafComputedData.__pathForRender
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:420
__path2DForRender â
⢠Optional
__path2DForRender: IPath2D
Inherited from â
ILeafComputedData.__path2DForRender
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:421
__pathForArrow â
⢠Optional
__pathForArrow: IPathCommandData
Inherited from â
ILeafComputedData.__pathForArrow
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:422
__pathForMotion â
⢠Optional
__pathForMotion: IMotionPathData
Inherited from â
ILeafComputedData.__pathForMotion
Defined in â
leafer/packages/interface/src/display/ILeaf.ts:423
Methods â
__get â
⸠__get(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:10
__getData â
⸠__getData(): IObject
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:11
__setInput â
⸠__setInput(name
, value
): void
Parameters â
Name | Type |
---|---|
name | string |
value | any |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:13
__getInput â
⸠__getInput(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:14
__removeInput â
⸠__removeInput(name
): void
Parameters â
Name | Type |
---|---|
name | string |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:15
__getInputData â
⸠__getInputData(names?
, options?
): IObject
Parameters â
Name | Type |
---|---|
names? | string [] | IObject |
options? | IJSONOptions |
Returns â
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:16
__setMiddle â
⸠__setMiddle(name
, value
): void
Parameters â
Name | Type |
---|---|
name | string |
value | any |
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:18
__getMiddle â
⸠__getMiddle(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:19
destroy â
⸠destroy(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:21
__checkSingle â
⸠__checkSingle(): void
Returns â
void
Defined in â
leafer/packages/interface/src/data/ILeafData.ts:32
__removeNaturalSize â
⸠__removeNaturalSize(): void
Returns â
void