Class SVGGlyphData


  • public class SVGGlyphData
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float scale  
      private java.lang.String svg  
      protected long svgDocLength  
      protected long svgDocOffset  
    • Constructor Summary

      Constructors 
      Constructor Description
      SVGGlyphData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDataURL​(int height)  
      void setSVG​(java.lang.String svg)  
      private java.lang.String updateTransform​(java.lang.String svg, int height)  
      • Methods inherited from class java.lang.Object

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

      • svgDocOffset

        protected long svgDocOffset
      • svgDocLength

        protected long svgDocLength
      • svg

        private java.lang.String svg
      • scale

        public float scale
    • Constructor Detail

      • SVGGlyphData

        public SVGGlyphData()
    • Method Detail

      • setSVG

        public void setSVG​(java.lang.String svg)
      • getDataURL

        public java.lang.String getDataURL​(int height)
      • updateTransform

        private java.lang.String updateTransform​(java.lang.String svg,
                                                 int height)
                                          throws java.io.IOException,
                                                 javax.xml.parsers.ParserConfigurationException,
                                                 org.xml.sax.SAXException,
                                                 javax.xml.transform.TransformerException
        Throws:
        java.io.IOException
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        javax.xml.transform.TransformerException