ensure Function
fun ensure(default: ScanOrientation = Normal): ScanOrientation
Returns this orientation, or default when it is unset or invalid.
Return
a usable orientation
Parameters
- default — what to fall back to
fun ensure(default: ScanOrientation = Normal): ScanOrientation
Returns this orientation, or default when it is unset or invalid.
a usable orientation