Java Abstract Window Toolkit (AWT)
Stroke attributes define the line style in Graphic2D rendering context. BasicStroke object shall be created and passed to Graphic2D setStroke method so that to set the stroke attribute.
Information in a BasicStroke object is: Line widthJoin styleEnd cap styleDash style
Use this information when shape is rendered with draw method.
The line width is line thickness which is measured perpendicular, to its trajectory. The line width