org.apache.batik.svggen

Interface StyleHandler

public interface StyleHandler

The StyleHandler interface allows you to specialize how the style will be set on an SVG Element.
Method Summary
voidsetStyle(Element element, Map styleMap, SVGGeneratorContext generatorContext)
Sets the style described by styleMap on the given element.

Method Detail

setStyle

public void setStyle(Element element, Map styleMap, SVGGeneratorContext generatorContext)
Sets the style described by styleMap on the given element.

Parameters: element the SVG Element to be styled. styleMap the Map containing pairs of style property names, style values.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.