Package org.apache.batik.svggen
Interface StyleHandler
-
- All Known Implementing Classes:
DefaultStyleHandler
public interface StyleHandler
TheStyleHandler
interface allows you to specialize how the style will be set on an SVGElement
.- Version:
- $Id: StyleHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setStyle(org.w3c.dom.Element element, java.util.Map styleMap, SVGGeneratorContext generatorContext)
Sets the style described bystyleMap
on the givenelement
.
-
-
-
Method Detail
-
setStyle
void setStyle(org.w3c.dom.Element element, java.util.Map styleMap, SVGGeneratorContext generatorContext)
Sets the style described bystyleMap
on the givenelement
.- Parameters:
element
- the SVGElement
to be styled.styleMap
- theMap
containing pairs of style property names, style values.
-
-