public class DefaultExtensionHandler extends Object implements ExtensionHandler
ExtensionHandler
Constructor and Description |
---|
DefaultExtensionHandler() |
Modifier and Type | Method and Description |
---|---|
SVGCompositeDescriptor |
handleComposite(Composite composite,
SVGGeneratorContext generatorContext) |
SVGFilterDescriptor |
handleFilter(BufferedImageOp filter,
Rectangle filterRect,
SVGGeneratorContext generatorContext) |
SVGPaintDescriptor |
handlePaint(Paint paint,
SVGGeneratorContext generatorContext) |
public SVGPaintDescriptor handlePaint(Paint paint, SVGGeneratorContext generatorContext)
handlePaint
in interface ExtensionHandler
paint
- Custom Paint to be converted to SVGgeneratorContext
- allows the handler to build DOM objects as needed.public SVGCompositeDescriptor handleComposite(Composite composite, SVGGeneratorContext generatorContext)
handleComposite
in interface ExtensionHandler
composite
- Custom Composite to be converted to SVG.generatorContext
- allows the handler to build DOM objects as needed.public SVGFilterDescriptor handleFilter(BufferedImageOp filter, Rectangle filterRect, SVGGeneratorContext generatorContext)
handleFilter
in interface ExtensionHandler
filter
- Custom filter to be converted to SVG.filterRect
- Rectangle, in device space, that defines the area
to which filtering applies. May be null, meaning that the
area is undefined.generatorContext
- allows the handler to build DOM objects as needed.Copyright © 2000–2023 Apache Software Foundation. All rights reserved.