Interface: ILeafLayout ​
Implemented by ​
Table of contents ​
Properties ​
- leaf
- proxyZoom
- contentBounds
- boxBounds
- strokeBounds
- renderBounds
- localContentBounds
- localStrokeBounds
- localRenderBounds
- localOuterBounds
- worldContentBounds
- worldBoxBounds
- worldStrokeBounds
- childrenBoxBounds
- childrenStrokeBounds
- childrenRenderBounds
- resized
- waitAutoLayout
- matrixChanged
- scaleChanged
- rotationChanged
- boundsChanged
- boxChanged
- strokeChanged
- renderChanged
- localBoxChanged
- surfaceChanged
- opacityChanged
- hitCanvasChanged
- childrenSortChanged
- stateStyleChanged
- linkerChanged
- scrollConfigChanged
- editConfigChanged
- affectScaleOrRotation
- affectRotation
- affectChildrenSort
- strokeSpread
- strokeBoxSpread
- renderSpread
- renderShapeSpread
- scaleFixed
- outerScale
- a
- b
- c
- d
- e
- f
- x
- y
- width
- height
Methods ​
- createLocal
- update
- getTransform
- getBounds
- getLayoutBounds
- getLayoutPoints
- shrinkContent
- spreadStroke
- spreadRender
- shrinkContentCancel
- spreadStrokeCancel
- spreadRenderCancel
- boxChange
- localBoxChange
- strokeChange
- renderChange
- scaleChange
- rotationChange
- matrixChange
- surfaceChange
- opacityChange
- childrenSortChange
- destroy
Properties ​
leaf ​
• leaf: ILeaf
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:10
proxyZoom ​
• proxyZoom: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:12
contentBounds ​
• contentBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:16
boxBounds ​
• boxBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:17
strokeBounds ​
• strokeBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:18
renderBounds ​
• renderBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:19
localContentBounds ​
• localContentBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:23
localStrokeBounds ​
• localStrokeBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:25
localRenderBounds ​
• localRenderBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:26
localOuterBounds ​
• Optional localOuterBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:27
worldContentBounds ​
• worldContentBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:31
worldBoxBounds ​
• worldBoxBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:32
worldStrokeBounds ​
• worldStrokeBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:33
childrenBoxBounds ​
• Optional childrenBoxBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:38
childrenStrokeBounds ​
• Optional childrenStrokeBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:39
childrenRenderBounds ​
• Optional childrenRenderBounds: IBoundsData
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:40
resized ​
• resized: "scale" | "local" | "inner"
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:43
waitAutoLayout ​
• waitAutoLayout: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:44
matrixChanged ​
• matrixChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:47
scaleChanged ​
• scaleChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:48
rotationChanged ​
• rotationChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:49
boundsChanged ​
• boundsChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:52
boxChanged ​
• boxChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:54
strokeChanged ​
• strokeChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:55
renderChanged ​
• renderChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:56
localBoxChanged ​
• localBoxChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:58
surfaceChanged ​
• surfaceChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:61
opacityChanged ​
• opacityChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:62
hitCanvasChanged ​
• hitCanvasChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:64
childrenSortChanged ​
• Optional childrenSortChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:66
stateStyleChanged ​
• Optional stateStyleChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:67
linkerChanged ​
• Optional linkerChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:68
scrollConfigChanged ​
• Optional scrollConfigChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:71
editConfigChanged ​
• Optional editConfigChanged: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:72
affectScaleOrRotation ​
• affectScaleOrRotation: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:75
affectRotation ​
• affectRotation: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:76
affectChildrenSort ​
• Optional affectChildrenSort: boolean
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:77
strokeSpread ​
• strokeSpread: IFourNumber
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:79
strokeBoxSpread ​
• strokeBoxSpread: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:80
renderSpread ​
• renderSpread: IFourNumber
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:81
renderShapeSpread ​
• renderShapeSpread: IFourNumber
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:82
scaleFixed ​
• Optional scaleFixed: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:85
outerScale ​
• Optional outerScale: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:86
a ​
• a: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:89
b ​
• b: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:90
c ​
• c: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:91
d ​
• d: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:92
e ​
• e: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:93
f ​
• f: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:94
x ​
• x: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:95
y ​
• y: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:96
width ​
• width: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:97
height ​
• height: number
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:98
Methods ​
createLocal ​
â–¸ createLocal(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:100
update ​
â–¸ update(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:102
getTransform ​
â–¸ getTransform(relative?): IMatrixData
Parameters ​
| Name | Type |
|---|---|
relative? | ILeaf | ILocationType |
Returns ​
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:104
getBounds ​
â–¸ getBounds(type?, relative?): IBoundsData
Parameters ​
| Name | Type |
|---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns ​
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:105
getLayoutBounds ​
â–¸ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData
Parameters ​
| Name | Type |
|---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
unscale? | boolean |
Returns ​
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:106
getLayoutPoints ​
â–¸ getLayoutPoints(type?, relative?): IPointData[]
Parameters ​
| Name | Type |
|---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns ​
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:107
shrinkContent ​
â–¸ shrinkContent(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:110
spreadStroke ​
â–¸ spreadStroke(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:111
spreadRender ​
â–¸ spreadRender(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:112
shrinkContentCancel ​
â–¸ shrinkContentCancel(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:113
spreadStrokeCancel ​
â–¸ spreadStrokeCancel(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:114
spreadRenderCancel ​
â–¸ spreadRenderCancel(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:115
boxChange ​
â–¸ boxChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:118
localBoxChange ​
â–¸ localBoxChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:119
strokeChange ​
â–¸ strokeChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:120
renderChange ​
â–¸ renderChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:121
scaleChange ​
â–¸ scaleChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:124
rotationChange ​
â–¸ rotationChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:125
matrixChange ​
â–¸ matrixChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:126
surfaceChange ​
â–¸ surfaceChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:129
opacityChange ​
â–¸ opacityChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:130
childrenSortChange ​
â–¸ childrenSortChange(): void
Returns ​
void
Defined in ​
src/leafer/packages/interface/src/layout/ILeafLayout.ts:132
destroy ​
â–¸ destroy(): void
Returns ​
void