com.jhlabs.image
Class ColorHalftoneFilter
- BufferedImageOp, Cloneable
public class ColorHalftoneFilter
A Filter to pixellate images.
ColorHalftoneFilter
public ColorHalftoneFilter()
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
getCyanScreenAngle
public float getCyanScreenAngle()
Get the cyan screen angle.
- the cyan screen angle (in radians)
getMagentaScreenAngle
public float getMagentaScreenAngle()
Get the magenta screen angle.
- the magenta screen angle (in radians)
getYellowScreenAngle
public float getYellowScreenAngle()
Get the yellow screen angle.
- the yellow screen angle (in radians)
getdotRadius
public float getdotRadius()
Get the pixel block size.
- the number of pixels along each block edge
setCyanScreenAngle
public void setCyanScreenAngle(float cyanScreenAngle)
Set the cyan screen angle.
cyanScreenAngle
- the cyan screen angle (in radians)
setMagentaScreenAngle
public void setMagentaScreenAngle(float magentaScreenAngle)
Set the magenta screen angle.
magentaScreenAngle
- the magenta screen angle (in radians)
setYellowScreenAngle
public void setYellowScreenAngle(float yellowScreenAngle)
Set the yellow screen angle.
yellowScreenAngle
- the yellow screen angle (in radians)
setdotRadius
public void setdotRadius(float dotRadius)
Set the pixel block size.
dotRadius
- the number of pixels along each block edge
toString
public String toString()