public class Region extends Object
Constructor and Description |
---|
Region() |
Region(int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(int xc,
int yc)
Returns true if the point specified by the given X and Y coordinates
is contained within this region.
|
boolean |
equals(Object o) |
int |
hashCode() |
Region |
intersection(Region r)
Returns a Region representing the intersection of this Region with the
given Region.
|
boolean |
intersects(Region r)
Returns true if this region intersects the given region.
|
String |
toString() |
public boolean intersects(Region r)
public Region intersection(Region r)
public boolean containsPoint(int xc, int yc)
Copyright © 2014 Open Microscopy Environment