ScreenResolution

data class ScreenResolution(val width: Int, val height: Int)

Data class representing the screen resolution.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int)

Properties

Link copied to clipboard
val height: Int

the height of the screen in pixels

Link copied to clipboard
val width: Int

the width of the screen in pixels

Functions

Link copied to clipboard
operator fun component1(): Int
Link copied to clipboard
operator fun component2(): Int
Link copied to clipboard
fun copy(width: Int, height: Int): ScreenResolution