Interface SVGConverter

All Superinterfaces:
CSSConstants, SVGConstants, SVGSyntax, XMLConstants
All Known Implementing Classes:
AbstractSVGConverter, SVGAlphaComposite, SVGBasicStroke, SVGClip, SVGColor, SVGComposite, SVGCustomComposite, SVGCustomPaint, SVGFont, SVGLinearGradient, SVGPaint, SVGRenderingHints, SVGTexturePaint, SVGTransform

public interface SVGConverter extends SVGSyntax
Defines the interface for classes that are able to convert part or all of a GraphicContext.
Version:
$Id: SVGConverter.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Method Details

    • toSVG

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

      List getDefinitionSet()
      Returns:
      set of definitions referenced by the attribute values created by the implementation since its creation. The return value should never be null. If no definition is needed, an empty set should be returned.