com.jhlabs.image
Class CropFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.CropFilter
- All Implemented Interfaces:
- ImageProcessorInterface, java.awt.image.BufferedImageOp, java.lang.Cloneable
public class CropFilter
- extends AbstractBufferedImageOp
A filter which crops an image to a given rectangle.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CropFilter
public CropFilter()
CropFilter
public CropFilter(int x,
int y,
int width,
int height)
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
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object