public static enum DistanceTransform.ForegroundColor extends Enum<DistanceTransform.ForegroundColor>
| Enum Constant and Description |
|---|
FG_BLACK
Foreground color is black.
|
FG_WHITE
Foreground color is white.
|
| Modifier and Type | Method and Description |
|---|---|
static DistanceTransform.ForegroundColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceTransform.ForegroundColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceTransform.ForegroundColor FG_BLACK
public static final DistanceTransform.ForegroundColor FG_WHITE
public static DistanceTransform.ForegroundColor[] values()
for (DistanceTransform.ForegroundColor c : DistanceTransform.ForegroundColor.values()) System.out.println(c);
public static DistanceTransform.ForegroundColor 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 © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.