We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 31f3e22 + 90b0a1b commit cfb1c27Copy full SHA for cfb1c27
1 file changed
src/graphic/helper/roundRect.ts
@@ -84,4 +84,5 @@ export function buildPath(ctx: CanvasRenderingContext2D | PathProxy, shape: {
84
r4 !== 0 && ctx.arc(x + r4, y + height - r4, r4, Math.PI / 2, Math.PI);
85
ctx.lineTo(x, y + r1);
86
r1 !== 0 && ctx.arc(x + r1, y + r1, r1, Math.PI, Math.PI * 1.5);
87
+ ctx.closePath();
88
}
0 commit comments