public class Navigation
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ProjectionRect |
getMapArea(ProjectionRect rect)
Get current MapArea .
|
double |
getPixPerWorld() |
double |
getScreenHeight() |
double |
getScreenWidth() |
java.awt.geom.AffineTransform |
getTransform()
Get the affine transform based on screen size and world bounding box
|
void |
zoomIn(double x,
double y) |
void |
zoomOut(double x,
double y) |
public double getScreenWidth()
public double getScreenHeight()
public java.awt.geom.AffineTransform getTransform()
public ProjectionRect getMapArea(ProjectionRect rect)
rect
- : place results here, or null to create new Objectpublic double getPixPerWorld()
public void zoomIn(double x, double y)
public void zoomOut(double x, double y)