public class Region
extends java.lang.Object
Constructor and Description |
---|
Region() |
Region(int x,
int y,
int w,
int h) |
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(java.lang.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.
|
java.lang.String |
toString() |
public boolean intersects(Region r)
public Region intersection(Region r)
public boolean containsPoint(int xc, int yc)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2014 Open Microscopy Environment