Package io.webfolder.cdp.type.page
Class LayoutViewport
java.lang.Object
io.webfolder.cdp.type.page.LayoutViewport
Layout viewport position and dimensions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHeight (CSS pixels), excludes scrollbar if present.Width (CSS pixels), excludes scrollbar if present.getPageX()
Horizontal offset relative to the document (CSS pixels).getPageY()
Vertical offset relative to the document (CSS pixels).void
setClientHeight
(Integer clientHeight) Height (CSS pixels), excludes scrollbar if present.void
setClientWidth
(Integer clientWidth) Width (CSS pixels), excludes scrollbar if present.void
Horizontal offset relative to the document (CSS pixels).void
Vertical offset relative to the document (CSS pixels).toString()
-
Constructor Details
-
LayoutViewport
public LayoutViewport()
-
-
Method Details
-
getPageX
Horizontal offset relative to the document (CSS pixels). -
setPageX
Horizontal offset relative to the document (CSS pixels). -
getPageY
Vertical offset relative to the document (CSS pixels). -
setPageY
Vertical offset relative to the document (CSS pixels). -
getClientWidth
Width (CSS pixels), excludes scrollbar if present. -
setClientWidth
Width (CSS pixels), excludes scrollbar if present. -
getClientHeight
Height (CSS pixels), excludes scrollbar if present. -
setClientHeight
Height (CSS pixels), excludes scrollbar if present. -
toString
-