Package io.scanbot.textorientation.model
Enum TextOrientation
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum TextOrientation extends Enum<TextOrientation>
Text orientations supported by native part
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
TextOrientation.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description TEXT_ORIENTATION_NOTRECOGNIZED
TEXT_ORIENTATION_LOWCONFIDENCE
TEXT_ORIENTATION_NORMAL
TEXT_ORIENTATION_ROTATED90
TEXT_ORIENTATION_ROTATED180
TEXT_ORIENTATION_ROTATED270
-
Method Summary
Modifier and Type Method Description final TextOrientation
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<TextOrientation>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final Integer
getCode()
Integer parameter that should be passed to io.scanbot.textorientation.TextOrientationRecognizer and used in persistence -
-
Method Detail
-
valueOf
final TextOrientation valueOf(String value)
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.)
-
values
final Array<TextOrientation> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getCode
final Integer getCode()
Integer parameter that should be passed to io.scanbot.textorientation.TextOrientationRecognizer and used in persistence
-
-
-
-