Class PD4MLSvgCustomTag


  • public class PD4MLSvgCustomTag
    extends CustomTag
    • Constructor Detail

      • PD4MLSvgCustomTag

        public PD4MLSvgCustomTag()
      • PD4MLSvgCustomTag

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

      • 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,
                          Graphics2D g)
        Overrides:
        paint in class CustomTag
      • createSvgParser

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