org.apache.batik.gvt
Interface StrokeShapePainter
- All Superinterfaces:
- ShapePainter
- All Known Implementing Classes:
- ConcreteStrokeShapePainter
- public interface StrokeShapePainter
- extends ShapePainter
Renders the shape of a ShapeNode using a Stroke
and a Paint that decorate the outline of the shape.
Method Summary |
void |
setPaint(java.awt.Paint newPaint)
Sets the paint used to draw the outline of the shape. |
void |
setStroke(java.awt.Stroke newStroke)
Sets the stroke of this shape painter. |
setStroke
public void setStroke(java.awt.Stroke newStroke)
- Sets the stroke of this shape painter.
- Parameters:
newStroke
- the new stroke of this shape painter
setPaint
public void setPaint(java.awt.Paint newPaint)
- Sets the paint used to draw the outline of the shape.
- Parameters:
newPaint
- the new paint used to draw the outline of the shape
Copyright © 2000 Apache Software Foundation. All Rights Reserved.