|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ohf.wado.client.impl.ImageRegionImpl
public class ImageRegionImpl
Implementation of the ImageRegion interface.
ImageRegion| Constructor Summary | |
|---|---|
ImageRegionImpl(double topLeftX,
double topLeftY,
double bottomRightX,
double bottomRightY)
Default Constructor that initially sets all the parameters of the image region. |
|
| Method Summary | |
|---|---|
double |
getBottomRightX()
|
double |
getBottomRightY()
|
double |
getTopLeftX()
|
double |
getTopLeftY()
|
void |
setBottomRightX(double bottomRightX)
Sets the x position of the top left hand corner of the region to be retrieved, 0.0 corresponding to the first column of the image matrix. |
void |
setBottomRightY(double bottomRightY)
Sets the y position of the top left hand corner of the region to be retrieved, 0.0 corresponding to the top row of the image matrix. |
void |
setTopLeftX(double topLeftX)
Sets the x position of the bottom right hand extent of the region, 1.0 corresponding to the last column of the image matrix, 0.0 being forbidden. |
void |
setTopLeftY(double topLeftY)
Sets the y position of the bottom right hand extent of the region, 1.0 corresponding to the last row of the image matrix, 0.0 being forbidden. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageRegionImpl(double topLeftX,
double topLeftY,
double bottomRightX,
double bottomRightY)
topLeftX - The x position of the top left hand corner of the regiontopLeftY - The x position of the top left hand corner of the regionbottomRightX - The x position of the bottom right hand extent of the regionbottomRightY - The y position of the bottom right hand extent of the region| Method Detail |
|---|
public double getBottomRightX()
getBottomRightX in interface ImageRegionpublic double getBottomRightY()
getBottomRightY in interface ImageRegionpublic double getTopLeftX()
getTopLeftX in interface ImageRegionpublic double getTopLeftY()
getTopLeftY in interface ImageRegionpublic void setBottomRightX(double bottomRightX)
ImageRegion
setBottomRightX in interface ImageRegionbottomRightX - The x position of the top left hand corner of the regionpublic void setBottomRightY(double bottomRightY)
ImageRegion
setBottomRightY in interface ImageRegionbottomRightY - The y position of the top left hand corner of the regionpublic void setTopLeftX(double topLeftX)
ImageRegion
setTopLeftX in interface ImageRegiontopLeftX - The x position of the bottom right hand extent of the regionpublic void setTopLeftY(double topLeftY)
ImageRegion
setTopLeftY in interface ImageRegiontopLeftY - The y position of the bottom right hand extent of the region
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||