Object
Rectangle
![]() | The default constructor for the Rect class. |
![]() | A constructor which takes x1, y1, x2 and y2 coordinates as a parameters. |
![]() | A constructor which takes two points as a parameters. |
![]() | Sets or gets the bottom coordinate of the rectangle. |
![]() | Returns a clone of the Rect. |
![]() | Sets or gets the height of the rectangle. |
![]() | Sets or gets the left coordinate of the rectangle. |
![]() | Sets or gets the right coordinate of the rectangle. |
![]() | Sets or gets the top coordinate of the rectangle. |
![]() | Sets or gets the width of a rectangle. |
![]() | Returns true if the given point is within the rectangle. |
![]() | Returns true if the given x and y coordinates are within the rectangle. |
![]() | Returns true if two rectangles are equal. |
![]() | Shrinks or expands a rectangle by given x and y values. |
![]() | Returns true if the rectangle is empty. |
![]() | Moves the rectangle. |
![]() | Calculates the smallest rectangle that encloses two rectangles and returns the result as new rectangle. |