Class ColorFillFilter

All Implemented Interfaces:
ImageConsumer, Cloneable

public class ColorFillFilter extends RGBImageFilter
Version:
$Revision: 1.1 $, $Date: 2004/07/18 11:19:44 $
Author:
$Author: l2fprod $
  • Field Details

    • m_Red

      public int m_Red
      Description of the Field
    • m_Green

      public int m_Green
      Description of the Field
    • m_Blue

      public int m_Blue
      Description of the Field
  • Constructor Details

    • ColorFillFilter

      public ColorFillFilter(int r, int g, int b)
      Constructor for the ColorFillFilter object
      Parameters:
      r - Description of Parameter
      g - Description of Parameter
      b - Description of Parameter
    • ColorFillFilter

      public ColorFillFilter(Color color)
      Constructor for the ColorFillFilter object
      Parameters:
      color - Description of Parameter
    • ColorFillFilter

      public ColorFillFilter()
      Constructor for the ColorFillFilter object
  • Method Details

    • setColor

      public void setColor(int r, int g, int b)
      Sets the Color attribute of the ColorFillFilter object
      Parameters:
      r - The new Color value
      g - The new Color value
      b - The new Color value
    • setRed

      public void setRed(int r)
      Sets the Red attribute of the ColorFillFilter object
      Parameters:
      r - The new Red value
    • setGreen

      public void setGreen(int g)
      Sets the Green attribute of the ColorFillFilter object
      Parameters:
      g - The new Green value
    • setBlue

      public void setBlue(int b)
      Sets the Blue attribute of the ColorFillFilter object
      Parameters:
      b - The new Blue value
    • filterRGB

      public int filterRGB(int x, int y, int rgb)
      Description of the Method
      Specified by:
      filterRGB in class RGBImageFilter
      Parameters:
      x - Description of Parameter
      y - Description of Parameter
      rgb - Description of Parameter
      Returns:
      Description of the Returned Value
    • filter

      public void filter(BufferedImage src, BufferedImage dest)