feat: 生产 shape
This commit is contained in:
@@ -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"/>',
|
||||
|
||||
Reference in New Issue
Block a user