BufferedImageOp, Cloneablepublic class MapColorsFilter extends PointFilter
canFilterIndexColorModel| 构造器 | 说明 |
|---|---|
MapColorsFilter() |
Construct a MapColorsFilter.
|
MapColorsFilter(int oldColor,
int newColor) |
Construct a MapColorsFilter.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
filterRGB(int x,
int y,
int rgb) |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, setDimensionspublic MapColorsFilter()
public MapColorsFilter(int oldColor,
int newColor)
oldColor - the color to replacenewColor - the color to replace it withpublic int filterRGB(int x,
int y,
int rgb)
filterRGB 在类中 PointFilterCopyright © 2019. All rights reserved.