Map
Class Compass
java.lang.Object
Map.Compass
public class Compass
- extends java.lang.Object
Draws a compass given the rotation of the map in degrees.
- Author:
- David McLaren
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compassRadius
int compassRadius
mapRotationDegrees
double mapRotationDegrees
panelWidth
int panelWidth
compassCentre
Coordinate3d compassCentre
arrowTail
Coordinate3d arrowTail
arrowHead
Coordinate3d arrowHead
arrowHeadEndLeft
Coordinate3d arrowHeadEndLeft
arrowHeadEndRight
Coordinate3d arrowHeadEndRight
northString
java.lang.String northString
stringWidth
float stringWidth
stringHeight
float stringHeight
northStringFont
java.awt.Font northStringFont
Compass
public Compass()
drawCompass
public void drawCompass(java.awt.Graphics2D g2d,
MapRectProjector rectProj)
setMapRotationDegrees
public void setMapRotationDegrees(double mapRotationDegrees)
setPanelWidth
public void setPanelWidth(int panelWidth)