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