question: public void defineLineStyle ( double width , Color color2 ) { Color color = color2 ; if ( color == null ) { color = new Color ( 0 , 0 , 0 ) ; } LineStyle style = new LineStyle ( width , color ) ; if ( maxLineWidth < width ) { maxLineWidth = width ; } if ( color instanceof AlphaColor ) { hasAlpha = true ; } elements . add ( style ) ; }
target:  Define a line style