org.apache.batik.svggen
public class SVGPaint extends Object implements SVGConverter
See Also: SVGLinearGradient SVGTexturePaint
Constructor Summary | |
---|---|
SVGPaint(SVGGeneratorContext generatorContext) |
Method Summary | |
---|---|
SVGColor | getColorConverter() |
SVGCustomPaint | getCustomPaintConverter() |
List | getDefinitionSet() |
SVGLinearGradient | getGradientPaintConverter() |
SVGTexturePaint | getTexturePaintConverter() |
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.
Returns: Set of Elements defining the Paints this converter has processed since it was created
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 Paint to be converted to SVG
Returns: a descriptor of the corresponding SVG paint