eu.id3.face

## Class Rectangle

- java.lang.Object
- - eu.id3.face.Rectangle

-     public class Rectangle
      extends java.lang.Object

  Represents a rectangle.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Point` | `bottomLeft` Bottom-left corner of the rectangle.
    `Point` | `bottomRight` Bottom-right corner of the rectangle.
    `Point` | `topLeft` Top-left corner of the rectangle.
    `Point` | `topRight` Top-right corner of the rectangle.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Rectangle()` Initializes an empty instance of the Rectangle class.
    `Rectangle(Point bottomLeft, Point bottomRight, Point topLeft, Point topRight)` Initializes a new instance of the Rectangle class from its members.
    `Rectangle(Rectangle rectangle)` Initializes a new instance of the Rectangle class by copying another Rectangle.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### bottomLeft

          public Point bottomLeft

      Bottom-left corner of the rectangle.

    - #### bottomRight

          public Point bottomRight

      Bottom-right corner of the rectangle.

    - #### topLeft

          public Point topLeft

      Top-left corner of the rectangle.

    - #### topRight

          public Point topRight

      Top-right corner of the rectangle.

  - ### Constructor Detail

    - #### Rectangle

          public Rectangle()

      Initializes an empty instance of the Rectangle class.

    - #### Rectangle

          public Rectangle(Point bottomLeft,
                           Point bottomRight,
                           Point topLeft,
                           Point topRight)

      Initializes a new instance of the Rectangle class from its members.
      Parameters:
        `bottomLeft` - Bottom-left corner of the rectangle.
        `bottomRight` - Bottom-right corner of the rectangle.
        `topLeft` - Top-left corner of the rectangle.
        `topRight` - Top-right corner of the rectangle.

    - #### Rectangle

          public Rectangle(Rectangle rectangle)

      Initializes a new instance of the Rectangle class by copying another Rectangle.
      Parameters:
        `rectangle` - The Rectangle to copy.

  - ### Method Detail

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

Copyright © id3 Technologies. All rights reserved. eu.id3.face