| java.lang.Object org.deegree.ogcwebservices.wms.GraphicContextFactory
GraphicContextFactory | public class GraphicContextFactory (Code) | | version: $Revision: 9345 $ author: Andreas Poth |
Method Summary | |
public static synchronized Graphics | createGraphicContext(String mimeType, Object target) creates a graphic context for the passed target considering the passed mime type
Parameters: mimeType - mime type of the graphic (target) Parameters: target - object to render to. | public static synchronized Object | createGraphicTarget(String mimeType, int width, int height) creates a graphic target object for the passed mime type. |
createGraphicContext | public static synchronized Graphics createGraphicContext(String mimeType, Object target)(Code) | | creates a graphic context for the passed target considering the passed mime type
Parameters: mimeType - mime type of the graphic (target) Parameters: target - object to render to. graphic context of the target |
createGraphicTarget | public static synchronized Object createGraphicTarget(String mimeType, int width, int height)(Code) | | creates a graphic target object for the passed mime type. The target will be the object where
to render the to. A BufferedImage for raster image mime types and a DOM
Document for SVG.
Parameters: mimeType - mime type to create a object for Parameters: width - width of the desired target object Parameters: height - height of the desired target object object to render to |
|
|