|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.CropFilter
public class CropFilter
A filter which crops an image to a given rectangle.
Constructor Summary | |
---|---|
CropFilter()
Construct a CropFilter. |
|
CropFilter(int x,
int y,
int width,
int height)
Construct a CropFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
int |
getHeight()
Get the height of the crop rectangle. |
int |
getWidth()
Get the width of the crop rectangle. |
int |
getX()
Get the left edge of the crop rectangle. |
int |
getY()
Get the top edge of the crop rectangle. |
void |
setHeight(int height)
Set the height of the crop rectangle. |
void |
setWidth(int width)
Set the width of the crop rectangle. |
void |
setX(int x)
Set the left edge of the crop rectangle. |
void |
setY(int y)
Set the top edge of the crop rectangle. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CropFilter()
public CropFilter(int x, int y, int width, int height)
x
- the left edge of the crop rectangley
- the top edge of the crop rectanglewidth
- the width of the crop rectangleheight
- the height of the crop rectangleMethod Detail |
---|
public void setX(int x)
x
- the left edge of the crop rectanglegetX()
public int getX()
setX(int)
public void setY(int y)
y
- the top edge of the crop rectanglegetY()
public int getY()
setY(int)
public void setWidth(int width)
width
- the width of the crop rectanglegetWidth()
public int getWidth()
setWidth(int)
public void setHeight(int height)
height
- the height of the crop rectanglegetHeight()
public int getHeight()
setHeight(int)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |