Interface ViewPort.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ViewPort.Builder,ViewPort>, SdkBuilder<ViewPort.Builder,ViewPort>, SdkPojo
Enclosing class:
ViewPort

@Mutable @NotThreadSafe public static interface ViewPort.Builder extends SdkPojo, CopyableBuilder<ViewPort.Builder,ViewPort>
  • Method Details

    • width

      ViewPort.Builder width(Integer width)

      The width of the viewport in pixels. This value determines the horizontal dimension of the visible area. Valid values range from 800 to 1920 pixels.

      Parameters:
      width - The width of the viewport in pixels. This value determines the horizontal dimension of the visible area. Valid values range from 800 to 1920 pixels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • height

      ViewPort.Builder height(Integer height)

      The height of the viewport in pixels. This value determines the vertical dimension of the visible area. Valid values range from 600 to 1080 pixels.

      Parameters:
      height - The height of the viewport in pixels. This value determines the vertical dimension of the visible area. Valid values range from 600 to 1080 pixels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.