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


id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

ILeafComputedData.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

ILeafComputedData.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

ILeafComputedData.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

ILeafComputedData.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

ILeafComputedData.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

ILeafComputedData.visible

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

ILeafComputedData.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

ILeafComputedData.disabled

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

ILeafComputedData.locked

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

ILeafComputedData.zIndex

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

ILeafComputedData.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

ILeafComputedData.eraser

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

ILeafComputedData.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

ILeafComputedData.y

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

ILeafComputedData.width

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

ILeafComputedData.height

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

ILeafComputedData.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

ILeafComputedData.scaleY

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

ILeafComputedData.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

ILeafComputedData.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

ILeafComputedData.skewY

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

ILeafComputedData.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

ILeafComputedData.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

ILeafComputedData.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

ILeafComputedData.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

ILeafComputedData.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

ILeafComputedData.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

ILeafComputedData.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

ILeafComputedData.pixelRatio

Defined in โ€‹

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


path โ€‹

โ€ข Optional path: IPathCommandData

Inherited from โ€‹

ILeafComputedData.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

ILeafComputedData.windingRule

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

ILeafComputedData.closed

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

ILeafComputedData.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

ILeafComputedData.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

ILeafComputedData.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

ILeafComputedData.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

ILeafComputedData.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

ILeafComputedData.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

ILeafComputedData.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

ILeafComputedData.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

ILeafComputedData.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

ILeafComputedData.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

ILeafComputedData.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

ILeafComputedData.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

ILeafComputedData.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

ILeafComputedData.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

ILeafComputedData.dragBounds

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

ILeafComputedData.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

ILeafComputedData.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

ILeafComputedData.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

ILeafComputedData.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

ILeafComputedData.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

ILeafComputedData.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

ILeafComputedData.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

ILeafComputedData.hitRadius

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

ILeafComputedData.button

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

ILeafComputedData.cursor

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

ILeafComputedData.motionPath

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

ILeafComputedData.motion

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

ILeafComputedData.normalStyle

Defined in โ€‹

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


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

ILeafComputedData.data

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

ILeafComputedData.__complex

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

ILeafComputedData.__autoWidth

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

ILeafComputedData.__autoSide

Defined in โ€‹

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


__autoSize โ€‹

โ€ข Optional Readonly __autoSize: boolean

Inherited from โ€‹

ILeafComputedData.__autoSize

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

ILeafComputedData.__blendMode

Defined in โ€‹

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


__useArrow โ€‹

โ€ข Optional __useArrow: boolean

Inherited from โ€‹

ILeafComputedData.__useArrow

Defined in โ€‹

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


__useEffect โ€‹

โ€ข Optional __useEffect: boolean

Inherited from โ€‹

ILeafComputedData.__useEffect

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

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:31


__removeNaturalSize โ€‹

โ–ธ __removeNaturalSize(): void

Returns โ€‹

void

Defined in โ€‹

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

Released under the MIT License.