public class MapCropper
extends java.lang.Object
Constructor and Description |
---|
MapCropper(int width,
int height,
int leftOffset,
int bottomOffset,
int top,
int right,
int bottom,
int left) |
Modifier and Type | Method and Description |
---|---|
void |
crop(java.lang.String filename) |
int |
getBottom() |
int |
getBottomOffset() |
int |
getHeight() |
int |
getLeft() |
int |
getLeftOffset() |
int |
getNewHeight() |
int |
getNewWidth() |
int |
getRight() |
int |
getTop() |
int |
getWidth() |
static void |
main(java.lang.String[] args) |
int[][] |
translatePoints(int[][] rawPoints) |
public MapCropper(int width, int height, int leftOffset, int bottomOffset, int top, int right, int bottom, int left)
public int[][] translatePoints(int[][] rawPoints)
public void crop(java.lang.String filename) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedException
java.io.IOException
public static void main(java.lang.String[] args)
public int getBottom()
public int getBottomOffset()
public int getHeight()
public int getLeft()
public int getLeftOffset()
public int getRight()
public int getTop()
public int getWidth()
public int getNewWidth()
public int getNewHeight()