org.apache.batik.svggen

Class SVGCustomComposite

public class SVGCustomComposite extends AbstractSVGConverter

Utility class that converts an custom Composite object into a set of SVG properties and definitions.

See Also: SVGComposite

Constructor Summary
SVGCustomComposite(SVGGeneratorContext generatorContext)
Method Summary
SVGDescriptortoSVG(GraphicContext gc)
Converts part or all of the input GraphicContext into a set of attribute/value pairs and related definitions
SVGCompositeDescriptortoSVG(Composite composite)

Constructor Detail

SVGCustomComposite

public SVGCustomComposite(SVGGeneratorContext generatorContext)

Parameters: generatorContext for use by SVGCustomComposite to build Elements

Method Detail

toSVG

public SVGDescriptor toSVG(GraphicContext gc)
Converts part or all of the input GraphicContext into a set of attribute/value pairs and related definitions

Parameters: gc GraphicContext to be converted

Returns: descriptor of the attributes required to represent some or all of the GraphicContext state, along with the related definitions

See Also: SVGDescriptor

toSVG

public SVGCompositeDescriptor toSVG(Composite composite)

Parameters: composite the Composite object to convert to SVG

Returns: an SVGCompositeDescriptor mapping the SVG composite equivalent to the input Composite.

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