๐พctx.roundedRect()
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
browser โฉ canvas โฉ path โฉ ctx.roundedRect()
๐พ replit๏ผroundedRect()
โฌ๏ธ require๏ผ arcTo()
// ๐ธ ctx.roundedRect()
CanvasRenderingContext2D.prototype.roundedRect = function(
x, y, width, height, cornerRadius, {
clockwise = true
} = {}) {