org.apache.batik.svggen
public class SVGCustomPaint extends AbstractSVGConverter
See Also: SVGPaint
Constructor Summary | |
---|---|
SVGCustomPaint(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
|
SVGPaintDescriptor | toSVG(Paint paint) |
Parameters: generatorContext the context.
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: paint the Paint object to convert to SVG
Returns: a description of the SVG paint and opacity corresponding to the Paint. The definiton of the paint is put in the linearGradientDefsMap