Skip to content

Interface: ILeafData โ€‹

Hierarchy โ€‹

Implemented by โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

__leaf โ€‹

โ€ข __leaf: ILeaf

Inherited from โ€‹

IDataProcessor.__leaf

Defined in โ€‹

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


__input โ€‹

โ€ข __input: IObject

Inherited from โ€‹

IDataProcessor.__input

Defined in โ€‹

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


__middle โ€‹

โ€ข __middle: IObject

Inherited from โ€‹

IDataProcessor.__middle

Defined in โ€‹

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


__single โ€‹

โ€ข Optional __single: boolean

Defined in โ€‹

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


__hasMultiPaint โ€‹

โ€ข Optional Readonly __hasMultiPaint: boolean

Defined in โ€‹

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


id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

ILeafComputedData.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

ILeafComputedData.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

ILeafComputedData.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

ILeafComputedData.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

ILeafComputedData.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

ILeafComputedData.visible

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

ILeafComputedData.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

ILeafComputedData.disabled

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

ILeafComputedData.locked

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

ILeafComputedData.zIndex

Defined in โ€‹

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


dim โ€‹

โ€ข Optional dim: number | boolean

Inherited from โ€‹

ILeafComputedData.dim

Defined in โ€‹

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


dimskip โ€‹

โ€ข Optional dimskip: boolean

Inherited from โ€‹

ILeafComputedData.dimskip

Defined in โ€‹

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


bright โ€‹

โ€ข Optional bright: boolean

Inherited from โ€‹

ILeafComputedData.bright

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

ILeafComputedData.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

ILeafComputedData.eraser

Defined in โ€‹

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


filter โ€‹

โ€ข Optional filter: IFilter[]

Inherited from โ€‹

ILeafComputedData.filter

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

ILeafComputedData.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

ILeafComputedData.y

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

ILeafComputedData.width

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

ILeafComputedData.height

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

ILeafComputedData.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

ILeafComputedData.scaleY

Defined in โ€‹

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


scaleFixed โ€‹

โ€ข Optional scaleFixed: IScaleFixed

Inherited from โ€‹

ILeafComputedData.scaleFixed

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

ILeafComputedData.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

ILeafComputedData.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

ILeafComputedData.skewY

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

ILeafComputedData.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

ILeafComputedData.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

ILeafComputedData.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

ILeafComputedData.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

ILeafComputedData.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

ILeafComputedData.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

ILeafComputedData.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

ILeafComputedData.pixelRatio

Defined in โ€‹

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


renderSpread โ€‹

โ€ข Optional renderSpread: IFourNumber

Inherited from โ€‹

ILeafComputedData.renderSpread

Defined in โ€‹

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


path โ€‹

โ€ข Optional path: IPathCommandData

Inherited from โ€‹

ILeafComputedData.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

ILeafComputedData.windingRule

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

ILeafComputedData.closed

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

ILeafComputedData.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

ILeafComputedData.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

ILeafComputedData.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

ILeafComputedData.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

ILeafComputedData.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

ILeafComputedData.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

ILeafComputedData.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

ILeafComputedData.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

ILeafComputedData.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

ILeafComputedData.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

ILeafComputedData.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

ILeafComputedData.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

ILeafComputedData.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

ILeafComputedData.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

ILeafComputedData.dragBounds

Defined in โ€‹

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


dragBoundsType โ€‹

โ€ข Optional dragBoundsType: IDragBoundsType

Inherited from โ€‹

ILeafComputedData.dragBoundsType

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

ILeafComputedData.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

ILeafComputedData.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

ILeafComputedData.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

ILeafComputedData.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

ILeafComputedData.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

ILeafComputedData.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

ILeafComputedData.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

ILeafComputedData.hitRadius

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

ILeafComputedData.button

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

ILeafComputedData.cursor

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

ILeafComputedData.motionPath

Defined in โ€‹

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


motionPrecision โ€‹

โ€ข Optional motionPrecision: number

Inherited from โ€‹

ILeafComputedData.motionPrecision

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

ILeafComputedData.motion

Defined in โ€‹

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


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

ILeafComputedData.motionRotation

Defined in โ€‹

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


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

ILeafComputedData.normalStyle

Defined in โ€‹

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


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

ILeafComputedData.data

Defined in โ€‹

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


__childBranchNumber โ€‹

โ€ข Optional __childBranchNumber: number

Inherited from โ€‹

ILeafComputedData.__childBranchNumber

Defined in โ€‹

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


__complex โ€‹

โ€ข Optional __complex: boolean

Inherited from โ€‹

ILeafComputedData.__complex

Defined in โ€‹

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


__naturalWidth โ€‹

โ€ข Optional __naturalWidth: number

Inherited from โ€‹

ILeafComputedData.__naturalWidth

Defined in โ€‹

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


__naturalHeight โ€‹

โ€ข Optional __naturalHeight: number

Inherited from โ€‹

ILeafComputedData.__naturalHeight

Defined in โ€‹

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


__autoWidth โ€‹

โ€ข Optional Readonly __autoWidth: boolean

Inherited from โ€‹

ILeafComputedData.__autoWidth

Defined in โ€‹

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


__autoHeight โ€‹

โ€ข Optional Readonly __autoHeight: boolean

Inherited from โ€‹

ILeafComputedData.__autoHeight

Defined in โ€‹

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


__autoSide โ€‹

โ€ข Optional Readonly __autoSide: boolean

Inherited from โ€‹

ILeafComputedData.__autoSide

Defined in โ€‹

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


__autoSize โ€‹

โ€ข Optional Readonly __autoSize: boolean

Inherited from โ€‹

ILeafComputedData.__autoSize

Defined in โ€‹

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


__useNaturalRatio โ€‹

โ€ข Readonly __useNaturalRatio: boolean

Inherited from โ€‹

ILeafComputedData.__useNaturalRatio

Defined in โ€‹

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


__isLinePath โ€‹

โ€ข Readonly __isLinePath: boolean

Inherited from โ€‹

ILeafComputedData.__isLinePath

Defined in โ€‹

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


__blendMode โ€‹

โ€ข Readonly __blendMode: string

Inherited from โ€‹

ILeafComputedData.__blendMode

Defined in โ€‹

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


__useStroke โ€‹

โ€ข Optional __useStroke: boolean

Inherited from โ€‹

ILeafComputedData.__useStroke

Defined in โ€‹

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


__useArrow โ€‹

โ€ข Optional __useArrow: boolean

Inherited from โ€‹

ILeafComputedData.__useArrow

Defined in โ€‹

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


__useEffect โ€‹

โ€ข Optional __useEffect: boolean

Inherited from โ€‹

ILeafComputedData.__useEffect

Defined in โ€‹

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


__usePathBox โ€‹

โ€ข Optional __usePathBox: boolean

Inherited from โ€‹

ILeafComputedData.__usePathBox

Defined in โ€‹

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


__useDim โ€‹

โ€ข Optional __useDim: boolean

Inherited from โ€‹

ILeafComputedData.__useDim

Defined in โ€‹

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


__pathInputed โ€‹

โ€ข Optional __pathInputed: number

Inherited from โ€‹

ILeafComputedData.__pathInputed

Defined in โ€‹

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


__pathForRender โ€‹

โ€ข Optional __pathForRender: IPathCommandData

Inherited from โ€‹

ILeafComputedData.__pathForRender

Defined in โ€‹

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


__path2DForRender โ€‹

โ€ข Optional __path2DForRender: IPath2D

Inherited from โ€‹

ILeafComputedData.__path2DForRender

Defined in โ€‹

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


__pathForArrow โ€‹

โ€ข Optional __pathForArrow: IPathCommandData

Inherited from โ€‹

ILeafComputedData.__pathForArrow

Defined in โ€‹

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


__pathForMotion โ€‹

โ€ข Optional __pathForMotion: IMotionPathData

Inherited from โ€‹

ILeafComputedData.__pathForMotion

Defined in โ€‹

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


__clipAfterFill โ€‹

โ€ข Optional __clipAfterFill: boolean

Inherited from โ€‹

ILeafComputedData.__clipAfterFill

Defined in โ€‹

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

Methods โ€‹

__get โ€‹

โ–ธ __get(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IDataProcessor.__get

Defined in โ€‹

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


__getData โ€‹

โ–ธ __getData(): IObject

Returns โ€‹

IObject

Inherited from โ€‹

IDataProcessor.__getData

Defined in โ€‹

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

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


__getInput โ€‹

โ–ธ __getInput(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IDataProcessor.__getInput

Defined in โ€‹

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


__removeInput โ€‹

โ–ธ __removeInput(name): void

Parameters โ€‹

NameType
namestring

Returns โ€‹

void

Inherited from โ€‹

IDataProcessor.__removeInput

Defined in โ€‹

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

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

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


__getMiddle โ€‹

โ–ธ __getMiddle(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IDataProcessor.__getMiddle

Defined in โ€‹

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


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Inherited from โ€‹

IDataProcessor.destroy

Defined in โ€‹

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


__checkSingle โ€‹

โ–ธ __checkSingle(): void

Returns โ€‹

void

Defined in โ€‹

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


__removeNaturalSize โ€‹

โ–ธ __removeNaturalSize(): void

Returns โ€‹

void

Defined in โ€‹

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

Released under the MIT License.