Uses of Class
org.jfree.ui.RectangleAnchor
-
Packages that use RectangleAnchor Package Description org.jfree.text Utility classes relating to text.org.jfree.ui Utility classes for creating user interfaces.org.jfree.util General utility classes. -
-
Uses of RectangleAnchor in org.jfree.text
Methods in org.jfree.text with parameters of type RectangleAnchor Modifier and Type Method Description void
TextBox. draw(java.awt.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 RectangleAnchor Modifier and Type Field Description static RectangleAnchor
RectangleAnchor. BOTTOM
Bottom.static RectangleAnchor
RectangleAnchor. BOTTOM_LEFT
Bottom-Left.static RectangleAnchor
RectangleAnchor. BOTTOM_RIGHT
Bottom-Right.static RectangleAnchor
RectangleAnchor. CENTER
Center.static RectangleAnchor
RectangleAnchor. LEFT
Left.static RectangleAnchor
RectangleAnchor. RIGHT
Right.static RectangleAnchor
RectangleAnchor. TOP
Top.static RectangleAnchor
RectangleAnchor. TOP_LEFT
Top-Left.static RectangleAnchor
RectangleAnchor. TOP_RIGHT
Top-Right.Methods in org.jfree.ui with parameters of type RectangleAnchor Modifier and Type Method Description static java.awt.geom.Point2D
RectangleAnchor. coordinates(java.awt.geom.Rectangle2D rectangle, RectangleAnchor anchor)
Returns the (x, y) coordinates of the specified anchor.static java.awt.geom.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 RectangleAnchor Modifier and Type Method Description static java.awt.Shape
ShapeUtilities. createTranslatedShape(java.awt.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.
-