Example usage for Java org.jfree.ui RectangleAnchor fields, constructors, methods, implement or subclass
The text is from its open source code.
RectangleAnchor | CENTER Center. |
RectangleAnchor | TOP Top. |
RectangleAnchor | TOP_LEFT Top-Left. |
RectangleAnchor | TOP_RIGHT Top-Right. |
RectangleAnchor | BOTTOM Bottom. |
RectangleAnchor | BOTTOM_LEFT Bottom-Left. |
RectangleAnchor | BOTTOM_RIGHT Bottom-Right. |
RectangleAnchor | LEFT Left. |
RectangleAnchor | RIGHT Right. |
Point2D | coordinates(final Rectangle2D rectangle, final RectangleAnchor anchor) Returns the (x, y) coordinates of the specified anchor. |
Rectangle2D | createRectangle(final Size2D dimensions, final double anchorX, final double anchorY, final RectangleAnchor anchor) Creates a new rectangle with the specified dimensions that is aligned to the given anchor point (anchorX, anchorY) . |