java.awt
Interface Stroke

All Known Implementing Classes:
BasicStroke

public interface Stroke

Unsafe:


Method Summary
 Shape createStrokedShape(Shape p)
          Enabled: Returns an outline Shape which encloses the area that should be painted when the Shape is stroked according to the rules defined by the object implementing the Stroke interface.
 

Method Detail

createStrokedShape

public Shape createStrokedShape(Shape p)
Enabled: Returns an outline Shape which encloses the area that should be painted when the Shape is stroked according to the rules defined by the object implementing the Stroke interface.

Parameters:
p - a Shape to be stroked
Returns:
the stroked outline Shape.


comments?