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 classRotationType.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ROTATION_0ROTATION_90ROTATION_180ROTATION_270ROTATION_360Used for animations, since animation framework behaves differently for 0 and 360 degrees
-
Method Summary
Modifier and Type Method Description final RotationTypevalueOf(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 IntegergetDegrees()-
-
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()
-
-
-
-