public void defineFillStyle(Color color2){
  Color color=color2;
  if (color == null) {
    color=new Color(255,255,255);
  }
  ColorFill fill=new ColorFill(color);
  if (color instanceof AlphaColor) {
    hasAlpha=true;
  }
  elements.add(fill);
}

public void defineFillStyle ( Color color2 ) { Color color = color2 ; if ( color == null ) { color = new Color ( 255 , 255 , 255 ) ; } ColorFill fill = new ColorFill ( color ) ; if ( color instanceof AlphaColor ) { hasAlpha = true ; } elements . add ( fill ) ; }
define a color fill
