Java org.jfree.ui RectangleAnchor fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.ui RectangleAnchor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.ui RectangleAnchor.

The text is from its open source code.

Field

RectangleAnchorCENTER
Center.
RectangleAnchorTOP
Top.
RectangleAnchorTOP_LEFT
Top-Left.
RectangleAnchorTOP_RIGHT
Top-Right.
RectangleAnchorBOTTOM
Bottom.
RectangleAnchorBOTTOM_LEFT
Bottom-Left.
RectangleAnchorBOTTOM_RIGHT
Bottom-Right.
RectangleAnchorLEFT
Left.
RectangleAnchorRIGHT
Right.

Method

Point2Dcoordinates(final Rectangle2D rectangle, final RectangleAnchor anchor)
Returns the (x, y) coordinates of the specified anchor.
Rectangle2DcreateRectangle(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).