Skip to content

Interface: ILeafInputData

Hierarchy

Table of contents

Properties

Properties

id

Optional id: string

Inherited from

ILeafAttrData.id

Defined in

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


name

Optional name: string

Inherited from

ILeafAttrData.name

Defined in

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


className

Optional className: string

Inherited from

ILeafAttrData.className

Defined in

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


blendMode

Optional blendMode: IBlendMode

Inherited from

ILeafAttrData.blendMode

Defined in

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


opacity

Optional opacity: number

Inherited from

ILeafAttrData.opacity

Defined in

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


visible

Optional visible: boolean | 0

Inherited from

ILeafAttrData.visible

Defined in

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


selected

Optional selected: boolean

Inherited from

ILeafAttrData.selected

Defined in

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


disabled

Optional disabled: boolean

Inherited from

ILeafAttrData.disabled

Defined in

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


locked

Optional locked: boolean

Inherited from

ILeafAttrData.locked

Defined in

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


zIndex

Optional zIndex: number

Inherited from

ILeafAttrData.zIndex

Defined in

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


mask

Optional mask: boolean | IMaskType

Inherited from

ILeafAttrData.mask

Defined in

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


eraser

Optional eraser: boolean | IEraserType

Inherited from

ILeafAttrData.eraser

Defined in

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


x

Optional x: number

Inherited from

ILeafAttrData.x

Defined in

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


y

Optional y: number

Inherited from

ILeafAttrData.y

Defined in

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


width

Optional width: number

Inherited from

ILeafAttrData.width

Defined in

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


height

Optional height: number

Inherited from

ILeafAttrData.height

Defined in

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


scaleX

Optional scaleX: number

Inherited from

ILeafAttrData.scaleX

Defined in

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


scaleY

Optional scaleY: number

Inherited from

ILeafAttrData.scaleY

Defined in

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


rotation

Optional rotation: number

Inherited from

ILeafAttrData.rotation

Defined in

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


skewX

Optional skewX: number

Inherited from

ILeafAttrData.skewX

Defined in

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


skewY

Optional skewY: number

Inherited from

ILeafAttrData.skewY

Defined in

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


scale

Optional scale: number | IPointData

Inherited from

ILeafAttrData.scale

Defined in

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


offsetX

Optional offsetX: number

Inherited from

ILeafAttrData.offsetX

Defined in

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


offsetY

Optional offsetY: number

Inherited from

ILeafAttrData.offsetY

Defined in

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


scrollX

Optional scrollX: number

Inherited from

ILeafAttrData.scrollX

Defined in

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


scrollY

Optional scrollY: number

Inherited from

ILeafAttrData.scrollY

Defined in

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


origin

Optional origin: IUnitPointData | IDirection

Inherited from

ILeafAttrData.origin

Defined in

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


around

Optional around: IUnitPointData | IDirection

Inherited from

ILeafAttrData.around

Defined in

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


lazy

Optional lazy: boolean

Inherited from

ILeafAttrData.lazy

Defined in

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


pixelRatio

Optional pixelRatio: number

Inherited from

ILeafAttrData.pixelRatio

Defined in

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


path

Optional path: string | IPathCommandData | IPathCommandObject[]

Inherited from

ILeafAttrData.path

Defined in

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


windingRule

Optional windingRule: IWindingRule

Inherited from

ILeafAttrData.windingRule

Defined in

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


closed

Optional closed: boolean

Inherited from

ILeafAttrData.closed

Defined in

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


flow

Optional flow: IFlowType

Inherited from

ILeafAttrData.flow

Defined in

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


padding

Optional padding: IFourNumber

Inherited from

ILeafAttrData.padding

Defined in

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


gap

Optional gap: IGap | IPointGap

Inherited from

ILeafAttrData.gap

Defined in

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


flowAlign

Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from

ILeafAttrData.flowAlign

Defined in

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


flowWrap

Optional flowWrap: IFlowWrap

Inherited from

ILeafAttrData.flowWrap

Defined in

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


itemBox

Optional itemBox: IFlowBoxType

Inherited from

ILeafAttrData.itemBox

Defined in

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


inFlow

Optional inFlow: boolean

Inherited from

ILeafAttrData.inFlow

Defined in

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


autoWidth

Optional autoWidth: IAutoSize

Inherited from

ILeafAttrData.autoWidth

Defined in

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


autoHeight

Optional autoHeight: IAutoSize

Inherited from

ILeafAttrData.autoHeight

Defined in

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


lockRatio

Optional lockRatio: boolean

Inherited from

ILeafAttrData.lockRatio

Defined in

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


autoBox

Optional autoBox: IAutoBoxData | IConstraint

Inherited from

ILeafAttrData.autoBox

Defined in

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


widthRange

Optional widthRange: IRangeSize

Inherited from

ILeafAttrData.widthRange

Defined in

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


heightRange

Optional heightRange: IRangeSize

Inherited from

ILeafAttrData.heightRange

Defined in

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


draggable

Optional draggable: boolean | IAxis

Inherited from

ILeafAttrData.draggable

Defined in

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


dragBounds

Optional dragBounds: "parent" | IBoundsData

Inherited from

ILeafAttrData.dragBounds

Defined in

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


editable

Optional editable: boolean

Inherited from

ILeafAttrData.editable

Defined in

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


hittable

Optional hittable: boolean

Inherited from

ILeafAttrData.hittable

Defined in

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


hitFill

Optional hitFill: IHitType

Inherited from

ILeafAttrData.hitFill

Defined in

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


hitStroke

Optional hitStroke: IHitType

Inherited from

ILeafAttrData.hitStroke

Defined in

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


hitBox

Optional hitBox: boolean

Inherited from

ILeafAttrData.hitBox

Defined in

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


hitChildren

Optional hitChildren: boolean

Inherited from

ILeafAttrData.hitChildren

Defined in

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


hitSelf

Optional hitSelf: boolean

Inherited from

ILeafAttrData.hitSelf

Defined in

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


hitRadius

Optional hitRadius: number

Inherited from

ILeafAttrData.hitRadius

Defined in

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


button

Optional button: boolean

Inherited from

ILeafAttrData.button

Defined in

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


cursor

Optional cursor: ICursorType | ICursorType[]

Inherited from

ILeafAttrData.cursor

Defined in

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


motionPath

Optional motionPath: boolean

Inherited from

ILeafAttrData.motionPath

Defined in

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


motion

Optional motion: number | IUnitData

Inherited from

ILeafAttrData.motion

Defined in

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


motionRotation

Optional motionRotation: number | boolean

Inherited from

ILeafAttrData.motionRotation

Defined in

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


normalStyle

Optional normalStyle: IObject

Inherited from

ILeafAttrData.normalStyle

Defined in

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


event

Optional event: IEventMap

Inherited from

ILeafAttrData.event

Defined in

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


data

Optional data: IObject

Inherited from

ILeafAttrData.data

Defined in

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


tag

Optional tag: string

Defined in

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


children

Optional children: ILeafInputData[]

Defined in

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


noBounds

Optional noBounds: boolean

Defined in

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

Released under the MIT License.