deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wpvs.utils
Class ImageUtils.TransparentImageFilter

java.lang.Object
  extended by java.awt.image.ImageFilter
      extended by java.awt.image.RGBImageFilter
          extended by org.deegree.ogcwebservices.wpvs.utils.ImageUtils.TransparentImageFilter
All Implemented Interfaces:
ImageConsumer, Cloneable
Enclosing class:
ImageUtils

 class ImageUtils.TransparentImageFilter
extends RGBImageFilter

The TransparentImageFilter class filters an RGB-Pixel with a transparency.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Ugo Taddei, last edited by: $Author: mschneider $

Field Summary
(package private)  float alphaPercent
          the alpha chanel.
 
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
ImageUtils.TransparentImageFilter()
          A TransparentImageFilter with no transparency
ImageUtils.TransparentImageFilter(float aPercent)
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 
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

alphaPercent

float alphaPercent
the alpha chanel.

Constructor Detail

ImageUtils.TransparentImageFilter

public ImageUtils.TransparentImageFilter()
A TransparentImageFilter with no transparency


ImageUtils.TransparentImageFilter

public ImageUtils.TransparentImageFilter(float aPercent)
Parameters:
aPercent - of the transparency
Method Detail

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Specified by:
filterRGB in class RGBImageFilter

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org