Uses of Class
org.jfree.ui.RectangleAnchor
Packages that use RectangleAnchor
Package
Description
Utility classes relating to text.
Utility classes for creating user interfaces.
General utility classes.
-
Uses of RectangleAnchor in org.jfree.text
Methods in org.jfree.text with parameters of type RectangleAnchorModifier and TypeMethodDescriptionvoid
TextBox.draw
(Graphics2D g2, float x, float y, RectangleAnchor anchor) Draws the text box. -
Uses of RectangleAnchor in org.jfree.ui
Fields in org.jfree.ui declared as RectangleAnchorModifier and TypeFieldDescriptionstatic final RectangleAnchor
RectangleAnchor.BOTTOM
Bottom.static final RectangleAnchor
RectangleAnchor.BOTTOM_LEFT
Bottom-Left.static final RectangleAnchor
RectangleAnchor.BOTTOM_RIGHT
Bottom-Right.static final RectangleAnchor
RectangleAnchor.CENTER
Center.static final RectangleAnchor
RectangleAnchor.LEFT
Left.static final RectangleAnchor
RectangleAnchor.RIGHT
Right.static final RectangleAnchor
RectangleAnchor.TOP
Top.static final RectangleAnchor
RectangleAnchor.TOP_LEFT
Top-Left.static final RectangleAnchor
RectangleAnchor.TOP_RIGHT
Top-Right.Methods in org.jfree.ui with parameters of type RectangleAnchorModifier and TypeMethodDescriptionstatic Point2D
RectangleAnchor.coordinates
(Rectangle2D rectangle, RectangleAnchor anchor) Returns the (x, y) coordinates of the specified anchor.static Rectangle2D
RectangleAnchor.createRectangle
(Size2D dimensions, double anchorX, double anchorY, RectangleAnchor anchor) Creates a new rectangle with the specified dimensions that is aligned to the given anchor point(anchorX, anchorY)
. -
Uses of RectangleAnchor in org.jfree.util
Methods in org.jfree.util with parameters of type RectangleAnchorModifier and TypeMethodDescriptionstatic Shape
ShapeUtilities.createTranslatedShape
(Shape shape, RectangleAnchor anchor, double locationX, double locationY) Translates a shape to a new location such that the anchor point (relative to the rectangular bounds of the shape) aligns with the specified (x, y) coordinate in Java2D space.