Example usage for Java org.jfree.text TextBlock fields, constructors, methods, implement or subclass
The text is from its open source code.
TextBlock() Creates a new empty text block. |
Shape | calculateBounds(final Graphics2D g2, final float anchorX, final float anchorY, final TextBlockAnchor anchor, final float rotateX, final float rotateY, final double angle) Returns the bounds of the text block. |
void | draw(final Graphics2D g2, final float anchorX, final float anchorY, final TextBlockAnchor anchor, final float rotateX, final float rotateY, final double angle) Draws the text block, aligning it with the specified anchor point and rotating it about the specified rotation point. |
void | setLineAlignment(HorizontalAlignment alignment) Sets the alignment of the lines of text within the block. |