reversed
Creates a landscape orientation of this screen size
Swaps width and height dimensions to convert between portrait and landscape orientations. Useful for testing how layouts adapt to device rotation.
val portrait = ScreenSize(375.dp, 667.dp, "iPhone")
val landscape = portrait.reversed() // 667.dp x 375.dpContent copied to clipboard
Return
New ScreenSize with swapped dimensions