Skip to content

Commit

Permalink
setCoords
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Apr 11, 2024
1 parent f58618f commit 2c03ee1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shapes/Object/InteractiveObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,9 @@ export class InteractiveFabricObject<
* Draws corners of an object's bounding box.
* Requires public properties: width, height
* Requires public options: cornerSize, padding
* Be aware that since fabric 6.0 this function does not call setCoords anymore.
* setCoords needs to be called manually if the object of which we are rendering controls
* is outside the standard selection and transform process.
* @param {CanvasRenderingContext2D} ctx Context to draw on
* @param {ControlRenderingStyleOverride} styleOverride object to override the object style
*/
Expand Down

0 comments on commit 2c03ee1

Please sign in to comment.