public static class MacPictDeviceContext.MPRectangle
extends java.lang.Object
| Constructor and Description |
|---|
MPRectangle() |
MPRectangle(short minx,
short miny,
short maxx,
short maxy) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(short x,
short y)
Enlarge the bounding box to include this point.
|
short |
getMaxX() |
short |
getMaxY() |
short |
getMinX() |
short |
getMinY() |
void |
setMaxX(short maxX) |
void |
setMaxY(short maxY) |
void |
setMinX(short minX) |
void |
setMinY(short minY) |
public MPRectangle()
public MPRectangle(short minx,
short miny,
short maxx,
short maxy)
public void add(short x,
short y)
x - y - public short getMaxX()
public short getMaxY()
public short getMinX()
public short getMinY()
public void setMaxX(short maxX)
maxX - the maxX to setpublic void setMaxY(short maxY)
maxY - the maxY to setpublic void setMinX(short minX)
minX - the minX to setpublic void setMinY(short minY)
minY - the minY to set