Package org.jfree.chart
Class DefaultShapeFactory
java.lang.Object
org.jfree.chart.DefaultShapeFactory
- All Implemented Interfaces:
ShapeFactory
public class DefaultShapeFactory extends Object implements ShapeFactory
Deprecated.
No longer used. Shapes are supplied by the DrawingSupplier if
necessary.
Default provider of shapes for indicating data points on a Plot.
- Author:
- Jeremy Bowman
-
Constructor Summary
Constructors Constructor Description DefaultShapeFactory()
Deprecated. -
Method Summary
Modifier and Type Method Description Shape
getShape(int series, int item, double x, double y, double scale)
Deprecated.Returns a Shape that can be used in plotting data.Shape
getShape(int series, Object category, double x, double y, double scale)
Deprecated.Returns a Shape that can be used in plotting data.
-
Constructor Details
-
DefaultShapeFactory
public DefaultShapeFactory()Deprecated.
-
-
Method Details
-
getShape
Deprecated.Returns a Shape that can be used in plotting data. Used in XYPlots.- Specified by:
getShape
in interfaceShapeFactory
- Parameters:
series
- number of series.item
- index of the item. Not used, i.e. redundant..x
- the centered x position of the shape.y
- the centered y position of the shape.scale
- the size of the shape (width and height, radius).- Returns:
- a square for series == 0, a circle otherwise.
-
getShape
Deprecated.Returns a Shape that can be used in plotting data. Used in CategoryPlots.- Specified by:
getShape
in interfaceShapeFactory
- Parameters:
series
- number of series. Not used, i.e. redundant.category
- the category. Not used, i.e. redundant.x
- the centered x position of the shape.y
- the centered y position of the shape.scale
- the size of the shape (width and height, radius).- Returns:
- a circle with the radius
scale
centered at (x,y).
-