|
||||||||||
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.TransformFilter
railo.runtime.img.filter.PolarFilter
public class PolarFilter
A filter which distorts and image by performing coordinate conversions between rectangular and polar coordinates.
Field Summary | |
---|---|
static int |
INVERT_IN_CIRCLE
Invert the image in a circle. |
static int |
POLAR_TO_RECT
Convert from polar to rectangular coordinates. |
static int |
RECT_TO_POLAR
Convert from rectangular to polar coordinates. |
Fields inherited from class railo.runtime.img.filter.TransformFilter |
---|
BILINEAR, NEAREST_NEIGHBOUR |
Constructor Summary | |
---|---|
PolarFilter()
Construct a PolarFilter. |
|
PolarFilter(int type)
Construct a PolarFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
int |
getType()
Get the distortion type. |
void |
setType(String type)
Set the distortion type, valid values are - RECT_TO_POLAR = Convert from rectangular to polar coordinates - POLAR_TO_RECT = Convert from polar to rectangular coordinates - INVERT_IN_CIRCLE = Invert the image in a circle |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.TransformFilter |
---|
getEdgeAction, getInterpolation, setEdgeAction, setInterpolation |
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 |
Field Detail |
---|
public static final int RECT_TO_POLAR
public static final int POLAR_TO_RECT
public static final int INVERT_IN_CIRCLE
Constructor Detail |
---|
public PolarFilter()
public PolarFilter(int type)
type
- the distortion typeMethod Detail |
---|
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class TransformFilter
public void setType(String type) throws ExpressionException
ExpressionException
public int getType()
setType(java.lang.String)
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransformFilter
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |