Package one.empty3.feature.tryocr
Enum TraitsShape
- java.lang.Object
-
- java.lang.Enum<TraitsShape>
-
- one.empty3.feature.tryocr.TraitsShape
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TraitsShape>
public enum TraitsShape extends java.lang.Enum<TraitsShape>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TraitsShape
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TraitsShape[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Line
public static final TraitsShape Line
-
Round
public static final TraitsShape Round
-
Point
public static final TraitsShape Point
-
Corner2
public static final TraitsShape Corner2
-
Corner3
public static final TraitsShape Corner3
-
-
Method Detail
-
values
public static TraitsShape[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TraitsShape c : TraitsShape.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TraitsShape valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-