org.apache.batik.bridge

Class SVGDecoratedShapeElementBridge

public abstract class SVGDecoratedShapeElementBridge extends SVGShapeElementBridge

The base bridge class for decorated shapes. Decorated shapes can be filled, stroked and can have markers.
Constructor Summary
protected SVGDecoratedShapeElementBridge()
Constructs a new bridge for SVG decorated shapes.
Method Summary
protected ShapePaintercreateShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
protected voidhandleCSSPropertyChanged(int property)

Constructor Detail

SVGDecoratedShapeElementBridge

protected SVGDecoratedShapeElementBridge()
Constructs a new bridge for SVG decorated shapes.

Method Detail

createShapePainter

protected ShapePainter createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
Creates the shape painter associated to the specified element. This implementation creates a shape painter considering the various fill and stroke properties in addition to the marker properties.

Parameters: ctx the bridge context to use e the element that describes the shape painter to use shapeNode the shape node that is interested in its shape painter

handleCSSPropertyChanged

protected void handleCSSPropertyChanged(int property)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.