Package com.jhlabs.image
Class CropFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.CropFilter
- All Implemented Interfaces:
BufferedImageOp
,Cloneable
A filter which crops an image to a given rectangle.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Constructor Details
-
CropFilter
public CropFilter() -
CropFilter
public CropFilter(int x, int y, int width, int height)
-
-
Method Details
-
setX
public void setX(int x) -
getX
public int getX() -
setY
public void setY(int y) -
getY
public int getY() -
setWidth
public void setWidth(int width) -
getWidth
public int getWidth() -
setHeight
public void setHeight(int height) -
getHeight
public int getHeight() -
filter
-
toString
-