Package org.rrd4j.graph
Interface RrdGraphDef.ImageSource
-
- Enclosing class:
- RrdGraphDef
public static interface RrdGraphDef.ImageSource
Implementations of this class can be used to generate image than can be layered on graph. The can be used for background image, a background image draw on canvas or an overlay image.
- Author:
- Fabrice Bacchella
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferedImage
apply(int w, int h)
A image of the required size that will be applied.
-
-
-
Method Detail
-
apply
BufferedImage apply(int w, int h) throws IOException
A image of the required size that will be applied. If the generated image is too big, it will be clipped before being applied.- Parameters:
w
- the width of the requested imageh
- the high of the requested image- Returns:
- an image to draw.
- Throws:
IOException
-
-