Winter Cardinal UI - v0.457.0 / DDiagramCanvasEditorSnap
• new DDiagramCanvasEditorSnap(parent, theme, options): DDiagramCanvasEditorSnap
| Name | Type |
|---|---|
parent |
DDiagramCanvasEditorSnapParent |
theme |
DThemeDiagramCanvasEditorSnap |
options |
DDiagramCanvasEditorSnapOptions |
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:128
• Protected _container: EShapeContainer
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:116
• Protected _controller: ESnapper
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:115
• Protected _grid: DDiagramCanvasEditorSnapGrid
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:120
• Protected _gridParentHeight: number
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:122
• Protected _gridParentScale: number
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:123
• Protected _gridParentWidth: number
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:121
• Protected _gridSize: number
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:124
• Protected _isDirty: boolean
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:118
• Protected _parent: DDiagramCanvasEditorSnapParent
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:114
• Protected _target: DDiagramCanvasEditorSnapTarget
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:126
• get container(): EShapeContainer
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:247
▸ newGridSize(): number
number
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:279
▸ onChange(): void
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:242
▸ onRender(): void
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:288
▸ onResize(newWidth, newHeight, oldWidth, oldHeight): void
| Name | Type |
|---|---|
newWidth |
number |
newHeight |
number |
oldWidth |
number |
oldHeight |
number |
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:255
▸ onScale(newX, newY, oldX, oldY): void
| Name | Type |
|---|---|
newX |
number |
newY |
number |
oldX |
number |
oldY |
number |
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:264
▸ serialize(): DDiagramSerializedSnap
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:251
▸ toGrid(theme, options?): DDiagramCanvasEditorSnapGrid
| Name | Type |
|---|---|
theme |
DThemeDiagramCanvasEditorSnap |
options? |
DDiagramCanvasEditorSnapGridOptions |
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:162
▸ toGridMajor(theme, options?): DDiagramCanvasEditorSnapGridMajor
| Name | Type |
|---|---|
theme |
DThemeDiagramCanvasEditorSnap |
options? |
DDiagramCanvasEditorSnapGridMajorOptions |
DDiagramCanvasEditorSnapGridMajor
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:180
▸ toGridMinor(theme, options?): DDiagramCanvasEditorSnapGridMinor
| Name | Type |
|---|---|
theme |
DThemeDiagramCanvasEditorSnap |
options? |
DDiagramCanvasEditorSnapGridMinorOptions |
DDiagramCanvasEditorSnapGridMinor
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:202
▸ toTarget(theme, options?): DDiagramCanvasEditorSnapTarget
| Name | Type |
|---|---|
theme |
DThemeDiagramCanvasEditorSnap |
options? |
DDiagramCanvasEditorSnapTargetOptions |
DDiagramCanvasEditorSnapTarget
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:222
▸ update(container, shapes, index, x, y, position, w, h, style): void
| Name | Type |
|---|---|
container |
EShapeContainer |
shapes |
EShapeBar[] |
index |
number |
x |
number |
y |
number |
position |
EShapeBarPosition |
w |
number |
h |
number |
style |
DDiagramCanvasEditorSnapGridMajor | DDiagramCanvasEditorSnapGridMinor | DDiagramCanvasEditorSnapTarget |
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:354
▸ updateAll(): void
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:295
▸ updateGridSize(): void
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-editor-snap.ts:271