org.apache.batik.svggen

Class SVGLine

public class SVGLine extends SVGGraphicObjectConverter

Utility class that converts a Line2D object into a corresponding SVG line element.
Constructor Summary
SVGLine(SVGGeneratorContext generatorContext)
Method Summary
ElementtoSVG(Line2D line)

Constructor Detail

SVGLine

public SVGLine(SVGGeneratorContext generatorContext)

Parameters: generatorContext used to build Elements

Method Detail

toSVG

public Element toSVG(Line2D line)

Parameters: line the Line2D object to be converted

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.