org.apache.batik.svggen
Class SVGCSSStyler
public
class
SVGCSSStyler
extends Object
implements SVGSyntax
This utility class converts a standard SVG document that uses
attribute into one that uses the CSS style attribute instead.
Method Summary |
static void | style(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.
|
public static void style(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
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.