Class SVGCustomComposite

    • 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​(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.