Class PathUtil


  • public class PathUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PathUtil()
      Creates a new instance of PathUtil
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildPathString​(java.awt.geom.GeneralPath path)
      Converts a GeneralPath into an SVG representation
      • Methods inherited from class java.lang.Object

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

      • PathUtil

        public PathUtil()
        Creates a new instance of PathUtil
    • Method Detail

      • buildPathString

        public static java.lang.String buildPathString​(java.awt.geom.GeneralPath path)
        Converts a GeneralPath into an SVG representation
        Parameters:
        path - The shape to be encoded
        Returns:
        A string encoding the path using the SVG path notation