java.awt
public interface Stroke
drawLine
.
Strokes must be immutable, because the graphics object does not clone
them.
Since: 1.1
See Also: BasicStroke setStroke
UNKNOWN: updated to 1.4
Method Summary | |
---|---|
Shape | createStrokedShape(Shape s)
Returns a shape which outlines the boundary of the given shape, in
effect converting the infinitely thin line into a new shape.
|
Parameters: s the shape to stroke
Returns: the stroked outline shape