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
Modifier and TypeMethodDescriptionapply
(int w, int h) A image of the required size that will be applied.
-
Method Details
-
apply
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
-