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


name ​

• Optional name: string

Inherited from ​

ILeafAttrData.name

Defined in ​

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


className ​

• Optional className: string

Inherited from ​

ILeafAttrData.className

Defined in ​

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


blendMode ​

• Optional blendMode: IBlendMode

Inherited from ​

ILeafAttrData.blendMode

Defined in ​

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


opacity ​

• Optional opacity: number

Inherited from ​

ILeafAttrData.opacity

Defined in ​

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


visible ​

• Optional visible: boolean | 0

Inherited from ​

ILeafAttrData.visible

Defined in ​

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


selected ​

• Optional selected: boolean

Inherited from ​

ILeafAttrData.selected

Defined in ​

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


disabled ​

• Optional disabled: boolean

Inherited from ​

ILeafAttrData.disabled

Defined in ​

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


locked ​

• Optional locked: boolean

Inherited from ​

ILeafAttrData.locked

Defined in ​

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


zIndex ​

• Optional zIndex: number

Inherited from ​

ILeafAttrData.zIndex

Defined in ​

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


mask ​

• Optional mask: boolean | IMaskType

Inherited from ​

ILeafAttrData.mask

Defined in ​

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


eraser ​

• Optional eraser: boolean | IEraserType

Inherited from ​

ILeafAttrData.eraser

Defined in ​

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


x ​

• Optional x: number

Inherited from ​

ILeafAttrData.x

Defined in ​

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


y ​

• Optional y: number

Inherited from ​

ILeafAttrData.y

Defined in ​

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


width ​

• Optional width: number

Inherited from ​

ILeafAttrData.width

Defined in ​

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


height ​

• Optional height: number

Inherited from ​

ILeafAttrData.height

Defined in ​

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


scaleX ​

• Optional scaleX: number

Inherited from ​

ILeafAttrData.scaleX

Defined in ​

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


scaleY ​

• Optional scaleY: number

Inherited from ​

ILeafAttrData.scaleY

Defined in ​

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


rotation ​

• Optional rotation: number

Inherited from ​

ILeafAttrData.rotation

Defined in ​

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


skewX ​

• Optional skewX: number

Inherited from ​

ILeafAttrData.skewX

Defined in ​

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


skewY ​

• Optional skewY: number

Inherited from ​

ILeafAttrData.skewY

Defined in ​

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


scale ​

• Optional scale: number | IPointData

Inherited from ​

ILeafAttrData.scale

Defined in ​

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


offsetX ​

• Optional offsetX: number

Inherited from ​

ILeafAttrData.offsetX

Defined in ​

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


offsetY ​

• Optional offsetY: number

Inherited from ​

ILeafAttrData.offsetY

Defined in ​

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


scrollX ​

• Optional scrollX: number

Inherited from ​

ILeafAttrData.scrollX

Defined in ​

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


scrollY ​

• Optional scrollY: number

Inherited from ​

ILeafAttrData.scrollY

Defined in ​

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


origin ​

• Optional origin: IUnitPointData | IDirection

Inherited from ​

ILeafAttrData.origin

Defined in ​

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


around ​

• Optional around: IUnitPointData | IDirection

Inherited from ​

ILeafAttrData.around

Defined in ​

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


lazy ​

• Optional lazy: boolean

Inherited from ​

ILeafAttrData.lazy

Defined in ​

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


pixelRatio ​

• Optional pixelRatio: number

Inherited from ​

ILeafAttrData.pixelRatio

Defined in ​

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


path ​

• Optional path: string | IPathCommandData | IPathCommandObject[]

Inherited from ​

ILeafAttrData.path

Defined in ​

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


windingRule ​

• Optional windingRule: IWindingRule

Inherited from ​

ILeafAttrData.windingRule

Defined in ​

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


closed ​

• Optional closed: boolean

Inherited from ​

ILeafAttrData.closed

Defined in ​

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


flow ​

• Optional flow: IFlowType

Inherited from ​

ILeafAttrData.flow

Defined in ​

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


padding ​

• Optional padding: IFourNumber

Inherited from ​

ILeafAttrData.padding

Defined in ​

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


gap ​

• Optional gap: IGap | IPointGap

Inherited from ​

ILeafAttrData.gap

Defined in ​

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


flowAlign ​

• Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from ​

ILeafAttrData.flowAlign

Defined in ​

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


flowWrap ​

• Optional flowWrap: IFlowWrap

Inherited from ​

ILeafAttrData.flowWrap

Defined in ​

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


itemBox ​

• Optional itemBox: IFlowBoxType

Inherited from ​

ILeafAttrData.itemBox

Defined in ​

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


inFlow ​

• Optional inFlow: boolean

Inherited from ​

ILeafAttrData.inFlow

Defined in ​

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


autoWidth ​

• Optional autoWidth: IAutoSize

Inherited from ​

ILeafAttrData.autoWidth

Defined in ​

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


autoHeight ​

• Optional autoHeight: IAutoSize

Inherited from ​

ILeafAttrData.autoHeight

Defined in ​

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


lockRatio ​

• Optional lockRatio: boolean

Inherited from ​

ILeafAttrData.lockRatio

Defined in ​

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


autoBox ​

• Optional autoBox: IAutoBoxData | IConstraint

Inherited from ​

ILeafAttrData.autoBox

Defined in ​

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


widthRange ​

• Optional widthRange: IRangeSize

Inherited from ​

ILeafAttrData.widthRange

Defined in ​

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


heightRange ​

• Optional heightRange: IRangeSize

Inherited from ​

ILeafAttrData.heightRange

Defined in ​

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


draggable ​

• Optional draggable: boolean | IAxis

Inherited from ​

ILeafAttrData.draggable

Defined in ​

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


dragBounds ​

• Optional dragBounds: "parent" | IBoundsData

Inherited from ​

ILeafAttrData.dragBounds

Defined in ​

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


editable ​

• Optional editable: boolean

Inherited from ​

ILeafAttrData.editable

Defined in ​

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


hittable ​

• Optional hittable: boolean

Inherited from ​

ILeafAttrData.hittable

Defined in ​

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


hitFill ​

• Optional hitFill: IHitType

Inherited from ​

ILeafAttrData.hitFill

Defined in ​

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


hitStroke ​

• Optional hitStroke: IHitType

Inherited from ​

ILeafAttrData.hitStroke

Defined in ​

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


hitBox ​

• Optional hitBox: boolean

Inherited from ​

ILeafAttrData.hitBox

Defined in ​

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


hitChildren ​

• Optional hitChildren: boolean

Inherited from ​

ILeafAttrData.hitChildren

Defined in ​

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


hitSelf ​

• Optional hitSelf: boolean

Inherited from ​

ILeafAttrData.hitSelf

Defined in ​

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


hitRadius ​

• Optional hitRadius: number

Inherited from ​

ILeafAttrData.hitRadius

Defined in ​

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


button ​

• Optional button: boolean

Inherited from ​

ILeafAttrData.button

Defined in ​

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


cursor ​

• Optional cursor: ICursorType | ICursorType[]

Inherited from ​

ILeafAttrData.cursor

Defined in ​

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


motionPath ​

• Optional motionPath: boolean

Inherited from ​

ILeafAttrData.motionPath

Defined in ​

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


motionPrecision ​

• Optional motionPrecision: number

Inherited from ​

ILeafAttrData.motionPrecision

Defined in ​

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


motion ​

• Optional motion: number | IUnitData

Inherited from ​

ILeafAttrData.motion

Defined in ​

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


motionRotation ​

• Optional motionRotation: number | boolean

Inherited from ​

ILeafAttrData.motionRotation

Defined in ​

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


normalStyle ​

• Optional normalStyle: IObject

Inherited from ​

ILeafAttrData.normalStyle

Defined in ​

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


event ​

• Optional event: IEventMap

Inherited from ​

ILeafAttrData.event

Defined in ​

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


data ​

• Optional data: IObject

Inherited from ​

ILeafAttrData.data

Defined in ​

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


tag ​

• Optional tag: string

Defined in ​

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


children ​

• Optional children: ILeafInputData[]

Defined in ​

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


noBounds ​

• Optional noBounds: boolean

Defined in ​

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

Released under the MIT License.