Package jcckit.plot
Interface CurveFactory
- All Known Implementing Classes:
SimpleCurveFactory
public interface CurveFactory
Interface of a curve factory. A curve factory creates a new instance
of a
Curve
.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(int curveIndex, int numberOfCurves, ClippingShape clippingShape, Legend legend) Creates a new curve instance.
-
Method Details
-
create
Creates a new curve instance.- Parameters:
curveIndex
- The index of the curve in thePlot
to which it should belong.numberOfCurves
- Number of curves. Will be needed to calculate the y-coordinate of the legend symbol.clippingShape
- Clipping shape applied to the curve.legend
- The legend which will show the curve symbol.- Returns:
- an empty instance.
-