code: public void fill(Graphic g, ColorRgba color)
      {
          g.setColor(color);
          g.drawRect(0, 0, source.getWidth(), source.getHeight(), true);
      }
docs: Fill with color.
  
  @param g The graphic output.
  @param color The color to fill with.