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 and Description |
---|---|
static ShapePainter |
PaintServer.convertFillAndStroke(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(Element e,
ShapeNode node,
BridgeContext ctx)
Returns a
ShapePainter defined on the specified
element and for the specified shape node. |
static ShapePainter |
PaintServer.convertStrokePainter(Element e,
ShapeNode node,
BridgeContext ctx) |
protected ShapePainter |
SVGLineElementBridge.createFillStrokePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
|
protected ShapePainter |
SVGEllipseElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode) |
protected ShapePainter |
SVGShapeElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
|
protected ShapePainter |
SVGCircleElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode) |
protected ShapePainter |
SVGDecoratedShapeElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
|
protected ShapePainter |
SVGRectElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode) |
Modifier and Type | Class and 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 and Description |
---|---|
protected ShapePainter[] |
CompositeShapePainter.painters
The enclosed
ShapePainter s 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 and Description |
---|---|
ShapePainter |
ShapeNode.getShapePainter()
Returns the
ShapePainter used by this shape node to render its
shape. |
ShapePainter |
CompositeShapePainter.getShapePainter(int index)
Returns the shape painter at the specified index.
|
Modifier and Type | Method and 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 © 2022 Apache Software Foundation. All Rights Reserved.