Skip to content

Interface: ILeafData โ€‹

Hierarchy โ€‹

Implemented by โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

__leaf โ€‹

โ€ข __leaf: ILeaf

Inherited from โ€‹

IDataProcessor.__leaf

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:6


__input โ€‹

โ€ข __input: IObject

Inherited from โ€‹

IDataProcessor.__input

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:7


__middle โ€‹

โ€ข __middle: IObject

Inherited from โ€‹

IDataProcessor.__middle

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 โ€‹

ILeafComputedData.id

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:319


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

ILeafComputedData.name

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:320


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

ILeafComputedData.className

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:321


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

ILeafComputedData.blendMode

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:323


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

ILeafComputedData.opacity

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:324


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

ILeafComputedData.visible

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:325


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

ILeafComputedData.selected

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:326


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

ILeafComputedData.disabled

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:327


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

ILeafComputedData.locked

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:328


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

ILeafComputedData.zIndex

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:329


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

ILeafComputedData.mask

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:331


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

ILeafComputedData.eraser

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:332


filter โ€‹

โ€ข Optional filter: IFilter[]

Inherited from โ€‹

ILeafComputedData.filter

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:333


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

ILeafComputedData.x

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:336


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

ILeafComputedData.y

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:337


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

ILeafComputedData.width

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:338


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

ILeafComputedData.height

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:339


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

ILeafComputedData.scaleX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:340


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

ILeafComputedData.scaleY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:341


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

ILeafComputedData.rotation

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:342


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

ILeafComputedData.skewX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:343


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

ILeafComputedData.skewY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:344


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

ILeafComputedData.offsetX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:346


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

ILeafComputedData.offsetY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:347


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

ILeafComputedData.scrollX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:348


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

ILeafComputedData.scrollY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:349


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

ILeafComputedData.origin

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:351


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

ILeafComputedData.around

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:352


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

ILeafComputedData.lazy

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:354


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

ILeafComputedData.pixelRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:355


path โ€‹

โ€ข Optional path: IPathCommandData

Inherited from โ€‹

ILeafComputedData.path

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:357


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

ILeafComputedData.windingRule

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:358


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

ILeafComputedData.closed

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:359


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

ILeafComputedData.flow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:362


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

ILeafComputedData.padding

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:363


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

ILeafComputedData.gap

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:364


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

ILeafComputedData.flowAlign

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:365


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

ILeafComputedData.flowWrap

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:366


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

ILeafComputedData.itemBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:367


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

ILeafComputedData.inFlow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:369


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

ILeafComputedData.autoWidth

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:370


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

ILeafComputedData.autoHeight

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:371


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

ILeafComputedData.lockRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:372


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

ILeafComputedData.autoBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:373


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

ILeafComputedData.widthRange

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:375


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

ILeafComputedData.heightRange

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:376


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

ILeafComputedData.draggable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:379


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

ILeafComputedData.dragBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:380


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

ILeafComputedData.editable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:382


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

ILeafComputedData.hittable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:384


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

ILeafComputedData.hitFill

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:385


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

ILeafComputedData.hitStroke

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:386


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

ILeafComputedData.hitBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:387


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

ILeafComputedData.hitChildren

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:388


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

ILeafComputedData.hitSelf

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:389


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

ILeafComputedData.hitRadius

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:390


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

ILeafComputedData.button

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:392


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

ILeafComputedData.cursor

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:393


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

ILeafComputedData.motionPath

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:395


motionPrecision โ€‹

โ€ข Optional motionPrecision: number

Inherited from โ€‹

ILeafComputedData.motionPrecision

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:396


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

ILeafComputedData.motion

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:398


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

ILeafComputedData.motionRotation

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:399


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

ILeafComputedData.normalStyle

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:401


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

ILeafComputedData.data

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:404


__childBranchNumber โ€‹

โ€ข Optional __childBranchNumber: number

Inherited from โ€‹

ILeafComputedData.__childBranchNumber

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:407


__complex โ€‹

โ€ข Optional __complex: boolean

Inherited from โ€‹

ILeafComputedData.__complex

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:408


__naturalWidth โ€‹

โ€ข Optional __naturalWidth: number

Inherited from โ€‹

ILeafComputedData.__naturalWidth

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:410


__naturalHeight โ€‹

โ€ข Optional __naturalHeight: number

Inherited from โ€‹

ILeafComputedData.__naturalHeight

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:411


__autoWidth โ€‹

โ€ข Optional Readonly __autoWidth: boolean

Inherited from โ€‹

ILeafComputedData.__autoWidth

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:413


__autoHeight โ€‹

โ€ข Optional Readonly __autoHeight: boolean

Inherited from โ€‹

ILeafComputedData.__autoHeight

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:414


__autoSide โ€‹

โ€ข Optional Readonly __autoSide: boolean

Inherited from โ€‹

ILeafComputedData.__autoSide

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:415


__autoSize โ€‹

โ€ข Optional Readonly __autoSize: boolean

Inherited from โ€‹

ILeafComputedData.__autoSize

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:416


__useNaturalRatio โ€‹

โ€ข Readonly __useNaturalRatio: boolean

Inherited from โ€‹

ILeafComputedData.__useNaturalRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:418


__isLinePath โ€‹

โ€ข Readonly __isLinePath: boolean

Inherited from โ€‹

ILeafComputedData.__isLinePath

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:419


__blendMode โ€‹

โ€ข Readonly __blendMode: string

Inherited from โ€‹

ILeafComputedData.__blendMode

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:420


__useArrow โ€‹

โ€ข Optional __useArrow: boolean

Inherited from โ€‹

ILeafComputedData.__useArrow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:422


__useEffect โ€‹

โ€ข Optional __useEffect: boolean

Inherited from โ€‹

ILeafComputedData.__useEffect

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:423


__pathInputed โ€‹

โ€ข Optional __pathInputed: number

Inherited from โ€‹

ILeafComputedData.__pathInputed

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:425


__pathForRender โ€‹

โ€ข Optional __pathForRender: IPathCommandData

Inherited from โ€‹

ILeafComputedData.__pathForRender

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:426


__path2DForRender โ€‹

โ€ข Optional __path2DForRender: IPath2D

Inherited from โ€‹

ILeafComputedData.__path2DForRender

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:427


__pathForArrow โ€‹

โ€ข Optional __pathForArrow: IPathCommandData

Inherited from โ€‹

ILeafComputedData.__pathForArrow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:428


__pathForMotion โ€‹

โ€ข Optional __pathForMotion: IMotionPathData

Inherited from โ€‹

ILeafComputedData.__pathForMotion

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:429

Methods โ€‹

__get โ€‹

โ–ธ __get(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IDataProcessor.__get

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:10


__getData โ€‹

โ–ธ __getData(): IObject

Returns โ€‹

IObject

Inherited from โ€‹

IDataProcessor.__getData

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:11


__setInput โ€‹

โ–ธ __setInput(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

IDataProcessor.__setInput

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:13


__getInput โ€‹

โ–ธ __getInput(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IDataProcessor.__getInput

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:14


__removeInput โ€‹

โ–ธ __removeInput(name): void

Parameters โ€‹

NameType
namestring

Returns โ€‹

void

Inherited from โ€‹

IDataProcessor.__removeInput

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:15


__getInputData โ€‹

โ–ธ __getInputData(names?, options?): IObject

Parameters โ€‹

NameType
names?string[] | IObject
options?IJSONOptions

Returns โ€‹

IObject

Inherited from โ€‹

IDataProcessor.__getInputData

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:16


__setMiddle โ€‹

โ–ธ __setMiddle(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

IDataProcessor.__setMiddle

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:18


__getMiddle โ€‹

โ–ธ __getMiddle(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IDataProcessor.__getMiddle

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:19


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Inherited from โ€‹

IDataProcessor.destroy

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

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:33

Released under the MIT License.