org.geotools.renderer.lite
Class SVGGlyphRenderer

Object
  extended by SVGGlyphRenderer
All Implemented Interfaces:
GlyphRenderer

public class SVGGlyphRenderer
extends Object
implements GlyphRenderer

Turns SVG vector drawings into buffered images geotools can use for rendering

Author:
James
Module:

Constructor Summary
SVGGlyphRenderer()
          Creates a new instance of SVGGlyphRenderer
 
Method Summary
 boolean canRender(String format)
           
 List getFormats()
           
 BufferedImage render(Graphic graphic, ExternalGraphic eg, Object feature, int height)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGGlyphRenderer

public SVGGlyphRenderer()
Creates a new instance of SVGGlyphRenderer

Method Detail

canRender

public boolean canRender(String format)
Specified by:
canRender in interface GlyphRenderer

getFormats

public List getFormats()
Specified by:
getFormats in interface GlyphRenderer

render

public BufferedImage render(Graphic graphic,
                            ExternalGraphic eg,
                            Object feature,
                            int height)
Specified by:
render in interface GlyphRenderer
height - use <=0 if you dont want any scaling done. THIS MIGHT BE IGNORED by the renderer!


Copyright © 1996-2009 Geotools. All Rights Reserved.