public interface ROI
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
long |
getID() |
String |
getName() |
Extent |
getROIExtent()
Gets the bounding box of this ROI
|
RasterDataStore |
getStore() |
boolean |
isInside(double x,
double y,
double w,
double h)
Checks if the rectangle defined in the parameters is inside if the ROI or outside
|
boolean |
isInsideOfPolygon(int x,
int y)
Checks if a point in pixel coordinates is inside of this region of interest
|
void |
setColor(Color color) |
void |
setID(long id) |
void |
setName(String name) |
RasterDataStore getStore()
boolean isInside(double x, double y, double w, double h)
boolean isInsideOfPolygon(int x, int y)
Extent getROIExtent()
Color getColor()
void setColor(Color color)
String getName()
void setName(String name)
long getID()
void setID(long id)