Methods
panend(e)
- Description:
if the user clicks anywhere outside the image, stop moving and resizing and copy the image to the canvas
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
e |
event |
panstart()
- Description:
startX and startY are mouse locations at the start of the drag endX and endY are the locations of the mouse pointer during the drag endX - startX, endY - startY are thus the drag vector origWidth and origHeight are the size of the image when first loaded startWidth and startHeight are the width and height at the start of resizing startLeft and startTop are the position of the top left of the image at the start of dragging image.left, image.top, image.width and image.height are the values during dragging and resizing that change as the mouse moves
- Source: