Uses of Class
org.jfree.chart.text.TextBlockAnchor
-
Packages that use TextBlockAnchor Package Description org.jfree.chart.axis Axis classes and interfaces.org.jfree.chart.block Blocks and layout classes used extensively by theLegendTitle
class.org.jfree.chart.text Text-related classes formerly in the JCommon class library. -
-
Uses of TextBlockAnchor in org.jfree.chart.axis
Fields in org.jfree.chart.axis declared as TextBlockAnchor Modifier and Type Field Description private TextBlockAnchor
CategoryLabelPosition. labelAnchor
The text block anchor.private TextBlockAnchor
CategoryTick. labelAnchor
The label anchor.Methods in org.jfree.chart.axis that return TextBlockAnchor Modifier and Type Method Description TextBlockAnchor
CategoryLabelPosition. getLabelAnchor()
Returns the text block anchor.TextBlockAnchor
CategoryTick. 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(java.lang.Comparable category, TextBlock label, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle)
Creates a new tick. -
Uses of TextBlockAnchor in org.jfree.chart.block
Fields in org.jfree.chart.block declared as TextBlockAnchor Modifier and Type Field Description private TextBlockAnchor
LabelBlock. contentAlignmentPoint
The content alignment point.Methods in org.jfree.chart.block that return TextBlockAnchor Modifier and Type Method Description TextBlockAnchor
LabelBlock. getContentAlignmentPoint()
Returns the content alignment point.Methods in org.jfree.chart.block with parameters of type TextBlockAnchor Modifier and Type Method Description void
LabelBlock. 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 TextBlockAnchor
TextBlockAnchor. BOTTOM_CENTER
Bottom/center.static TextBlockAnchor
TextBlockAnchor. BOTTOM_LEFT
Bottom/left.static TextBlockAnchor
TextBlockAnchor. BOTTOM_RIGHT
Bottom/right.static TextBlockAnchor
TextBlockAnchor. CENTER
Middle/center.static TextBlockAnchor
TextBlockAnchor. CENTER_LEFT
Middle/left.static TextBlockAnchor
TextBlockAnchor. CENTER_RIGHT
Middle/right.static TextBlockAnchor
TextBlockAnchor. TOP_CENTER
Top/center.static TextBlockAnchor
TextBlockAnchor. TOP_LEFT
Top/left.static TextBlockAnchor
TextBlockAnchor. TOP_RIGHT
Top/right.Methods in org.jfree.chart.text with parameters of type TextBlockAnchor Modifier and Type Method Description java.awt.Shape
TextBlock. 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.void
TextBlock. draw(java.awt.Graphics2D g2, float x, float y, TextBlockAnchor anchor)
Draws the text block at a specific location.void
TextBlock. 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.
-