Class SvgPath


  • public class SvgPath
    extends java.lang.Object
    Models the "d" attribute of SVG using objects that understand how to mimic the same path using Path2D.
    • Constructor Summary

      Constructors 
      Constructor Description
      SvgPath()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendToShape​(java.awt.geom.Path2D shape)  
      static java.awt.Shape toShape​(java.util.List<SvgPath> paths, double scale)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SvgPath

        public SvgPath()
    • Method Detail

      • appendToShape

        public void appendToShape​(java.awt.geom.Path2D shape)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toShape

        public static java.awt.Shape toShape​(java.util.List<SvgPath> paths,
                                             double scale)