public interface Box extends Extension
Point
objects,
the lower left coordinate and the upper right coordinate.Modifier and Type | Method and Description |
---|---|
Point |
getLowerLeft() |
Point |
getUpperRight() |
void |
setGeoLocation(Point lowerLeft,
Point upperRight)
Sets the coordinates of this box.
|
generate, getHandler
Point getLowerLeft()
Point getUpperRight()
void setGeoLocation(Point lowerLeft, Point upperRight)
lowerLeft
- the lower left coordinate. The latitude of this point
must be below the latitude of the upper right coordinate.upperRight
- the upper right coordinate. The latitude of this point
must be above the latitude of the lower left coordinate.java.lang.IllegalArgumentException
- if only one of the points is non-null, or
if an invalid pair of points is given.