Hi. First of all thank you for creating this awesome package.
I just want to know whether I can stop the user from dragging the annotation outside the canvas,partially or fully.
If the user drags the annotation partially outside the canvas the X or Y value is negative(depending the direction).
Example:
{
mark:{
height: 219.27272727272725
type: "RECT"
width: 279.81818181818176
x: -75.09090909090902
y: 268.36363636363643
}
}
Any help would be greatly appreciated.