Interface: ILeafData โ
Hierarchy โ
โณ
ILeafData
โณโณ
IUIData
Implemented by โ
Table of contents โ
Properties โ
- __leaf
- __input
- __middle
- __single
- 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
- motion
- motionRotation
- normalStyle
- data
- __childBranchNumber
- __complex
- __naturalWidth
- __naturalHeight
- __autoWidth
- __autoHeight
- __autoSide
- __autoSize
- __useNaturalRatio
- __isLinePath
- __blendMode
- __useArrow
- __useEffect
- __pathInputed
- __pathForRender
- __path2DForRender
- __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
id โ
โข Optional
id: string
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:310
name โ
โข Optional
name: string
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:311
className โ
โข Optional
className: string
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:312
blendMode โ
โข Optional
blendMode: IBlendMode
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:314
opacity โ
โข Optional
opacity: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:315
visible โ
โข Optional
visible: boolean
| 0
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:316
selected โ
โข Optional
selected: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:317
disabled โ
โข Optional
disabled: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:318
locked โ
โข Optional
locked: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:319
zIndex โ
โข Optional
zIndex: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:320
mask โ
โข Optional
mask: boolean
| IMaskType
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:322
eraser โ
โข Optional
eraser: boolean
| IEraserType
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:323
x โ
โข Optional
x: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:326
y โ
โข Optional
y: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:327
width โ
โข Optional
width: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:328
height โ
โข Optional
height: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:329
scaleX โ
โข Optional
scaleX: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:330
scaleY โ
โข Optional
scaleY: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:331
rotation โ
โข Optional
rotation: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:332
skewX โ
โข Optional
skewX: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:333
skewY โ
โข Optional
skewY: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:334
offsetX โ
โข Optional
offsetX: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:336
offsetY โ
โข Optional
offsetY: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:337
scrollX โ
โข Optional
scrollX: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:338
scrollY โ
โข Optional
scrollY: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:339
origin โ
โข Optional
origin: IUnitPointData
| IDirection
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:341
around โ
โข Optional
around: IUnitPointData
| IDirection
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:342
lazy โ
โข Optional
lazy: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:344
pixelRatio โ
โข Optional
pixelRatio: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:345
path โ
โข Optional
path: IPathCommandData
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:347
windingRule โ
โข Optional
windingRule: IWindingRule
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:348
closed โ
โข Optional
closed: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:349
flow โ
โข Optional
flow: IFlowType
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:352
padding โ
โข Optional
padding: IFourNumber
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:353
gap โ
โข Optional
gap: IGap
| IPointGap
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:354
flowAlign โ
โข Optional
flowAlign: IFlowAxisAlign
| IFlowAlign
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:355
flowWrap โ
โข Optional
flowWrap: IFlowWrap
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:356
itemBox โ
โข Optional
itemBox: IFlowBoxType
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:357
inFlow โ
โข Optional
inFlow: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:359
autoWidth โ
โข Optional
autoWidth: IAutoSize
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:360
autoHeight โ
โข Optional
autoHeight: IAutoSize
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:361
lockRatio โ
โข Optional
lockRatio: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:362
autoBox โ
โข Optional
autoBox: IAutoBoxData
| IConstraint
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:363
widthRange โ
โข Optional
widthRange: IRangeSize
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:365
heightRange โ
โข Optional
heightRange: IRangeSize
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:366
draggable โ
โข Optional
draggable: boolean
| IAxis
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:369
dragBounds โ
โข Optional
dragBounds: "parent"
| IBoundsData
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:370
editable โ
โข Optional
editable: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:372
hittable โ
โข Optional
hittable: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:374
hitFill โ
โข Optional
hitFill: IHitType
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:375
hitStroke โ
โข Optional
hitStroke: IHitType
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:376
hitBox โ
โข Optional
hitBox: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:377
hitChildren โ
โข Optional
hitChildren: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:378
hitSelf โ
โข Optional
hitSelf: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:379
hitRadius โ
โข Optional
hitRadius: number
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:380
button โ
โข Optional
button: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:382
cursor โ
โข Optional
cursor: ICursorType
| ICursorType
[]
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:383
motionPath โ
โข Optional
motionPath: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:385
motion โ
โข Optional
motion: number
| IUnitData
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:386
motionRotation โ
โข Optional
motionRotation: number
| boolean
Inherited from โ
ILeafComputedData.motionRotation
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:387
normalStyle โ
โข Optional
normalStyle: IObject
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:389
data โ
โข Optional
data: IObject
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:392
__childBranchNumber โ
โข Optional
__childBranchNumber: number
Inherited from โ
ILeafComputedData.__childBranchNumber
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:395
__complex โ
โข Optional
__complex: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:396
__naturalWidth โ
โข Optional
__naturalWidth: number
Inherited from โ
ILeafComputedData.__naturalWidth
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:398
__naturalHeight โ
โข Optional
__naturalHeight: number
Inherited from โ
ILeafComputedData.__naturalHeight
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:399
__autoWidth โ
โข Optional
Readonly
__autoWidth: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:401
__autoHeight โ
โข Optional
Readonly
__autoHeight: boolean
Inherited from โ
ILeafComputedData.__autoHeight
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:402
__autoSide โ
โข Optional
Readonly
__autoSide: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:403
__autoSize โ
โข Optional
Readonly
__autoSize: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:404
__useNaturalRatio โ
โข Readonly
__useNaturalRatio: boolean
Inherited from โ
ILeafComputedData.__useNaturalRatio
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:406
__isLinePath โ
โข Readonly
__isLinePath: boolean
Inherited from โ
ILeafComputedData.__isLinePath
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:407
__blendMode โ
โข Readonly
__blendMode: string
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:408
__useArrow โ
โข Optional
__useArrow: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:410
__useEffect โ
โข Optional
__useEffect: boolean
Inherited from โ
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:411
__pathInputed โ
โข Optional
__pathInputed: number
Inherited from โ
ILeafComputedData.__pathInputed
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:413
__pathForRender โ
โข Optional
__pathForRender: IPathCommandData
Inherited from โ
ILeafComputedData.__pathForRender
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:414
__path2DForRender โ
โข Optional
__path2DForRender: IPath2D
Inherited from โ
ILeafComputedData.__path2DForRender
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:415
__pathForMotion โ
โข Optional
__pathForMotion: IMotionPathData
Inherited from โ
ILeafComputedData.__pathForMotion
Defined in โ
leafer/packages/interface/src/display/ILeaf.ts:416
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:31
__removeNaturalSize โ
โธ __removeNaturalSize(): void
Returns โ
void