of

fun of(degrees: Int): ImageRotation

Map degrees to enum value.