Skip to content

Interface: ILeafAttrData

Hierarchy

Table of contents

Properties

Properties

id

Optional id: string

Defined in

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


name

Optional name: string

Defined in

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


className

Optional className: string

Defined in

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


blendMode

Optional blendMode: IBlendMode

Defined in

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


opacity

Optional opacity: number

Defined in

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


visible

Optional visible: boolean | 0

Defined in

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


selected

Optional selected: boolean

Defined in

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


disabled

Optional disabled: boolean

Defined in

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


locked

Optional locked: boolean

Defined in

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


zIndex

Optional zIndex: number

Defined in

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


mask

Optional mask: boolean | IMaskType

Defined in

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


eraser

Optional eraser: boolean | IEraserType

Defined in

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


x

Optional x: number

Defined in

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


y

Optional y: number

Defined in

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


width

Optional width: number

Defined in

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


height

Optional height: number

Defined in

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


scaleX

Optional scaleX: number

Defined in

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


scaleY

Optional scaleY: number

Defined in

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


rotation

Optional rotation: number

Defined in

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


skewX

Optional skewX: number

Defined in

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


skewY

Optional skewY: number

Defined in

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


scale

Optional scale: number | IPointData

Defined in

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


offsetX

Optional offsetX: number

Defined in

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


offsetY

Optional offsetY: number

Defined in

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


scrollX

Optional scrollX: number

Defined in

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


scrollY

Optional scrollY: number

Defined in

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


origin

Optional origin: IUnitPointData | IDirection

Defined in

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


around

Optional around: IUnitPointData | IDirection

Defined in

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


lazy

Optional lazy: boolean

Defined in

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


pixelRatio

Optional pixelRatio: number

Defined in

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


path

Optional path: string | IPathCommandData | IPathCommandObject[]

Defined in

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


windingRule

Optional windingRule: IWindingRule

Defined in

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


closed

Optional closed: boolean

Defined in

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


flow

Optional flow: IFlowType

Defined in

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


padding

Optional padding: IFourNumber

Defined in

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


gap

Optional gap: IGap | IPointGap

Defined in

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


flowAlign

Optional flowAlign: IFlowAxisAlign | IFlowAlign

Defined in

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


flowWrap

Optional flowWrap: IFlowWrap

Defined in

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


itemBox

Optional itemBox: IFlowBoxType

Defined in

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


inFlow

Optional inFlow: boolean

Defined in

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


autoWidth

Optional autoWidth: IAutoSize

Defined in

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


autoHeight

Optional autoHeight: IAutoSize

Defined in

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


lockRatio

Optional lockRatio: boolean

Defined in

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


autoBox

Optional autoBox: IAutoBoxData | IConstraint

Defined in

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


widthRange

Optional widthRange: IRangeSize

Defined in

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


heightRange

Optional heightRange: IRangeSize

Defined in

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


draggable

Optional draggable: boolean | IAxis

Defined in

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


dragBounds

Optional dragBounds: "parent" | IBoundsData

Defined in

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


editable

Optional editable: boolean

Defined in

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


hittable

Optional hittable: boolean

Defined in

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


hitFill

Optional hitFill: IHitType

Defined in

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


hitStroke

Optional hitStroke: IHitType

Defined in

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


hitBox

Optional hitBox: boolean

Defined in

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


hitChildren

Optional hitChildren: boolean

Defined in

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


hitSelf

Optional hitSelf: boolean

Defined in

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


hitRadius

Optional hitRadius: number

Defined in

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


button

Optional button: boolean

Defined in

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


cursor

Optional cursor: ICursorType | ICursorType[]

Defined in

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


motionPath

Optional motionPath: boolean

Defined in

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


motion

Optional motion: number | IUnitData

Defined in

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


motionRotation

Optional motionRotation: number | boolean

Defined in

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


normalStyle

Optional normalStyle: IObject

Defined in

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


event

Optional event: IEventMap

Defined in

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


data

Optional data: IObject

Defined in

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

Released under the MIT License.