Skip to content

Interface: ILeafComputedData

Hierarchy

Table of contents

Properties

Properties

id

Optional id: string

Defined in

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


name

Optional name: string

Defined in

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


className

Optional className: string

Defined in

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


blendMode

Optional blendMode: IBlendMode

Defined in

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


opacity

Optional opacity: number

Defined in

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


visible

Optional visible: boolean | 0

Defined in

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


selected

Optional selected: boolean

Defined in

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


disabled

Optional disabled: boolean

Defined in

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


locked

Optional locked: boolean

Defined in

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


zIndex

Optional zIndex: number

Defined in

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


mask

Optional mask: boolean | IMaskType

Defined in

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


eraser

Optional eraser: boolean | IEraserType

Defined in

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


x

Optional x: number

Defined in

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


y

Optional y: number

Defined in

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


width

Optional width: number

Defined in

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


height

Optional height: number

Defined in

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


scaleX

Optional scaleX: number

Defined in

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


scaleY

Optional scaleY: number

Defined in

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


rotation

Optional rotation: number

Defined in

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


skewX

Optional skewX: number

Defined in

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


skewY

Optional skewY: number

Defined in

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


offsetX

Optional offsetX: number

Defined in

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


offsetY

Optional offsetY: number

Defined in

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


scrollX

Optional scrollX: number

Defined in

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


scrollY

Optional scrollY: number

Defined in

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


origin

Optional origin: IUnitPointData | IDirection

Defined in

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


around

Optional around: IUnitPointData | IDirection

Defined in

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


lazy

Optional lazy: boolean

Defined in

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


pixelRatio

Optional pixelRatio: number

Defined in

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


path

Optional path: IPathCommandData

Defined in

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


windingRule

Optional windingRule: IWindingRule

Defined in

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


closed

Optional closed: boolean

Defined in

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


flow

Optional flow: IFlowType

Defined in

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


padding

Optional padding: IFourNumber

Defined in

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


gap

Optional gap: IGap | IPointGap

Defined in

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


flowAlign

Optional flowAlign: IFlowAxisAlign | IFlowAlign

Defined in

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


flowWrap

Optional flowWrap: IFlowWrap

Defined in

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


itemBox

Optional itemBox: IFlowBoxType

Defined in

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


inFlow

Optional inFlow: boolean

Defined in

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


autoWidth

Optional autoWidth: IAutoSize

Defined in

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


autoHeight

Optional autoHeight: IAutoSize

Defined in

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


lockRatio

Optional lockRatio: boolean

Defined in

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


autoBox

Optional autoBox: IAutoBoxData | IConstraint

Defined in

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


widthRange

Optional widthRange: IRangeSize

Defined in

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


heightRange

Optional heightRange: IRangeSize

Defined in

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


draggable

Optional draggable: boolean | IAxis

Defined in

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


dragBounds

Optional dragBounds: "parent" | IBoundsData

Defined in

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


editable

Optional editable: boolean

Defined in

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


hittable

Optional hittable: boolean

Defined in

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


hitFill

Optional hitFill: IHitType

Defined in

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


hitStroke

Optional hitStroke: IHitType

Defined in

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


hitBox

Optional hitBox: boolean

Defined in

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


hitChildren

Optional hitChildren: boolean

Defined in

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


hitSelf

Optional hitSelf: boolean

Defined in

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


hitRadius

Optional hitRadius: number

Defined in

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


button

Optional button: boolean

Defined in

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


cursor

Optional cursor: ICursorType | ICursorType[]

Defined in

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


motionPath

Optional motionPath: boolean

Defined in

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


motionPrecision

Optional motionPrecision: number

Defined in

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


motion

Optional motion: number | IUnitData

Defined in

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


motionRotation

Optional motionRotation: number | boolean

Defined in

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


normalStyle

Optional normalStyle: IObject

Defined in

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


data

Optional data: IObject

Defined in

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


__childBranchNumber

Optional __childBranchNumber: number

Defined in

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


__complex

Optional __complex: boolean

Defined in

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


__naturalWidth

Optional __naturalWidth: number

Defined in

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


__naturalHeight

Optional __naturalHeight: number

Defined in

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


__autoWidth

Optional Readonly __autoWidth: boolean

Defined in

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


__autoHeight

Optional Readonly __autoHeight: boolean

Defined in

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


__autoSide

Optional Readonly __autoSide: boolean

Defined in

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


__autoSize

Optional Readonly __autoSize: boolean

Defined in

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


__useNaturalRatio

Readonly __useNaturalRatio: boolean

Defined in

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


__isLinePath

Readonly __isLinePath: boolean

Defined in

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


__blendMode

Readonly __blendMode: string

Defined in

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


__useArrow

Optional __useArrow: boolean

Defined in

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


__useEffect

Optional __useEffect: boolean

Defined in

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


__pathInputed

Optional __pathInputed: number

Defined in

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


__pathForRender

Optional __pathForRender: IPathCommandData

Defined in

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


__path2DForRender

Optional __path2DForRender: IPath2D

Defined in

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


__pathForArrow

Optional __pathForArrow: IPathCommandData

Defined in

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


__pathForMotion

Optional __pathForMotion: IMotionPathData

Defined in

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

Released under the MIT License.