Extends Point to implement a 2-dimensional rectangle with double precision coordinates.
Constructor: mxRectangle
Constructs a new rectangle for the optional parameters. If no parameters are given then the respective default values are used.
Holds the height of the rectangle.
0 Copy
0
Holds the width of the rectangle.
Holds the x-coordinate of the point. Default is 0.
Holds the y-coordinate of the point. Default is 0.
Adds the given rectangle to this rectangle.
Returns a clone of this Point.
Returns true if the given object equals this rectangle.
Returns the x-coordinate of the center point.
Returns the y-coordinate of the center point.
Returns the top, left corner as a new Point.
Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.
Changes this rectangle to where it overlaps with the given rectangle.
Rotates this rectangle by 90 degree around its center point.
Sets this rectangle to the specified values
Static
Returns a new Rectangle which is a copy of the given rectangle.
Extends Point to implement a 2-dimensional rectangle with double precision coordinates.
Constructor: mxRectangle
Constructs a new rectangle for the optional parameters. If no parameters are given then the respective default values are used.