Skip to content

Commit

Permalink
JSDOC
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Jun 16, 2022
1 parent e65cb50 commit 36b7608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mixins/object_interactivity.mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@
},

/**
* @public override if necessary
* @param {CanvasRenderingContext2D} ctx
* @param {fabric.Point} size
* @public override this function in order to customize the drawing of the control box, e.g. rounded corners, different border style.
* @param {CanvasRenderingContext2D} ctx ctx is rotated and translated so that (0,0) is at object's center
* @param {fabric.Point} size the control box size used
*/
strokeBorders: function (ctx, size) {
ctx.strokeRect(
Expand Down

0 comments on commit 36b7608

Please sign in to comment.