| Package | Description |
|---|---|
| org.apache.batik.bridge |
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
|
| org.apache.batik.gvt |
Contains all of the interfaces for describing and painting vector
graphics as Java objects.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ShapePainter |
PaintServer.convertFillAndStroke(org.w3c.dom.Element e,
ShapeNode node,
BridgeContext ctx) |
Returns a
ShapePainter defined on the specified element and
for the specified shape node, and using the specified bridge
context. |
static ShapePainter |
PaintServer.convertMarkers(org.w3c.dom.Element e,
ShapeNode node,
BridgeContext ctx) |
Returns a
ShapePainter defined on the specified
element and for the specified shape node. |
static ShapePainter |
PaintServer.convertStrokePainter(org.w3c.dom.Element e,
ShapeNode node,
BridgeContext ctx) |
|
protected ShapePainter |
SVGLineElementBridge.createFillStrokePainter(BridgeContext ctx,
org.w3c.dom.Element e,
ShapeNode shapeNode) |
Creates the shape painter associated to the specified element.
|
protected ShapePainter |
SVGCircleElementBridge.createShapePainter(BridgeContext ctx,
org.w3c.dom.Element e,
ShapeNode shapeNode) |
|
protected ShapePainter |
SVGDecoratedShapeElementBridge.createShapePainter(BridgeContext ctx,
org.w3c.dom.Element e,
ShapeNode shapeNode) |
Creates the shape painter associated to the specified element.
|
protected ShapePainter |
SVGEllipseElementBridge.createShapePainter(BridgeContext ctx,
org.w3c.dom.Element e,
ShapeNode shapeNode) |
|
protected ShapePainter |
SVGRectElementBridge.createShapePainter(BridgeContext ctx,
org.w3c.dom.Element e,
ShapeNode shapeNode) |
|
protected ShapePainter |
SVGShapeElementBridge.createShapePainter(BridgeContext ctx,
org.w3c.dom.Element e,
ShapeNode shapeNode) |
Creates the shape painter associated to the specified element.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
CompositeShapePainter |
A shape painter which consists of multiple shape painters.
|
class |
FillShapePainter |
A shape painter that can be used to fill a shape.
|
class |
MarkerShapePainter |
A shape painter that can be used to paint markers on a shape.
|
class |
StrokeShapePainter |
A shape painter that can be used to draw the outline of a shape.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected ShapePainter[] |
CompositeShapePainter.painters |
The enclosed
ShapePainters of this composite shape painter. |
protected ShapePainter |
ShapeNode.shapePainter |
The shape painter used to paint the shape of this shape node.
|
| Modifier and Type | Method | Description |
|---|---|---|
ShapePainter |
CompositeShapePainter.getShapePainter(int index) |
Returns the shape painter at the specified index.
|
ShapePainter |
ShapeNode.getShapePainter() |
Returns the
ShapePainter used by this shape node to render its
shape. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CompositeShapePainter.addShapePainter(ShapePainter shapePainter) |
Adds the specified shape painter to the shape painter..
|
void |
ShapeNode.setShapePainter(ShapePainter newShapePainter) |
Sets the
ShapePainter used by this shape node to render its
shape. |
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.