Jump to content
Sign in to follow this  
JensenBreck

How to drag an image within canvas as well as draw on the same canvas ?

Recommended Posts

Hi All,
Here I'm trying to draw on a html5 canvas as well as upload some images and drag them within the same canvas. The problem is I can not drag every uploaded image, at the moment I can only drag the last one rest become part of background image. I know I need to instantiate each image but It doesn't seem to work. Can anyone point me to right direction please.
 

 

 

 

I didn't find the right solution from the internet.
References:

https://forums.digitalpoint.com/threads/how-to-drag-an-image-within-canvas-as-well-as-draw-on-the-same-canvas.2796494/

teaser trailer

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...