Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.device.applet
Class GrayImageFilter  view GrayImageFilter download GrayImageFilter.java

java.lang.Object
  extended byjava.awt.image.ImageFilter
      extended byjava.awt.image.RGBImageFilter
          extended bycom.barteo.emulator.device.applet.GrayImageFilter
All Implemented Interfaces:
java.lang.Cloneable, java.awt.image.ImageConsumer

public final class GrayImageFilter
extends java.awt.image.RGBImageFilter


Field Summary
private  double Rb
           
private  double Rg
           
private  double Rr
           
private  double Yb
           
private  double Yg
           
private  double Yr
           
 
Fields inherited from class java.awt.image.RGBImageFilter
canFilterIndexColorModel, newmodel, origmodel
 
Fields inherited from class java.awt.image.ImageFilter
consumer
 
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
 
Constructor Summary
GrayImageFilter()
           
GrayImageFilter(double Yr, double Yg, double Yb)
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
          Filters a single pixel from the default ColorModel.
 
Methods inherited from class java.awt.image.RGBImageFilter
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Yr

private double Yr

Yg

private double Yg

Yb

private double Yb

Rr

private double Rr

Rg

private double Rg

Rb

private double Rb
Constructor Detail

GrayImageFilter

public GrayImageFilter()

GrayImageFilter

public GrayImageFilter(double Yr,
                       double Yg,
                       double Yb)
Method Detail

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Description copied from class: java.awt.image.RGBImageFilter
Filters a single pixel from the default ColorModel.