Interface Rectangle.Builder

  • Method Details

    • height

      Rectangle.Builder height(Integer height)
      Height of rectangle in pixels. Specify only even numbers.
      Parameters:
      height - Height of rectangle in pixels. Specify only even numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • width

      Rectangle.Builder width(Integer width)
      Width of rectangle in pixels. Specify only even numbers.
      Parameters:
      width - Width of rectangle in pixels. Specify only even numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • x

      The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.
      Parameters:
      x - The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • y

      The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.
      Parameters:
      y - The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.