Uses of Class
org.jfree.chart.text.TextBlockAnchor
Package
Description
Axis classes and interfaces.
Blocks and layout classes used extensively by the
LegendTitle
class.Text-related classes formerly in the JCommon class library.
-
Uses of TextBlockAnchor in org.jfree.chart.axis
Modifier and TypeMethodDescriptionCategoryLabelPosition.getLabelAnchor()
Returns the text block anchor.CategoryTick.getLabelAnchor()
Returns the label anchor.ModifierConstructorDescriptionCategoryLabelPosition
(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
Modifier and TypeMethodDescriptionLabelBlock.getContentAlignmentPoint()
Returns the content alignment point.Modifier and TypeMethodDescriptionvoid
LabelBlock.setContentAlignmentPoint
(TextBlockAnchor anchor) Sets the content alignment point. -
Uses of TextBlockAnchor in org.jfree.chart.text
Modifier and TypeFieldDescriptionstatic final TextBlockAnchor
TextBlockAnchor.BOTTOM_CENTER
Bottom/center.static final TextBlockAnchor
TextBlockAnchor.BOTTOM_LEFT
Bottom/left.static final TextBlockAnchor
TextBlockAnchor.BOTTOM_RIGHT
Bottom/right.static final TextBlockAnchor
TextBlockAnchor.CENTER
Middle/center.static final TextBlockAnchor
TextBlockAnchor.CENTER_LEFT
Middle/left.static final TextBlockAnchor
TextBlockAnchor.CENTER_RIGHT
Middle/right.static final TextBlockAnchor
TextBlockAnchor.TOP_CENTER
Top/center.static final TextBlockAnchor
TextBlockAnchor.TOP_LEFT
Top/left.static final TextBlockAnchor
TextBlockAnchor.TOP_RIGHT
Top/right.Modifier and TypeMethodDescriptionTextBlock.calculateBounds
(Graphics2D g2, float anchorX, float anchorY, TextBlockAnchor anchor, float rotateX, float rotateY, double angle) Returns the bounds of the text block.void
TextBlock.draw
(Graphics2D g2, float x, float y, TextBlockAnchor anchor) Draws the text block at a specific location.void
TextBlock.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.