org.apache.batik.svggen
public class SVGTexturePaint extends AbstractSVGConverter
Constructor Summary | |
---|---|
SVGTexturePaint(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(TexturePaint texture) |
Parameters: generatorContext used to build 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: texture the TexturePaint to be converted
Returns: a descriptor whose paint value references a pattern. The definition of the pattern in put in the patternDefsMap