public Element makeElement ( SVGPlot plot ) { Element elem = plot . svgElement ( SVGConstants . SVG_PATH_TAG ) ; elem . setAttribute ( SVGConstants . SVG_D_ATTRIBUTE , buf . toString ( ) ) ; return elem ; }
Turn the path buffer into an SVG element .