public class WeaveFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private int |
cols |
int[][] |
matrix |
private int |
rgbX |
private int |
rgbY |
private boolean |
roundThreads |
private int |
rows |
private boolean |
shadeCrossings |
private boolean |
useImageColors |
private float |
xGap |
private float |
xWidth |
private float |
yGap |
private float |
yWidth |
canFilterIndexColorModel
Constructor and Description |
---|
WeaveFilter() |
Modifier and Type | Method and 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) |
String |
toString() |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float xWidth
private float yWidth
private float xGap
private float yGap
private int rows
private int cols
private int rgbX
private int rgbY
private boolean useImageColors
private boolean roundThreads
private boolean shadeCrossings
public int[][] matrix
public WeaveFilter()
public void setXGap(float xGap)
public void setXWidth(float xWidth)
public float getXWidth()
public void setYWidth(float yWidth)
public float getYWidth()
public float getXGap()
public void setYGap(float yGap)
public float getYGap()
public void setCrossings(int[][] matrix)
public int[][] getCrossings()
public void setUseImageColors(boolean useImageColors)
public boolean getUseImageColors()
public void setRoundThreads(boolean roundThreads)
public boolean getRoundThreads()
public void setShadeCrossings(boolean shadeCrossings)
public boolean getShadeCrossings()
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses