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
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. |
val contentSize: Rect
Size of scrollable area. |
|
val layoutViewport: LayoutViewport
Metrics relating to the layout viewport. |
|
val visualViewport: VisualViewport
Metrics relating to the visual viewport. |