SUMMARY:
java.lang.Object
org.apache.batik.svggen.SVGCSSStyler
- All Implemented Interfaces:
- SVGSyntax, CSSConstants, SVGConstants, XMLConstants
public class SVGCSSStyler
- extends java.lang.Object
- implements SVGSyntax
This utility class converts a standard SVG document that uses
attribute into one that uses the CSS style attribute instead.
SVGCSSStyler
public SVGCSSStyler()
style
public static void style(org.w3c.dom.Node node)
- Invoking this method removes all the styling attributes
(such as 'fill' or 'fill-opacity') from the input element
and its descendant and replaces them with their CSS2
property counterparts.
- Parameters:
node
- SVG Node to be converted to use style