org.apache.batik.svggen
public class DefaultStyleHandler extends Object implements StyleHandler, SVGConstants
DefaultStyleHandler class provides the default
way to style an SVG Element.
| Method Summary | |
|---|---|
| protected boolean | appliesTo(String styleName, String tagName)
Controls whether or not a given attribute applies to a particular
element. |
| void | setStyle(Element element, Map styleMap, SVGGeneratorContext generatorContext)
Sets the style described by styleMap on the given
element. |
styleMap on the given
element. That is sets the xml attributes with their
styled value.Parameters: element the SVG Element to be styled. styleMap the Map containing pairs of style
property names, style values.