org.apache.batik.svggen
public class SVGBasicStroke extends AbstractSVGConverter
| Constructor Summary | |
|---|---|
| SVGBasicStroke(SVGGeneratorContext generatorContext) | |
| Method Summary | |
|---|---|
| SVGDescriptor | toSVG(GraphicContext gc)
Converts part or all of the input GraphicContext into
a set of attribute/value pairs and related definitions
|
| SVGStrokeDescriptor | toSVG(BasicStroke stroke) |
Parameters: generatorContext used by converter to handle precision or to create elements.
Parameters: gc GraphicContext to be converted
Returns: descriptor of the attributes required to represent some or all of the GraphicContext state, along with the related definitions
See Also: SVGDescriptor
Parameters: stroke BasicStroke to convert to a set of SVG attributes
Returns: map of attributes describing the stroke