当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - draw a shape inside canvas

问题描述:

im quite new in html5 canvas, and i got a script online quite nice, is great in drawing shapes on images and grabbing the coordinates. Im using it to create costume tags on photos. The only issue im having is in creating static shapes tags above the image, i dont want the current canvas that is being used in the page influences in the static ones (when i say static im saying for example coordenates of shapes that already exist in the current image.

working example:

https://jsbin.com/putumeqeki/edit?html,js,output

分享给朋友:
您可能感兴趣的文章:
随机阅读: