Class LayoutViewport

java.lang.Object
io.webfolder.cdp.type.page.LayoutViewport

public class LayoutViewport extends Object
Layout viewport position and dimensions
  • Constructor Details

    • LayoutViewport

      public LayoutViewport()
  • Method Details

    • getPageX

      public Integer getPageX()
      Horizontal offset relative to the document (CSS pixels).
    • setPageX

      public void setPageX(Integer pageX)
      Horizontal offset relative to the document (CSS pixels).
    • getPageY

      public Integer getPageY()
      Vertical offset relative to the document (CSS pixels).
    • setPageY

      public void setPageY(Integer pageY)
      Vertical offset relative to the document (CSS pixels).
    • getClientWidth

      public Integer getClientWidth()
      Width (CSS pixels), excludes scrollbar if present.
    • setClientWidth

      public void setClientWidth(Integer clientWidth)
      Width (CSS pixels), excludes scrollbar if present.
    • getClientHeight

      public Integer getClientHeight()
      Height (CSS pixels), excludes scrollbar if present.
    • setClientHeight

      public void setClientHeight(Integer clientHeight)
      Height (CSS pixels), excludes scrollbar if present.