深度画布
This commit is contained in:
@@ -120,6 +120,7 @@ export class ShapeToolManager {
|
||||
width: 0,
|
||||
height: 0,
|
||||
fill: '#000',
|
||||
strokeWidth: 0,
|
||||
})
|
||||
return rect
|
||||
}
|
||||
@@ -159,6 +160,7 @@ export class ShapeToolManager {
|
||||
left: this.startX,
|
||||
top: this.startY,
|
||||
fill: '#000',
|
||||
strokeWidth: 0,
|
||||
})
|
||||
return circle
|
||||
}
|
||||
@@ -180,6 +182,7 @@ export class ShapeToolManager {
|
||||
width: 0,
|
||||
height: 0,
|
||||
fill: '#000',
|
||||
strokeWidth: 0,
|
||||
})
|
||||
return triangle
|
||||
}
|
||||
@@ -203,6 +206,7 @@ export class ShapeToolManager {
|
||||
fill: '#000',
|
||||
strokeLineJoin: 'round', // 圆角连接
|
||||
strokeLineCap: 'round', // 圆角端点
|
||||
strokeWidth: 0,
|
||||
});
|
||||
|
||||
return star
|
||||
|
||||
Reference in New Issue
Block a user