public void fill_shape(PlaPointFloat[] p_points,Graphics p_g,Color p_color,double p_translucency_factor){
  if (p_color == null)   return;
  Graphics2D g2=(Graphics2D)p_g;
  Polygon draw_polygon=new Polygon();
  for (int index=0; index < p_points.length; index++) {
    Point2D curr_corner=coordinate_transform.board_to_screen(p_points[index]);
    draw_polygon.addPoint((int)Math.round(curr_corner.getX()),(int)Math.round(curr_corner.getY()));
  }
  g2.setColor(p_color);
  set_translucency(g2,p_translucency_factor);
  g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
  g2.fill(draw_polygon);
}

public void fill_shape ( PlaPointFloat [ ] p_points , Graphics p_g , Color p_color , double p_translucency_factor ) { if ( p_color == null ) return ; Graphics2D g2 = ( Graphics2D ) p_g ; Polygon draw_polygon = new Polygon ( ) ; for ( int index = 0 ; index < p_points . length ; index ++ ) { Point2D curr_corner = coordinate_transform . board_to_screen ( p_points [ index ] ) ; draw_polygon . addPoint ( ( int ) Math . round ( curr_corner . getX ( ) ) , ( int ) Math . round ( curr_corner . getY ( ) ) ) ; } g2 . setColor ( p_color ) ; set_translucency ( g2 , p_translucency_factor ) ; g2 . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , RenderingHints . VALUE_ANTIALIAS_ON ) ; g2 . fill ( draw_polygon ) ; }
fill the interior of the polygon shape represented by p_points .
