package org.opengis.go.display.canvas.web;
import java.awt.Graphics;
import org.opengis.go.display.canvas.Canvas;
/**
* The WebCanvas interface extends the functionality of Canvas and adds a
* specific method for rendering which is conspicuous in its absence from the Canvas
* interface.
* @author crossley
*/
public interface WebCanvas extends Canvas {
/**
* Renders this WebCanvas's map image using the given Graphics object.
* The immediate use case is for creating WMS (or other webapp) map images using the
* Graphics from a BufferedImage, though any case with a need for
* on-demand rendering could be satisfied with this method
* @param g
*/
void render(Graphics g);
}
Ads help maintain this website.