Package Map
Class Compass
java.lang.Object
Map.Compass
Draws a compass given the rotation of the map in degrees.
- Author:
- David McLaren
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawCompass
(Graphics2D g2d, MapRectProjector rectProj) void
setMapRotationDegrees
(double mapRotationDegrees) void
setPanelWidth
(int panelWidth)
-
Constructor Details
-
Compass
public Compass()
-
-
Method Details
-
drawCompass
-
setMapRotationDegrees
public void setMapRotationDegrees(double mapRotationDegrees) -
setPanelWidth
public void setPanelWidth(int panelWidth)
-