Question about how to get coordinates of beginning and end
Hi, I am using Annotorious now, but I cannot get coordinates at beginning and end. I mean, my aim is to get the coordinates of specific area. I want to cut down this special area which I've circled it. When I do it, it will return some "sc" information which looks like that "sc {type: "mousemove", target: canvas.annotorious-item.annotorious-opacity-fade, currentTarget: canvas.annotorious-item.annotorious-opacity-fade, relatedTarget: null, offsetX: 12" What I need to do if I want to get both offsetX and offsetY? Because I am not familiar with canvas. Should I write some code based on canvas or which kind of Annotorious javascript API I should use? If yes, could you please offer me an example about this? Or maybe you can offer me a link of canvas about getting the coordinates as well. If you can help me, I will be appreciate of you!
Best regards, Jin