Package mil.nga.tiff
Class ImageWindow
- java.lang.Object
-
- mil.nga.tiff.ImageWindow
-
public class ImageWindow extends Object
Coordinates of a window over a portion or the entire image coordinates- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description ImageWindow(int x, int y)
Constructor for a single coordinateImageWindow(int minX, int minY, int maxX, int maxY)
ConstructorImageWindow(FileDirectory fileDirectory)
Constructor, full image size
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxX()
Get the max xint
getMaxY()
Get the max yint
getMinX()
Get the min xint
getMinY()
Get the min yvoid
setMaxX(int maxX)
Set the max xvoid
setMaxY(int maxY)
Set the max yvoid
setMinX(int minX)
Set the min xvoid
setMinY(int minY)
Set the min yString
toString()
-
-
-
Constructor Detail
-
ImageWindow
public ImageWindow(int minX, int minY, int maxX, int maxY)
Constructor- Parameters:
minX
- min x (inclusive)minY
- min y (inclusive)maxX
- max x (exclusive)maxY
- max y (exclusive)
-
ImageWindow
public ImageWindow(int x, int y)
Constructor for a single coordinate- Parameters:
x
- x coordinatey
- y coordinate
-
ImageWindow
public ImageWindow(FileDirectory fileDirectory)
Constructor, full image size- Parameters:
fileDirectory
- file directory
-
-
Method Detail
-
getMinX
public int getMinX()
Get the min x- Returns:
- min x
-
setMinX
public void setMinX(int minX)
Set the min x- Parameters:
minX
- min x
-
getMinY
public int getMinY()
Get the min y- Returns:
- min y
-
setMinY
public void setMinY(int minY)
Set the min y- Parameters:
minY
- min y
-
getMaxX
public int getMaxX()
Get the max x- Returns:
- max x
-
setMaxX
public void setMaxX(int maxX)
Set the max x- Parameters:
maxX
- max x
-
getMaxY
public int getMaxY()
Get the max y- Returns:
- max y
-
setMaxY
public void setMaxY(int maxY)
Set the max y- Parameters:
maxY
- max y
-
-