Class CustomGlyphRenderer

  • All Implemented Interfaces:
    GlyphRenderer

    public class CustomGlyphRenderer
    extends Object
    implements GlyphRenderer
    Author:
    jfc173
    • Constructor Detail

      • CustomGlyphRenderer

        public CustomGlyphRenderer()
        Creates a new instance of CustomGlyphRenderer
    • Method Detail

      • canRender

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

        public String getGlyphName()
      • 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 interface GlyphRenderer
        height - use <=0 if you dont want any scaling done. THIS MIGHT BE IGNORED by the renderer!