Interface IsArea

    • Method Detail

      • isConsistent

        static boolean isConsistent​(IsArea area)
        Returns true if the are is consistent, otherwise false.
        Parameters:
        area - area instance to be checked
        Returns:
        true if the are is consistent, otherwise false
      • getTop

        double getTop()
        Returns the top of area.
        Returns:
        the top of area.
      • getRight

        double getRight()
        Returns the right of area.
        Returns:
        the right of area.
      • getBottom

        double getBottom()
        Returns the bottom of area.
        Returns:
        the bottom of area.
      • getLeft

        double getLeft()
        Returns the left of area.
        Returns:
        the left of area.
      • getWidth

        default double getWidth()
        Returns the width in pixel.
        Returns:
        the width in pixel.
      • getHeight

        default double getHeight()
        Returns the height in pixel.
        Returns:
        the height in pixel.