public static enum DistanceTransform.Norm extends Enum<DistanceTransform.Norm>
Modifier and Type | Method and Description |
---|---|
static DistanceTransform.Norm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceTransform.Norm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceTransform.Norm L1
public static final DistanceTransform.Norm L2
public static DistanceTransform.Norm[] values()
for (DistanceTransform.Norm c : DistanceTransform.Norm.values()) System.out.println(c);
public static DistanceTransform.Norm 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 © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)