Class PD4MLSvgCustomTag


  • public class PD4MLSvgCustomTag
    extends CustomTag
    • Field Summary

      • Fields inherited from class com.pd4ml.util.Base

        LOG_ALL, LOG_CACHE, LOG_CSS, LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_FONTS, LOG_INFO, LOG_MINIMAL, LOG_PARSE, LOG_TRACE, LOG_USAGE, LOG_VERBOSE, LOG_WARN, NO_LOG, PD4ML_LOG_LEVEL
    • Constructor Detail

      • PD4MLSvgCustomTag

        public PD4MLSvgCustomTag()
      • PD4MLSvgCustomTag

        public PD4MLSvgCustomTag​(java.lang.String code,
                                 com.pd4ml.fonts.FontCache fontCache,
                                 CustomTag prime)
    • Method Detail

      • getInstance

        public CustomTag getInstance​(java.lang.String code,
                                     com.pd4ml.fonts.FontCache fontCache)
        Overrides:
        getInstance in class CustomTag
      • getWidth

        public int getWidth​(int base)
        Overrides:
        getWidth in class CustomTag
      • getHeight

        public int getHeight​(int base)
        Overrides:
        getHeight in class CustomTag
      • paint

        public void paint​(float x,
                          float y,
                          float width,
                          float height,
                          float containerWidth,
                          float containerHeight,
                          java.awt.Graphics2D g)
        Overrides:
        paint in class CustomTag
      • createSvgParser

        public static com.pd4ml.svg.parser.SVGParser createSvgParser()