-
public final class GetLayoutMetricsResponseResponse type for the PageDomain.getLayoutMetrics command.
-
-
Field Summary
Fields Modifier and Type Field Description private final LayoutViewportlayoutViewportprivate final VisualViewportvisualViewportprivate final RectcontentSize
-
Constructor Summary
Constructors Constructor Description GetLayoutMetricsResponse(LayoutViewport layoutViewport, VisualViewport visualViewport, Rect contentSize)
-
Method Summary
Modifier and Type Method Description final LayoutViewportcomponent1()final VisualViewportcomponent2()final Rectcomponent3()final GetLayoutMetricsResponsecopy(LayoutViewport layoutViewport, VisualViewport visualViewport, Rect contentSize)final LayoutViewportgetLayoutViewport()Metrics relating to the layout viewport. final VisualViewportgetVisualViewport()Metrics relating to the visual viewport. final RectgetContentSize()Size of scrollable area. -
-
Constructor Detail
-
GetLayoutMetricsResponse
GetLayoutMetricsResponse(LayoutViewport layoutViewport, VisualViewport visualViewport, Rect contentSize)
-
-
Method Detail
-
component1
final LayoutViewport component1()
-
component2
final VisualViewport component2()
-
component3
final Rect component3()
-
copy
final GetLayoutMetricsResponse copy(LayoutViewport layoutViewport, VisualViewport visualViewport, Rect contentSize)
-
getLayoutViewport
final LayoutViewport getLayoutViewport()
Metrics relating to the layout viewport.
-
getVisualViewport
final VisualViewport getVisualViewport()
Metrics relating to the visual viewport.
-
getContentSize
final Rect getContentSize()
Size of scrollable area.
-
-
-
-