Interface: ILeafAttrData
Hierarchy
ILeafAttrData
Table of contents
Properties
- id
- name
- className
- blendMode
- opacity
- visible
- selected
- disabled
- locked
- zIndex
- mask
- eraser
- x
- y
- width
- height
- scaleX
- scaleY
- rotation
- skewX
- skewY
- scale
- offsetX
- offsetY
- scrollX
- scrollY
- origin
- around
- lazy
- pixelRatio
- path
- windingRule
- closed
- flow
- padding
- gap
- flowAlign
- flowWrap
- itemBox
- inFlow
- autoWidth
- autoHeight
- lockRatio
- autoBox
- widthRange
- heightRange
- draggable
- dragBounds
- editable
- hittable
- hitFill
- hitStroke
- hitBox
- hitChildren
- hitSelf
- hitRadius
- button
- cursor
- motionPath
- motionPrecision
- motion
- motionRotation
- normalStyle
- event
- data
Properties
id
• Optional
id: string
Defined in
leafer/packages/interface/src/display/ILeaf.ts:212
name
• Optional
name: string
Defined in
leafer/packages/interface/src/display/ILeaf.ts:213
className
• Optional
className: string
Defined in
leafer/packages/interface/src/display/ILeaf.ts:214
blendMode
• Optional
blendMode: IBlendMode
Defined in
leafer/packages/interface/src/display/ILeaf.ts:216
opacity
• Optional
opacity: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:217
visible
• Optional
visible: boolean
| 0
Defined in
leafer/packages/interface/src/display/ILeaf.ts:218
selected
• Optional
selected: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:219
disabled
• Optional
disabled: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:220
locked
• Optional
locked: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:221
zIndex
• Optional
zIndex: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:222
mask
• Optional
mask: boolean
| IMaskType
Defined in
leafer/packages/interface/src/display/ILeaf.ts:224
eraser
• Optional
eraser: boolean
| IEraserType
Defined in
leafer/packages/interface/src/display/ILeaf.ts:225
x
• Optional
x: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:228
y
• Optional
y: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:229
width
• Optional
width: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:230
height
• Optional
height: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:231
scaleX
• Optional
scaleX: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:232
scaleY
• Optional
scaleY: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:233
rotation
• Optional
rotation: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:234
skewX
• Optional
skewX: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:235
skewY
• Optional
skewY: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:236
scale
• Optional
scale: number
| IPointData
Defined in
leafer/packages/interface/src/display/ILeaf.ts:238
offsetX
• Optional
offsetX: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:240
offsetY
• Optional
offsetY: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:241
scrollX
• Optional
scrollX: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:242
scrollY
• Optional
scrollY: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:243
origin
• Optional
origin: IUnitPointData
| IDirection
Defined in
leafer/packages/interface/src/display/ILeaf.ts:245
around
• Optional
around: IUnitPointData
| IDirection
Defined in
leafer/packages/interface/src/display/ILeaf.ts:246
lazy
• Optional
lazy: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:248
pixelRatio
• Optional
pixelRatio: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:249
path
• Optional
path: string
| IPathCommandData
| IPathCommandObject
[]
Defined in
leafer/packages/interface/src/display/ILeaf.ts:251
windingRule
• Optional
windingRule: IWindingRule
Defined in
leafer/packages/interface/src/display/ILeaf.ts:252
closed
• Optional
closed: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:253
flow
• Optional
flow: IFlowType
Defined in
leafer/packages/interface/src/display/ILeaf.ts:256
padding
• Optional
padding: IFourNumber
Defined in
leafer/packages/interface/src/display/ILeaf.ts:257
gap
• Optional
gap: IGap
| IPointGap
Defined in
leafer/packages/interface/src/display/ILeaf.ts:258
flowAlign
• Optional
flowAlign: IFlowAxisAlign
| IFlowAlign
Defined in
leafer/packages/interface/src/display/ILeaf.ts:259
flowWrap
• Optional
flowWrap: IFlowWrap
Defined in
leafer/packages/interface/src/display/ILeaf.ts:260
itemBox
• Optional
itemBox: IFlowBoxType
Defined in
leafer/packages/interface/src/display/ILeaf.ts:261
inFlow
• Optional
inFlow: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:263
autoWidth
• Optional
autoWidth: IAutoSize
Defined in
leafer/packages/interface/src/display/ILeaf.ts:264
autoHeight
• Optional
autoHeight: IAutoSize
Defined in
leafer/packages/interface/src/display/ILeaf.ts:265
lockRatio
• Optional
lockRatio: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:266
autoBox
• Optional
autoBox: IAutoBoxData
| IConstraint
Defined in
leafer/packages/interface/src/display/ILeaf.ts:267
widthRange
• Optional
widthRange: IRangeSize
Defined in
leafer/packages/interface/src/display/ILeaf.ts:269
heightRange
• Optional
heightRange: IRangeSize
Defined in
leafer/packages/interface/src/display/ILeaf.ts:270
draggable
• Optional
draggable: boolean
| IAxis
Defined in
leafer/packages/interface/src/display/ILeaf.ts:273
dragBounds
• Optional
dragBounds: "parent"
| IBoundsData
Defined in
leafer/packages/interface/src/display/ILeaf.ts:274
editable
• Optional
editable: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:276
hittable
• Optional
hittable: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:278
hitFill
• Optional
hitFill: IHitType
Defined in
leafer/packages/interface/src/display/ILeaf.ts:279
hitStroke
• Optional
hitStroke: IHitType
Defined in
leafer/packages/interface/src/display/ILeaf.ts:280
hitBox
• Optional
hitBox: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:281
hitChildren
• Optional
hitChildren: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:282
hitSelf
• Optional
hitSelf: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:283
hitRadius
• Optional
hitRadius: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:284
button
• Optional
button: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:286
cursor
• Optional
cursor: ICursorType
| ICursorType
[]
Defined in
leafer/packages/interface/src/display/ILeaf.ts:287
motionPath
• Optional
motionPath: boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:289
motionPrecision
• Optional
motionPrecision: number
Defined in
leafer/packages/interface/src/display/ILeaf.ts:290
motion
• Optional
motion: number
| IUnitData
Defined in
leafer/packages/interface/src/display/ILeaf.ts:292
motionRotation
• Optional
motionRotation: number
| boolean
Defined in
leafer/packages/interface/src/display/ILeaf.ts:293
normalStyle
• Optional
normalStyle: IObject
Defined in
leafer/packages/interface/src/display/ILeaf.ts:295
event
• Optional
event: IEventMap
Defined in
leafer/packages/interface/src/display/ILeaf.ts:297
data
• Optional
data: IObject