All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ca.bc.europa.awt.image.Bright

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----java.awt.image.RGBImageFilter
                   |
                   +----ca.bc.europa.awt.image.Bright

public class Bright
extends RGBImageFilter

The Bright is an image filter that enhances or dehances the brightness level.

See Also:
RGBImageFilter

Constructor Index

 o Bright(int)
Make a Bright filter.

Method Index

 o filterRGB(int, int, int)

Constructors

 o Bright
 public Bright(int pct)
Make a Bright filter.

Parameters:
pct - The brightness percentage. A value of 100 produces no change, 50 would give a darker image, 150 a brighter image.

Methods

 o filterRGB
 public int filterRGB(int x,
                      int y,
                      int rgb)
Overrides:
filterRGB in class RGBImageFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index