feat: 生产 shape

This commit is contained in:
2025-08-08 17:32:39 +08:00
parent 738358ab76
commit 64deb9f3be
16 changed files with 1219 additions and 160 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ const SHAPES: ShapeCard[] = [
drawFunction: 'drawRectangle',
},
{
id: 'rectangle',
id: 'parallelogram',
name: '平行四边形',
type: 'rect',
// svg: '<polygon points="20,30 70,30 90,70 40,70" stroke="#141414" stroke-width="1" fill="#ff0000"/>',
@@ -74,7 +74,7 @@ const SHAPES: ShapeCard[] = [
drawFunction: 'drawParallelogram',
},
{
id: 'parallelogram',
id: 'diamond',
name: '菱形',
type: 'rect',
// svg: '<polygon points="50,20 70,50 50,80 30,50" stroke="#141414" stroke-width="1" fill="#ff0000"/>',