question: private void init_draw_graphics ( Graphics2D p_graphics , Color p_color , float p_width ) { BasicStroke bs = new BasicStroke ( Math . max ( p_width , 0 ) , BasicStroke . CAP_ROUND , BasicStroke . JOIN_ROUND ) ; p_graphics . setStroke ( bs ) ; p_graphics . setColor ( p_color ) ; p_graphics . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , RenderingHints . VALUE_ANTIALIAS_ON ) ; }
target:  initialise some values in p_graphics