List of usage examples for java.awt.image RGBImageFilter subclass-usage
From source file MainClass.java
class GrayFilter extends RGBImageFilter { int nCalls; public GrayFilter() { canFilterIndexColorModel = true; }
From source file FilterLab.java
class WhiteToGreenFilter extends RGBImageFilter { public WhiteToGreenFilter() { canFilterIndexColorModel = true; } public void setFast(boolean fast) {
From source file RGBGrayFilter.java
/**
* An image filter that turns an icon into a grayscale icon. Used by
* the JGoodies Windows and Plastic L&Fs to create a disabled icon.<p>
*
* The high-resolution gray filter can be disabled globally using
* {@link Options#setHiResGrayFilterEnabled(boolean)}; it is enabled by default.
From source file Main.java
class RedGreenChannelSwapFilter extends RGBImageFilter { @Override public int filterRGB(int x, int y, int argb) { int r = (int) ((argb >> 16) & 0xff); int g = (int) ((argb >> 8) & 0xff); int b = (int) ((argb) & 0xff);
From source file com.jcraft.weirdx.XPixmap.java
class FBFilter extends RGBImageFilter { int foreGround = Color.white.getRGB(); int backGround = Color.black.getRGB(); boolean through = true; void setFgBg(Color f, Color b) {