Skip to content

Interface: ILeafComputedData

Hierarchy

Table of contents

Properties

Properties

id

Optional id: string

Defined in

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


name

Optional name: string

Defined in

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


className

Optional className: string

Defined in

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


blendMode

Optional blendMode: IBlendMode

Defined in

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


opacity

Optional opacity: number

Defined in

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


visible

Optional visible: boolean | 0

Defined in

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


selected

Optional selected: boolean

Defined in

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


disabled

Optional disabled: boolean

Defined in

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


locked

Optional locked: boolean

Defined in

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


zIndex

Optional zIndex: number

Defined in

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


mask

Optional mask: boolean | IMaskType

Defined in

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


eraser

Optional eraser: boolean | IEraserType

Defined in

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


x

Optional x: number

Defined in

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


y

Optional y: number

Defined in

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


width

Optional width: number

Defined in

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


height

Optional height: number

Defined in

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


scaleX

Optional scaleX: number

Defined in

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


scaleY

Optional scaleY: number

Defined in

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


rotation

Optional rotation: number

Defined in

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


skewX

Optional skewX: number

Defined in

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


skewY

Optional skewY: number

Defined in

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


offsetX

Optional offsetX: number

Defined in

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


offsetY

Optional offsetY: number

Defined in

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


scrollX

Optional scrollX: number

Defined in

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


scrollY

Optional scrollY: number

Defined in

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


origin

Optional origin: IUnitPointData | IDirection

Defined in

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


around

Optional around: IUnitPointData | IDirection

Defined in

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


lazy

Optional lazy: boolean

Defined in

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


pixelRatio

Optional pixelRatio: number

Defined in

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


path

Optional path: IPathCommandData

Defined in

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


windingRule

Optional windingRule: IWindingRule

Defined in

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


closed

Optional closed: boolean

Defined in

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


flow

Optional flow: IFlowType

Defined in

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


padding

Optional padding: IFourNumber

Defined in

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


gap

Optional gap: IGap | IPointGap

Defined in

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


flowAlign

Optional flowAlign: IFlowAxisAlign | IFlowAlign

Defined in

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


flowWrap

Optional flowWrap: IFlowWrap

Defined in

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


itemBox

Optional itemBox: IFlowBoxType

Defined in

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


inFlow

Optional inFlow: boolean

Defined in

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


autoWidth

Optional autoWidth: IAutoSize

Defined in

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


autoHeight

Optional autoHeight: IAutoSize

Defined in

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


lockRatio

Optional lockRatio: boolean

Defined in

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


autoBox

Optional autoBox: IAutoBoxData | IConstraint

Defined in

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


widthRange

Optional widthRange: IRangeSize

Defined in

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


heightRange

Optional heightRange: IRangeSize

Defined in

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


draggable

Optional draggable: boolean | IAxis

Defined in

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


dragBounds

Optional dragBounds: "parent" | IBoundsData

Defined in

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


editable

Optional editable: boolean

Defined in

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


hittable

Optional hittable: boolean

Defined in

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


hitFill

Optional hitFill: IHitType

Defined in

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


hitStroke

Optional hitStroke: IHitType

Defined in

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


hitBox

Optional hitBox: boolean

Defined in

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


hitChildren

Optional hitChildren: boolean

Defined in

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


hitSelf

Optional hitSelf: boolean

Defined in

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


hitRadius

Optional hitRadius: number

Defined in

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


button

Optional button: boolean

Defined in

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


cursor

Optional cursor: ICursorType | ICursorType[]

Defined in

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


motionPath

Optional motionPath: boolean

Defined in

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


motion

Optional motion: number | IUnitData

Defined in

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


motionRotation

Optional motionRotation: number | boolean

Defined in

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


normalStyle

Optional normalStyle: IObject

Defined in

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


data

Optional data: IObject

Defined in

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


__childBranchNumber

Optional __childBranchNumber: number

Defined in

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


__complex

Optional __complex: boolean

Defined in

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


__naturalWidth

Optional __naturalWidth: number

Defined in

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


__naturalHeight

Optional __naturalHeight: number

Defined in

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


__autoWidth

Optional Readonly __autoWidth: boolean

Defined in

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


__autoHeight

Optional Readonly __autoHeight: boolean

Defined in

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


__autoSide

Optional Readonly __autoSide: boolean

Defined in

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


__autoSize

Optional Readonly __autoSize: boolean

Defined in

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


__useNaturalRatio

Readonly __useNaturalRatio: boolean

Defined in

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


__isLinePath

Readonly __isLinePath: boolean

Defined in

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


__blendMode

Readonly __blendMode: string

Defined in

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


__useArrow

Optional __useArrow: boolean

Defined in

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


__useEffect

Optional __useEffect: boolean

Defined in

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


__pathInputed

Optional __pathInputed: number

Defined in

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


__pathForRender

Optional __pathForRender: IPathCommandData

Defined in

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


__path2DForRender

Optional __path2DForRender: IPath2D

Defined in

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


__pathForMotion

Optional __pathForMotion: IMotionPathData

Defined in

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

Released under the MIT License.