public class DrawingPanel.ZoomBox
extends java.lang.Object
Constructor and Description |
---|
DrawingPanel.ZoomBox() |
Modifier and Type | Method and Description |
---|---|
void |
drag(int xpix,
int ypix)
Drags the corner of the Zoombox.
|
void |
endZoom(int xpix,
int ypix)
Ends the zoom by setting a new scale.
|
void |
prepareZoom()
Prepares to zoom
|
java.awt.geom.Rectangle2D.Double |
reportZoom(int xpix,
int ypix)
Ends the zoom and reports the rectangle selected
|
void |
startZoom(int xpix,
int ypix)
Starts the zoom by saving the corner location.
|
public void startZoom(int xpix, int ypix)
xpix
- ypix
- public void endZoom(int xpix, int ypix)
public void prepareZoom()
public java.awt.geom.Rectangle2D.Double reportZoom(int xpix, int ypix)
public void drag(int xpix, int ypix)
xpix
- ypix
-