Package org.geotools.renderer.lite
Class CustomGlyphRenderer
- Object
-
- CustomGlyphRenderer
-
- All Implemented Interfaces:
GlyphRenderer
public class CustomGlyphRenderer extends Object implements GlyphRenderer
- Author:
- jfc173
-
-
Constructor Summary
Constructors Constructor Description CustomGlyphRenderer()Creates a new instance of CustomGlyphRenderer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanRender(String format)ListgetFormats()StringgetGlyphName()GlyphPropertiesListgetGlyphProperties()BufferedImagerender(Graphic graphic, ExternalGraphic eg, Object feature, int height)djb -- addd "height" which is ignored as per API changevoidsetGlyphProperties(GlyphPropertiesList gpl)
-
-
-
Method Detail
-
canRender
public boolean canRender(String format)
- Specified by:
canRenderin interfaceGlyphRenderer
-
getFormats
public List getFormats()
- Specified by:
getFormatsin interfaceGlyphRenderer
-
getGlyphName
public String getGlyphName()
-
getGlyphProperties
public GlyphPropertiesList getGlyphProperties()
-
setGlyphProperties
public void setGlyphProperties(GlyphPropertiesList gpl)
-
render
public BufferedImage render(Graphic graphic, ExternalGraphic eg, Object feature, int height)
djb -- addd "height" which is ignored as per API change- Specified by:
renderin interfaceGlyphRendererheight- use <=0 if you dont want any scaling done. THIS MIGHT BE IGNORED by the renderer!
-
-