org.apache.batik.svggen

Class SVGPolygon

public class SVGPolygon extends SVGGraphicObjectConverter

Utility class that converts a Polygon object into an SVG element.
Constructor Summary
SVGPolygon(SVGGeneratorContext generatorContext)
Method Summary
ElementtoSVG(Polygon polygon)

Constructor Detail

SVGPolygon

public SVGPolygon(SVGGeneratorContext generatorContext)

Parameters: generatorContext used to build Elements

Method Detail

toSVG

public Element toSVG(Polygon polygon)

Parameters: polygon polygon object to convert to SVG

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