Uses of Enum Class
org.jfree.chart.ui.RectangleAnchor
Package
Description
Text-related classes formerly in the JCommon class library.
-
Uses of RectangleAnchor in org.jfree.chart.annotations
Modifier and TypeMethodDescriptionXYImageAnnotation.getImageAnchor()
Returns the image anchor for the annotation.XYTitleAnnotation.getTitleAnchor()
Returns the title anchor for the annotation.ModifierConstructorDescriptionXYImageAnnotation
(double x, double y, Image image, RectangleAnchor anchor) Creates a new annotation to be displayed at the specified (x, y) location.XYTitleAnnotation
(double x, double y, Title title, RectangleAnchor anchor) Creates a new annotation to be displayed at the specified (x, y) location. -
Uses of RectangleAnchor in org.jfree.chart.axis
Modifier and TypeMethodDescriptionCategoryLabelPosition.getCategoryAnchor()
Returns the item 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. -
Uses of RectangleAnchor in org.jfree.chart.block
Modifier and TypeMethodDescriptionLabelBlock.getTextAnchor()
Returns the text anchor (nevernull
).Modifier and TypeMethodDescriptionvoid
LabelBlock.setTextAnchor
(RectangleAnchor anchor) Sets the text anchor. -
Uses of RectangleAnchor in org.jfree.chart.plot
Modifier and TypeMethodDescriptionCrosshair.getLabelAnchor()
Returns the label anchor point.Marker.getLabelAnchor()
Returns the label anchor.Modifier and TypeMethodDescriptionvoid
Crosshair.setLabelAnchor
(RectangleAnchor anchor) Sets the label anchor point and sends a property change event (with the name 'labelAnchor') to all registered listeners.void
Marker.setLabelAnchor
(RectangleAnchor anchor) Sets the label anchor and sends aMarkerChangeEvent
to all registered listeners. -
Uses of RectangleAnchor in org.jfree.chart.plot.dial
Modifier and TypeMethodDescriptionDialValueIndicator.getFrameAnchor()
Returns the frame anchor.DialValueIndicator.getValueAnchor()
Returns the value anchor.Modifier and TypeMethodDescriptionvoid
DialValueIndicator.setFrameAnchor
(RectangleAnchor anchor) Sets the frame anchor and sends aDialLayerChangeEvent
to all registered listeners.void
DialValueIndicator.setValueAnchor
(RectangleAnchor anchor) Sets the value anchor and sends aDialLayerChangeEvent
to all registered listeners. -
Uses of RectangleAnchor in org.jfree.chart.renderer.category
Modifier and TypeMethodDescriptionprotected Point2D
AbstractCategoryItemRenderer.calculateDomainMarkerTextAnchorPoint
(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor) Calculates the(x, y)
coordinates for drawing the label for a marker on the range axis.protected Point2D
AbstractCategoryItemRenderer.calculateRangeMarkerTextAnchorPoint
(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor) Calculates the (x, y) coordinates for drawing a marker label. -
Uses of RectangleAnchor in org.jfree.chart.renderer.xy
Modifier and TypeMethodDescriptionXYBlockRenderer.getBlockAnchor()
Returns the anchor point used to align a block at its (x, y) location.Modifier and TypeMethodDescriptionprotected Point2D
AbstractXYItemRenderer.calculateDomainMarkerTextAnchorPoint
(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor) Calculates the(x, y)
coordinates for drawing a marker label.void
XYBlockRenderer.setBlockAnchor
(RectangleAnchor anchor) Sets the anchor point used to align a block at its (x, y) location and sends aRendererChangeEvent
to all registered listeners. -
Uses of RectangleAnchor in org.jfree.chart.text
Modifier and TypeMethodDescriptionvoid
TextBox.draw
(Graphics2D g2, float x, float y, RectangleAnchor anchor) Draws the text box. -
Uses of RectangleAnchor in org.jfree.chart.title
Modifier and TypeMethodDescriptionLegendTitle.getLegendItemGraphicAnchor()
Returns the legend item graphic anchor.LegendTitle.getLegendItemGraphicLocation()
Returns the legend item graphic location.LegendGraphic.getShapeAnchor()
Returns the shape anchor.LegendGraphic.getShapeLocation()
Returns the shape location.Modifier and TypeMethodDescriptionvoid
LegendTitle.setLegendItemGraphicAnchor
(RectangleAnchor anchor) Sets the anchor point used for the graphic in each legend item.void
LegendTitle.setLegendItemGraphicLocation
(RectangleAnchor anchor) Sets the legend item graphic location.void
LegendGraphic.setShapeAnchor
(RectangleAnchor anchor) Sets the shape anchor.void
LegendGraphic.setShapeLocation
(RectangleAnchor location) Sets the shape location. -
Uses of RectangleAnchor in org.jfree.chart.ui
Modifier and TypeMethodDescriptionstatic RectangleAnchor
Returns the enum constant of this class with the specified name.static RectangleAnchor[]
RectangleAnchor.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Rectangle2D
RectangleAnchor.createRectangle
(Size2D dimensions, double anchorX, double anchorY, RectangleAnchor anchor) Creates a new rectangle with the specified dimensions that is aligned to the given anchor point(anchorX, anchorY)
. -
Uses of RectangleAnchor in org.jfree.chart.util
Modifier and TypeMethodDescriptionstatic Shape
ShapeUtils.createTranslatedShape
(Shape shape, RectangleAnchor anchor, double locationX, double locationY) Translates a shape to a new location such that the anchor point (relative to the rectangular bounds of the shape) aligns with the specified (x, y) coordinate in Java2D space.