- <init>
Constructs a Rectangle -object.
- getHeight
Returns the height of the rectangle.
- getWidth
Returns the width of the rectangle.
- rotate
Rotates the rectangle. Swaps the values of llx and lly and of urx and ury.
- getLeft
Returns the lower left x-coordinate, considering a given margin.
- getRight
Returns the upper right x-coordinate, considering a given margin.
- getBottom
Returns the lower left y-coordinate, considering a given margin.
- getTop
Returns the upper right y-coordinate, considering a given margin.
- setBackgroundColor
Sets the backgroundcolor of the rectangle.
- getBorderWidthRight
Gets the width of the right border.
- getBorderWidthTop
Gets the width of the top border.
- setBottom
Sets the lower left y-coordinate.