public static enum ImageComparator.Mode extends Enum<ImageComparator.Mode>
Enum Constant and Description |
---|
IgnoreAntialiasing
Same as above, but if a pixel is found to be anti-aliased, only brightness will be
compared, instead of the full color component
|
IgnoreColors
Ignores the colors and compares only the brightness
|
IgnoreNothing
Checks if the images are equal taking into account the full color and all pixels.
|
Modifier and Type | Method and Description |
---|---|
static ImageComparator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageComparator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageComparator.Mode IgnoreNothing
public static final ImageComparator.Mode IgnoreAntialiasing
public static final ImageComparator.Mode IgnoreColors
public static ImageComparator.Mode[] values()
for (ImageComparator.Mode c : ImageComparator.Mode.values()) System.out.println(c);
public static ImageComparator.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1996–2019 Geotools. All rights reserved.