public class MapLegend extends java.lang.Object implements Renderer2DPainter
| Constructor and Description |
|---|
MapLegend() |
| Modifier and Type | Method and Description |
|---|---|
LocationType |
getCenterLocation() |
double |
getMapRotation() |
double |
getZoomValue() |
void |
paint(java.awt.Graphics2D g,
int screenWidth,
int screenHeight,
boolean simple) |
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer) |
void |
setCenterLocation(LocationType centerLocation) |
void |
setMapRotation(double mapRotation) |
void |
setZoomValue(double zoomValue) |
public void paint(java.awt.Graphics2D g,
StateRenderer2D renderer)
paint in interface Renderer2DPainterpublic void paint(java.awt.Graphics2D g,
int screenWidth,
int screenHeight,
boolean simple)
public LocationType getCenterLocation()
public void setCenterLocation(LocationType centerLocation)
centerLocation - The centerLocation to set.public double getZoomValue()
public void setZoomValue(double zoomValue)
zoomValue - The zoomValue to set.public double getMapRotation()
public void setMapRotation(double mapRotation)
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.