Package org.jfree.chart.renderer
Interface PaintScale
-
- All Known Implementing Classes:
GrayPaintScale
,LookupPaintScale
public interface PaintScale
A source forPaint
instances, used by theXYBlockRenderer
.
NOTE: Classes that implement this interface should also implementPublicCloneable
andSerializable
, so that any renderer (or other object instance) that references an instance of this interface can still be cloned or serialized.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getLowerBound()
Returns the lower bound for the scale.java.awt.Paint
getPaint(double value)
Returns aPaint
instance for the specified value.double
getUpperBound()
Returns the upper bound for the scale.
-
-
-
Method Detail
-
getLowerBound
double getLowerBound()
Returns the lower bound for the scale.- Returns:
- The lower bound.
- See Also:
getUpperBound()
-
getUpperBound
double getUpperBound()
Returns the upper bound for the scale.- Returns:
- The upper bound.
- See Also:
getLowerBound()
-
getPaint
java.awt.Paint getPaint(double value)
Returns aPaint
instance for the specified value.- Parameters:
value
- the value.- Returns:
- A
Paint
instance (nevernull
).
-
-