com.jhlabs.image

Class PremultiplyFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class PremultiplyFilter
extends PointFilter

A filter which premultiplies an image's alpha. Note: this does not change the image type of the BufferedImage

Field Summary

Fields inherited from class com.jhlabs.image.PointFilter

canFilterIndexColorModel

Constructor Summary

PremultiplyFilter()

Method Summary

int
filterRGB(int x, int y, int rgb)
String
toString()

Methods inherited from class com.jhlabs.image.PointFilter

filter, filterRGB, setDimensions

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

PremultiplyFilter

public PremultiplyFilter()

Method Details

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Overrides:
filterRGB in interface PointFilter

toString

public String toString()