chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.browser / Bounds

Bounds

data class Bounds

Browser window bounds information

Official doc

Constructors

<init>

Browser window bounds information

Bounds(left: Int? = null, top: Int? = null, width: Int? = null, height: Int? = null, windowState: WindowState? = null)

Properties

height

The window height in pixels.

val height: Int?

left

The offset from the left edge of the screen to the window in pixels.

val left: Int?

top

The offset from the top edge of the screen to the window in pixels.

val top: Int?

width

The window width in pixels.

val width: Int?

windowState

The window state. Default to normal.

val windowState: WindowState?