transform Function
fun Bitmap.transform(orientation: ScanOrientation): Bitmap
Deprecated.
Will be removed.
Returns this bitmap rotated into the given orientation, or the same bitmap if it is already displayable as-is.
Return
a rotated copy, or this bitmap unchanged when no rotation is needed
Parameters
- orientation — the orientation to apply