Class SVGUtils

java.lang.Object
com.jgraph.io.svg.SVGUtils

public class SVGUtils extends Object
Various utility methods to assist producing an SVG representation of the graph
  • Field Details

    • LINESPACING

      public static int LINESPACING
      Global linespacing.
    • HEXCOLOR_BLACK

      public static String HEXCOLOR_BLACK
      Represents the black color hex encoding.
    • HEXCOLOR_WHITE

      public static String HEXCOLOR_WHITE
      Represents the white color hex encoding.
  • Constructor Details

    • SVGUtils

      public SVGUtils()
  • Method Details

    • getHexEncoding

      public static String getHexEncoding(Color color)
      Returns the hex encoding for the specified color.