public class CircleFilter extends TransformFilter implements DynFiltering
BILINEAR, NEAREST_NEIGHBOUR
Constructor and Description |
---|
CircleFilter()
Construct a CircleFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
float |
getAngle()
Returns the angle of the arc.
|
Point2D |
getCentre()
Get the centre of the effect as a proportion of the image size.
|
float |
getCentreX()
Get the centre of the effect in the X direction as a proportion of the image size.
|
float |
getCentreY()
Get the centre of the effect in the Y direction as a proportion of the image size.
|
float |
getHeight()
Get the height of the arc.
|
float |
getRadius()
Get the radius of the effect.
|
float |
getSpreadAngle()
Get the spread angle of the arc.
|
void |
setAngle(float angle)
Set the angle of the arc.
|
void |
setCentre(Point2D centre)
Set the centre of the effect as a proportion of the image size.
|
void |
setCentreX(float centreX)
Set the centre of the effect in the Y direction as a proportion of the image size.
|
void |
setCentreY(float centreY)
Set the centre of the effect in the Y direction as a proportion of the image size.
|
void |
setHeight(float height)
Set the height of the arc.
|
void |
setRadius(float radius)
Set the radius of the effect.
|
void |
setSpreadAngle(float spreadAngle)
Set the spread angle of the arc.
|
String |
toString() |
getEdgeAction, getInterpolation, setEdgeAction, setInterpolation
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public CircleFilter()
public void setHeight(float height)
height
- the heightgetHeight()
public float getHeight()
setHeight(float)
public void setAngle(float angle)
angle
- the angle of the arc.getAngle()
public float getAngle()
setAngle(float)
public void setSpreadAngle(float spreadAngle)
spreadAngle
- the anglegetSpreadAngle()
public float getSpreadAngle()
setSpreadAngle(float)
public void setRadius(float radius)
radius
- the radiusgetRadius()
public float getRadius()
setRadius(float)
public void setCentreX(float centreX)
centreX
- the centergetCentreX()
public float getCentreX()
setCentreX(float)
public void setCentreY(float centreY)
centreY
- the centergetCentreY()
public float getCentreY()
setCentreY(float)
public void setCentre(Point2D centre)
centre
- the centergetCentre()
public Point2D getCentre()
setCentre(java.awt.geom.Point2D)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class TransformFilter
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransformFilter
PageException
Copyright © 2015 Lucee