新增正方形和椭圆
This commit is contained in:
parent
3fed8af69d
commit
8340a64698
|
@ -77,7 +77,7 @@ export const drawElliptic = (ctx, x, y, rX, rY, fill = false) => {
|
||||||
drawWrap(
|
drawWrap(
|
||||||
ctx,
|
ctx,
|
||||||
() => {
|
() => {
|
||||||
ctx.ellipse(x, y, rX, rY, 0,0, 2 * Math.PI)
|
ctx.ellipse(x, y, rX/2, rY/2, 0,0, 2 * Math.PI)
|
||||||
},
|
},
|
||||||
fill
|
fill
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue