feat: 完成图形涂色绘制
This commit is contained in:
@@ -23,8 +23,7 @@ const SHAPES: ShapeCard[] = [
|
||||
id: 'obtuse-triangle',
|
||||
name: '钝角三角形',
|
||||
type: 'triangle',
|
||||
// svg: '<polygon points="20,20 80,80 35,65" stroke="#141414" stroke-width="1" fill="#ff0000"/>',
|
||||
svg: '<polygon points="15,15 85,85 20,70" stroke="#141414" stroke-width="1" fill="#ff0000"/>',
|
||||
svg: '<polygon points="15,15 85,85 20,70" stroke="#141414" stroke-width="1" fill="transparent"/>',
|
||||
fillColor: '#ff0000',
|
||||
drawFunction: 'drawTriangle',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user