Class SVGCustomComposite

java.lang.Object
org.apache.batik.svggen.AbstractSVGConverter
org.apache.batik.svggen.SVGCustomComposite
All Implemented Interfaces:
XMLConstants, ErrorConstants, SVGConverter, SVGSyntax, CSSConstants, SVGConstants

public class SVGCustomComposite extends AbstractSVGConverter
Utility class that converts an custom Composite object into a set of SVG properties and definitions.
See Also:
  • Constructor Details

    • SVGCustomComposite

      public SVGCustomComposite(SVGGeneratorContext generatorContext)
      Parameters:
      generatorContext - for use by SVGCustomComposite to build Elements
  • Method Details

    • 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:
    • 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.