railo.runtime.img.filter
Class MaskFilter
java.lang.Object
railo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.PointFilter
railo.runtime.img.filter.MaskFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable, DynFiltering
public class MaskFilter
- extends PointFilter
- implements DynFiltering
Applies a bit mask to each ARGB pixel of an image. You can use this for, say, masking out the red channel.
MaskFilter
public MaskFilter()
MaskFilter
public MaskFilter(int mask)
setMask
public void setMask(int mask)
getMask
public int getMask()
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