com.groupdocs.comparison.result

Class Rectangle

  • All Implemented Interfaces:
    Cloneable


    public final class Rectangle
    extends Object
    implements Cloneable

    Rectangle model

    • Constructor Detail

      • Rectangle

        public Rectangle()
      • Rectangle

        public Rectangle(double x,
                 double y,
                 double width,
                 double height)

        Creates a new instance of Rectangle

        Parameters:
        x - X position of rectangle
        y - Y position of Rectangle
        width - Width of Rectangle
        height - Height of Rectangle
    • Method Detail

      • getHeight

        public final double getHeight()

        Height

      • getWidth

        public final double getWidth()

        Width

      • getX

        public final double getX()

        X coordinate

      • getY

        public final double getY()

        Y coordinate

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setHeight

        public final void setHeight(double value)

        Height

      • setWidth

        public final void setWidth(double value)

        Width

      • setX

        public final void setX(double value)

        X coordinate

      • setY

        public final void setY(double value)

        Y coordinate