rotate

fun Bitmap.rotate(degrees: Float): Bitmap

Rotate a bitmap the indicated degrees.

Return

A new bitmap with the rotation applied.

Parameters

degrees

Degrees that the bitmap is to be rotated.