You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Amit. I'd like to give user the ability to mark an object in an image, ideally by double-clicking at its location, which should then draw a circle around it. I've added this event handler to the API after line 250 of webfits-canvas.js:
I verified that the double-click event triggers this function, but I don't see any effect on the canvas. I'm aware that's more an issue of my limited canvas knowledge, but if you have an idea to make this work, it might be useful for other webfits applications, too.
The text was updated successfully, but these errors were encountered:
Peter, it might be best to add another canvas as an overlay. This way you keep the image separate from the markings, and don't have to deal with the internals of the webfits library.
In the future I intend to offer methods to facilitate this functionality, but hard to tell you when ...
Hi Amit. I'd like to give user the ability to mark an object in an image, ideally by double-clicking at its location, which should then draw a circle around it. I've added this event handler to the API after line 250 of webfits-canvas.js:
I verified that the double-click event triggers this function, but I don't see any effect on the canvas. I'm aware that's more an issue of my limited canvas knowledge, but if you have an idea to make this work, it might be useful for other webfits applications, too.
The text was updated successfully, but these errors were encountered: