Basic Stroke
constructor()
Constructs a new BasicStroke with defaults for all attributes. The default attributes are a solid line of width 1.0, CAP_SQUARE, JOIN_MITER, a miter limit of 10.0.
Constructs a solid BasicStroke with the specified line width and with default values for the cap and join styles.
Parameters
width
the width of the BasicStroke
Throws
if width is negative