//scanning/com.pixelnetica.scanning/ScanOrientation
ScanOrientation
[androidJvm]
enum ScanOrientation : Enum<ScanOrientation>
EXIF orientation values
Entries
Undefined | [androidJvm] Undefined Orientation value is not defined |
Normal | [androidJvm] Normal 0th Row on TOP, 0th Column on LEFT SIDE |
FlipHorizontal | [androidJvm] FlipHorizontal 0th Row on TOP, 0th Column on RIGHT SIDE |
Rotate180 | [androidJvm] Rotate180 0th Row on BOTTOM, 0th Column on RIGHT SIDE |
FlipVertical | [androidJvm] FlipVertical 0th Row BOTTOM, 0th Column on LEFT SIDE |
Transpose | [androidJvm] Transpose 0th Row on LEFT SIDE, 0th Column on TOP |
Rotate90 | [androidJvm] Rotate90 0th Row RIGHT SIDE, 0th Column on TOP |
Transverse | [androidJvm] Transverse 0th Row on RIGHT SIDE, 0th Column on BOTTOM |
Rotate270 | [androidJvm] Rotate270 0th Row on LEFT SIDE, 0th Column on BOTTOM |
Invalid | [androidJvm] Invalid Some illegal value can be used to indicate uninitialized variable |
Types
Name | Summary |
---|---|
Companion | [androidJvm] object Companion |
Properties
Name | Summary |
---|---|
entries | [androidJvm] val entries: EnumEntries<ScanOrientation> Returns a representation of an immutable list of all enum entries, in the order they’re declared. |
Functions
Name | Summary |
---|---|
areDimensionsSwapped | [androidJvm] fun areDimensionsSwapped(): Boolean |
ensure | [androidJvm] fun ensure(default: ScanOrientation = Normal): ScanOrientation Return default if value is not defined or invalid |
isDefined | [androidJvm] fun isDefined(): Boolean Instance contain defined value (not Invalid or Undefined) |
isDisplay | [androidJvm] fun isDisplay(): Boolean Instance is Normal or not defined |
isValid | [androidJvm] fun isValid(): Boolean Instance contain valid value (not Invalid) |
orUndefined | [androidJvm] fun ScanOrientation?.orUndefined(): ScanOrientation Convert null ScanOrientation to non-null ScanOrientation.Undefined |
rotate180dg | [androidJvm] fun rotate180dg(): ScanOrientation |
rotateCCW | [androidJvm] fun rotateCCW(): ScanOrientation |
rotateCW | [androidJvm] fun rotateCW(): ScanOrientation |
toInt | [androidJvm] fun toInt(): Int Convert to kotlin.Int |
valueOf | [androidJvm] fun valueOf(value: String): ScanOrientation 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 | [androidJvm] fun values(): Array<ScanOrientation> Returns an array containing the constants of this enum type, in the order they’re declared. |