Package io.scanbot.sdk.entity
Enum RotationType
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum RotationType extends Enum<RotationType>
Supported rotation degrees for image editing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
RotationType.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ROTATION_0
ROTATION_90
ROTATION_180
ROTATION_270
ROTATION_360
Used for animations, since animation framework behaves differently for 0 and 360 degrees
-
Method Summary
Modifier and Type Method Description final RotationType
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<RotationType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final Integer
getDegrees()
-
-
Method Detail
-
valueOf
final RotationType 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<RotationType> 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.
-
getDegrees
final Integer getDegrees()
-
-
-
-