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 boolean
canRender(String format)
List
getFormats()
String
getGlyphName()
GlyphPropertiesList
getGlyphProperties()
BufferedImage
render(Graphic graphic, ExternalGraphic eg, Object feature, int height)
djb -- addd "height" which is ignored as per API changevoid
setGlyphProperties(GlyphPropertiesList gpl)
-
-
-
Method Detail
-
canRender
public boolean canRender(String format)
- Specified by:
canRender
in interfaceGlyphRenderer
-
getFormats
public List getFormats()
- Specified by:
getFormats
in 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:
render
in interfaceGlyphRenderer
height
- use <=0 if you dont want any scaling done. THIS MIGHT BE IGNORED by the renderer!
-
-