LayoutViewport

@Serializable
data class LayoutViewport(val pageX: Int, val pageY: Int, val clientWidth: Int, val clientHeight: Int)

Layout viewport position and dimensions.

Constructors

Link copied to clipboard
constructor(pageX: Int, pageY: Int, clientWidth: Int, clientHeight: Int)

Properties

Link copied to clipboard

Height (CSS pixels), excludes scrollbar if present.

Link copied to clipboard

Width (CSS pixels), excludes scrollbar if present.

Link copied to clipboard
val pageX: Int

Horizontal offset relative to the document (CSS pixels).

Link copied to clipboard
val pageY: Int

Vertical offset relative to the document (CSS pixels).