Skip to content

Commit

Permalink
Added BaseRenderingContext2D.prototype.roundRect
Browse files Browse the repository at this point in the history
  • Loading branch information
codyebberson committed Aug 15, 2023
1 parent 95a497e commit 9b3790f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions externs/browser/html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,17 @@ Path2D.prototype.arcTo = function(x1, y1, x2, y2, radius) {};
*/
Path2D.prototype.rect = function(x, y, w, h) {};

/**
* @param {number} x
* @param {number} y
* @param {number} w
* @param {number} h
* @param {(number|DOMPointInit|Array<DOMPointInit>)=} radii
* @return {undefined}
* @override
*/
Path2D.prototype.roundRect = function(x, y, w, h, radii) {};

/**
* @param {number} x
* @param {number} y
Expand Down Expand Up @@ -660,6 +671,16 @@ BaseRenderingContext2D.prototype.arcTo = function(x1, y1, x2, y2, radius) {};
*/
BaseRenderingContext2D.prototype.rect = function(x, y, w, h) {};

/**
* @param {number} x
* @param {number} y
* @param {number} w
* @param {number} h
* @param {number|DOMPointInit|Array<DOMPointInit>} radii
* @return {undefined}
*/
BaseRenderingContext2D.prototype.roundRect = function(x, y, w, h, radii) {};

/**
* @param {number} x
* @param {number} y
Expand Down

0 comments on commit 9b3790f

Please sign in to comment.