pl.wendigo.chrome.api.page / GetLayoutMetricsResponse

GetLayoutMetricsResponse

data class GetLayoutMetricsResponse (source)

Represents response frame that is returned from Page#getLayoutMetrics operation call. Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

Link
Page#getLayoutMetrics method documentation.

See Also

PageOperations.getLayoutMetrics

Constructors

<init>

GetLayoutMetricsResponse(layoutViewport: LayoutViewport, visualViewport: VisualViewport, contentSize: Rect)

Represents response frame that is returned from Page#getLayoutMetrics operation call. Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

Properties

contentSize

val contentSize: Rect

Size of scrollable area.

layoutViewport

val layoutViewport: LayoutViewport

Metrics relating to the layout viewport.

visualViewport

val visualViewport: VisualViewport

Metrics relating to the visual viewport.