Uses of Class
org.jfree.chart.text.TextBlockAnchor
| Package | Description |
|---|---|
| org.jfree.chart.axis |
Axis classes and interfaces.
|
| org.jfree.chart.block |
Blocks and layout classes used extensively by the
LegendTitle class. |
| org.jfree.chart.text |
Text-related classes formerly in the JCommon class library.
|
-
Uses of TextBlockAnchor in org.jfree.chart.axis
Methods in org.jfree.chart.axis that return TextBlockAnchor Modifier and Type Method Description TextBlockAnchorCategoryLabelPosition. getLabelAnchor()Returns the text block anchor.TextBlockAnchorCategoryTick. getLabelAnchor()Returns the label anchor.Constructors in org.jfree.chart.axis with parameters of type TextBlockAnchor Constructor Description CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor)Creates a new category label position record.CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor, CategoryLabelWidthType widthType, float widthRatio)Creates a new category label position record.CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle, CategoryLabelWidthType widthType, float widthRatio)Creates a new position record.CategoryTick(Comparable category, TextBlock label, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle)Creates a new tick. -
Uses of TextBlockAnchor in org.jfree.chart.block
Methods in org.jfree.chart.block that return TextBlockAnchor Modifier and Type Method Description TextBlockAnchorLabelBlock. getContentAlignmentPoint()Returns the content alignment point.Methods in org.jfree.chart.block with parameters of type TextBlockAnchor Modifier and Type Method Description voidLabelBlock. setContentAlignmentPoint(TextBlockAnchor anchor)Sets the content alignment point. -
Uses of TextBlockAnchor in org.jfree.chart.text
Fields in org.jfree.chart.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.chart.text with parameters of type TextBlockAnchor Modifier and Type Method Description ShapeTextBlock. calculateBounds(Graphics2D g2, float anchorX, float anchorY, TextBlockAnchor anchor, float rotateX, float rotateY, double angle)Returns the bounds of the text block.voidTextBlock. draw(Graphics2D g2, float x, float y, TextBlockAnchor anchor)Draws the text block at a specific location.voidTextBlock. draw(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.