Companion

object Companion

Functions

Link copied to clipboard
fun from(rotation: Int): Orientation

Resolves the correct Orientation from a Surface rotation integer, accounting for the natural orientation of the device.