Interface AspectRatio.Builder

  • Method Details

    • denominator

      AspectRatio.Builder denominator(Integer denominator)
      The denominator, or bottom number, in the fractional aspect ratio. For example, for a display aspect ratio of 16 / 9, the denominator would be 9.
      Parameters:
      denominator - The denominator, or bottom number, in the fractional aspect ratio. For example, for a display aspect ratio of 16 / 9, the denominator would be 9.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numerator

      AspectRatio.Builder numerator(Integer numerator)
      The numerator, or top number, in the fractional aspect ratio. For example, for a display aspect ratio of 16 / 9, the numerator would be 16.
      Parameters:
      numerator - The numerator, or top number, in the fractional aspect ratio. For example, for a display aspect ratio of 16 / 9, the numerator would be 16.
      Returns:
      Returns a reference to this object so that method calls can be chained together.