public interface MapRectangle extends MapObject
| Modifier and Type | Method and Description |
|---|---|
Coordinate |
getBottomRight() |
Coordinate |
getTopLeft() |
void |
paint(Graphics g,
Point topLeft,
Point bottomRight)
Paints the map rectangle on the map.
|
Coordinate getTopLeft()
Coordinate getBottomRight()
void paint(Graphics g, Point topLeft, Point bottomRight)
topLeft and
bottomRight are specifying the coordinates within gg - graphics structure for paintingtopLeft - lop left edge of painting regionbottomRight - bottom right edge of painting region