Package org.apache.batik.svggen
Interface StyleHandler
- All Known Implementing Classes:
DefaultStyleHandler
public interface StyleHandler
The
StyleHandler
interface allows you to specialize
how the style will be set on an SVG Element
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
setStyle
(Element element, Map styleMap, SVGGeneratorContext generatorContext) Sets the style described bystyleMap
on the givenelement
.
-
Method Details
-
setStyle
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.
-