Java Abstract Window Toolkit (AWT)
In this post, discussion will be done regarding the outlines and color which are applicable to the graphics. Stroking as well as filling will also be discussed.
Filling – To paint with color gradient or solid color.Stroking – Outline of shape is drawn by applying color attribute, stroke width and line style.
Change paint attributes & stroke that are given in Graphics2D context. This is done before line styles are rendered or patterns are filled to the geometric