org.netbeans.jemmy.image
public static class ColorImageComparator.ForegroundColorMap extends Object implements ColorImageComparator.ColorMap
foreground
color to white, other - to black.Constructor and Description |
---|
ColorImageComparator.ForegroundColorMap(int foreground)
Constructs a ColorImageComparator$ForegroundColorMap object.
|
public ColorImageComparator.ForegroundColorMap(int foreground)
foreground
- Foreground color.public int mapColor(int rgb)
ColorImageComparator.ColorMap
mapColor
in interface ColorImageComparator.ColorMap
rgb
- an original color.