Class BatikSvgCustomTag


  • public class BatikSvgCustomTag
    extends CustomTag
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean disable  
      org.apache.batik.gvt.GraphicsNode doc  
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHeight​(int base)  
      java.lang.String getInnerCode()  
      CustomTag getInstance​(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)  
      int getWidth​(int base)  
      boolean isEmptyTag()  
      void paint​(float x, float y, float width, float height, float containerWidth, float containerHeight, java.awt.Graphics2D g)  
      org.apache.batik.gvt.GraphicsNode parse​(java.lang.String uri, java.lang.String svg)  
      • Methods inherited from class com.pd4ml.util.Base

        log, printLog
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • disable

        public static boolean disable
      • doc

        public org.apache.batik.gvt.GraphicsNode doc
    • Constructor Detail

      • BatikSvgCustomTag

        public BatikSvgCustomTag()
                          throws java.lang.UnsatisfiedLinkError
        Throws:
        java.lang.UnsatisfiedLinkError
      • BatikSvgCustomTag

        public BatikSvgCustomTag​(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)
                              throws java.lang.UnsatisfiedLinkError
        Overrides:
        getInstance in class CustomTag
        Throws:
        java.lang.UnsatisfiedLinkError
      • 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
      • parse

        public org.apache.batik.gvt.GraphicsNode parse​(java.lang.String uri,
                                                       java.lang.String svg)
                                                throws java.io.IOException
        Throws:
        java.io.IOException