Class Rectangle

    • Method Detail

      • height

        public final Integer height()
        Height of rectangle in pixels. Specify only even numbers.
        Returns:
        Height of rectangle in pixels. Specify only even numbers.
      • width

        public final Integer width()
        Width of rectangle in pixels. Specify only even numbers.
        Returns:
        Width of rectangle in pixels. Specify only even numbers.
      • x

        public final Integer x()
        The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.
        Returns:
        The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.
      • y

        public final Integer y()
        The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.
        Returns:
        The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)