public class KaleidoscopeFilter extends TransformFilter
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, transformedSpace, WRAP, ZERO
Constructor and Description |
---|
KaleidoscopeFilter()
Construct a KaleidoscopeFilter with no distortion.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
float |
getAngle() |
float |
getAngle2() |
java.awt.geom.Point2D |
getCentre() |
float |
getCentreX() |
float |
getCentreY() |
float |
getRadius() |
int |
getSides() |
void |
setAngle(float angle) |
void |
setAngle2(float angle2) |
void |
setCentre(java.awt.geom.Point2D centre) |
void |
setCentreX(float centreX) |
void |
setCentreY(float centreY) |
void |
setRadius(float radius) |
void |
setSides(int sides) |
java.lang.String |
toString() |
protected void |
transformInverse(int x,
int y,
float[] out) |
filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public KaleidoscopeFilter()
public void setSides(int sides)
public int getSides()
public void setAngle(float angle)
public float getAngle()
public void setAngle2(float angle2)
public float getAngle2()
public void setCentreX(float centreX)
public float getCentreX()
public void setCentreY(float centreY)
public float getCentreY()
public void setCentre(java.awt.geom.Point2D centre)
public java.awt.geom.Point2D getCentre()
public void setRadius(float radius)
public float getRadius()
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
filter
in interface java.awt.image.BufferedImageOp
filter
in class TransformFilter
protected void transformInverse(int x, int y, float[] out)
transformInverse
in class TransformFilter
public java.lang.String toString()
toString
in class java.lang.Object