feat: add FilletTool implementation
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
import { Tool } from '../Tool';
|
||||||
|
import { Canvas } from '../../canvas/Canvas';
|
||||||
|
|
||||||
|
export class FilletTool extends Tool {
|
||||||
|
name = 'Fillet';
|
||||||
|
icon = 'fillet';
|
||||||
|
|
||||||
|
constructor(canvas: Canvas) {
|
||||||
|
super(canvas);
|
||||||
|
}
|
||||||
|
|
||||||
|
async execute(): Promise<void> {
|
||||||
|
// Implementation for fillet tool
|
||||||
|
// Select two elements and radius
|
||||||
|
// Update Yjs document with filleted elements
|
||||||
|
// Add to undo history
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user