pl.wendigo.chrome.api.browser / Bounds

Bounds

data class Bounds (source)

Browser window bounds information

Link
Browser#Bounds type documentation.

Constructors

<init>

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

Browser window bounds information

Properties

height

val height: Int?

The window height in pixels.

left

val left: Int?

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

top

val top: Int?

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

width

val width: Int?

The window width in pixels.

windowState

val windowState: WindowState?

The window state. Default to normal.