chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.page / LayoutViewport

LayoutViewport

data class LayoutViewport

Layout viewport position and dimensions.

Constructors

<init>

Layout viewport position and dimensions.

LayoutViewport(pageX: Int, pageY: Int, clientWidth: Int, clientHeight: Int)

Properties

clientHeight

Height (CSS pixels), excludes scrollbar if present.

val clientHeight: Int

clientWidth

Width (CSS pixels), excludes scrollbar if present.

val clientWidth: Int

pageX

Horizontal offset relative to the document (CSS pixels).

val pageX: Int

pageY

Vertical offset relative to the document (CSS pixels).

val pageY: Int