Class CrystallizeFilter

  • All Implemented Interfaces:
    Function2D, java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class CrystallizeFilter
    extends CellularFilter
    A filter which applies a crystallizing effect to an image, by producing Voronoi cells filled with colours from the image.
    • Constructor Detail

      • CrystallizeFilter

        public CrystallizeFilter()
    • Method Detail

      • setEdgeThickness

        public void setEdgeThickness​(float edgeThickness)
      • getEdgeThickness

        public float getEdgeThickness()
      • setFadeEdges

        public void setFadeEdges​(boolean fadeEdges)
      • getFadeEdges

        public boolean getFadeEdges()
      • setEdgeColor

        public void setEdgeColor​(int edgeColor)
      • setEdgeColor

        public void setEdgeColor​(java.lang.String edgeColor)
      • getEdgeColor

        public int getEdgeColor()
      • getPixel

        public int getPixel​(int x,
                            int y,
                            int[] inPixels,
                            int width,
                            int height)
        Overrides:
        getPixel in class CellularFilter