railo.runtime.img.filter
Class WeaveFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.PointFilter
          extended by railo.runtime.img.filter.WeaveFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering

public class WeaveFilter
extends PointFilter
implements DynFiltering


Field Summary
 int[][] matrix
           
 
Constructor Summary
WeaveFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 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()
           
 
Methods inherited from class railo.runtime.img.filter.PointFilter
filter, setDimensions
 
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, 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 String toString()
Overrides:
toString in class Object

filter

public BufferedImage filter(BufferedImage src,
                            Struct parameters)
                     throws PageException
Specified by:
filter in interface DynFiltering
Overrides:
filter in class PointFilter
Throws:
PageException


Copyright © 2012 Railo