Image Insertion in NextDraw
- [✅ ] Tried NextDraw ?
What is Currently present in the nextdraw :
- Image option is not available in nextdraw
Features:
Introducing Image in NextDraw .
Guide :
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage
As like the other shapes in NextDraw we can add Image View .
Steps to follow :
1 ) First go and read how other shapes has been drawn in NextDraw . It's simple , explore the files like Drawing.js , Element.js and others .
- you have to change the Drawing.js for rendering the image on the canvas
- You have to change Element.js for updating the image or getting the below (under the mouse) element as image and others.
- You have to change the mouse.js for detecting the image element
- Change move.js for moving the image element
- resize.js for resizing the image , remember the Aspect Ration should remain constant
- Further, you should explore youself
Can you please assign it to me under GSSOC'24?
I am participating in GSSOC'24 and I am interested in this issue, Could you please assign me.
can please assign this issue to me . i want to solve this issue.
@dhruvpatidar359 I Will like to work on it!!
@AMISH-KHAN assigning