com.jhlabs.image
Class WeaveFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.PointFilter
          extended by com.jhlabs.image.WeaveFilter
All Implemented Interfaces:
ImageProcessorInterface, java.awt.image.BufferedImageOp, java.io.Serializable, java.lang.Cloneable

public class WeaveFilter
extends PointFilter
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 int[][] matrix
           
 
Constructor Summary
WeaveFilter()
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 int[][] getCrossings()
           
 boolean getRoundThreads()
           
 boolean getShadeCrossings()
           
 boolean getUseImageColors()
           
 float getXGap()
           
 float getXWidth()
           
 float getYGap()
           
 float getYWidth()
           
 void setCrossings(int[][] matrix)
           
 void setRoundThreads(boolean roundThreads)
           
 void setShadeCrossings(boolean shadeCrossings)
           
 void setUseImageColors(boolean useImageColors)
           
 void setXGap(float xGap)
           
 void setXWidth(float xWidth)
           
 void setYGap(float yGap)
           
 void setYWidth(float yWidth)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.PointFilter
filter, setDimensions
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, process, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

matrix

public int[][] matrix
Constructor Detail

WeaveFilter

public WeaveFilter()
Method Detail

setXGap

public void setXGap(float xGap)

setXWidth

public void setXWidth(float xWidth)

getXWidth

public float getXWidth()

setYWidth

public void setYWidth(float yWidth)

getYWidth

public float getYWidth()

getXGap

public float getXGap()

setYGap

public void setYGap(float yGap)

getYGap

public float getYGap()

setCrossings

public void setCrossings(int[][] matrix)

getCrossings

public int[][] getCrossings()

setUseImageColors

public void setUseImageColors(boolean useImageColors)

getUseImageColors

public boolean getUseImageColors()

setRoundThreads

public void setRoundThreads(boolean roundThreads)

getRoundThreads

public boolean getRoundThreads()

setShadeCrossings

public void setShadeCrossings(boolean shadeCrossings)

getShadeCrossings

public boolean getShadeCrossings()

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Specified by:
filterRGB in class PointFilter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object