Package com.jhlabs.image
Class WeaveFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.PointFilter
-
- com.jhlabs.image.WeaveFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.lang.Cloneable
public class WeaveFilter extends PointFilter
-
-
Field Summary
Fields Modifier and Type Field Description int[][]
matrix
-
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
-
Constructor Summary
Constructors Constructor Description WeaveFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-
-
-
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 classPointFilter
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-