public class SourcePositionOverlay extends Object implements CameraMapOverlay
| Constructor and Description |
|---|
SourcePositionOverlay(String name,
CameraCoordinate source) |
| Modifier and Type | Method and Description |
|---|---|
static Polygon |
createStar(double inner,
double outer,
int rays) |
int |
getDrawRank() |
void |
paint(Graphics2D g2,
FactHexMapDisplay map) |
void |
setColor(Color c) |
public SourcePositionOverlay(String name, CameraCoordinate source)
public void setColor(Color c)
setColor in interface CameraMapOverlaypublic void paint(Graphics2D g2, FactHexMapDisplay map)
paint in interface CameraMapOverlaypublic static Polygon createStar(double inner, double outer, int rays)
public int getDrawRank()
getDrawRank in interface CameraMapOverlayCopyright © 2019. All rights reserved.