Uses of Class
org.jfree.text.TextBlockAnchor
-
Packages that use TextBlockAnchor Package Description org.jfree.text Utility classes relating to text. -
-
Uses of TextBlockAnchor in org.jfree.text
Fields in org.jfree.text declared as TextBlockAnchor Modifier and Type Field Description static TextBlockAnchorTextBlockAnchor. BOTTOM_CENTERBottom/center.static TextBlockAnchorTextBlockAnchor. BOTTOM_LEFTBottom/left.static TextBlockAnchorTextBlockAnchor. BOTTOM_RIGHTBottom/right.static TextBlockAnchorTextBlockAnchor. CENTERMiddle/center.static TextBlockAnchorTextBlockAnchor. CENTER_LEFTMiddle/left.static TextBlockAnchorTextBlockAnchor. CENTER_RIGHTMiddle/right.static TextBlockAnchorTextBlockAnchor. TOP_CENTERTop/center.static TextBlockAnchorTextBlockAnchor. TOP_LEFTTop/left.static TextBlockAnchorTextBlockAnchor. TOP_RIGHTTop/right.Methods in org.jfree.text with parameters of type TextBlockAnchor Modifier and Type Method Description java.awt.ShapeTextBlock. calculateBounds(java.awt.Graphics2D g2, float anchorX, float anchorY, TextBlockAnchor anchor, float rotateX, float rotateY, double angle)Returns the bounds of the text block.private float[]TextBlock. calculateOffsets(TextBlockAnchor anchor, double width, double height)Calculates the x and y offsets required to align the text block with the specified anchor point.voidTextBlock. draw(java.awt.Graphics2D g2, float x, float y, TextBlockAnchor anchor)Draws the text block at a specific location.voidTextBlock. draw(java.awt.Graphics2D g2, float anchorX, float anchorY, TextBlockAnchor anchor, float rotateX, float rotateY, double angle)Draws the text block, aligning it with the specified anchor point and rotating it about the specified rotation point.
-