Holds the height of the rectangle. Default is 0.
Holds the width of the rectangle. Default is 0.
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 true if the given object equals this rectangle.
Returns the x-coordinate of the center point.
Returns the y-coordinate of the center 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
Generated using TypeDoc
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.