Class SvgPathReader


  • public class SvgPathReader
    extends java.lang.Object
    Parses an svg path using the "d" attribute format. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d into an object that can create a Java2D Path2D shape.

    Note that this reader is not thread safe.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SvgPath parse​(java.lang.String source)  
      • Methods inherited from class java.lang.Object

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

      • parse

        public SvgPath parse​(java.lang.String source)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception