SUMMARY:
java.lang.Object
org.apache.batik.svggen.AbstractSVGConverter
org.apache.batik.svggen.SVGCustomComposite
- All Implemented Interfaces:
- ErrorConstants, SVGConverter, SVGSyntax, CSSConstants, SVGConstants, XMLConstants
public class SVGCustomComposite
- extends AbstractSVGConverter
Utility class that converts an custom Composite object into
a set of SVG properties and definitions.
- See Also:
SVGComposite
SVGCustomComposite
public SVGCustomComposite(SVGGeneratorContext generatorContext)
- Parameters:
generatorContext
- for use by SVGCustomComposite to build Elements
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(java.awt.Composite composite)
- Parameters:
composite
- the Composite object to convert to SVG
- Returns:
- an SVGCompositeDescriptor mapping the SVG
composite equivalent to the input Composite.