public int pixelFor(Color c){
  return pixelFor(c.getRGB());
}

public int pixelFor ( Color c ) { return pixelFor ( c . getRGB ( ) ) ; }
returns the pixel data for the specified color packed into an integer for easy storage and conveyance . this method will use the getrgb ( ) method of the color object and defer to the pixelfor ( int rgb ) method if not overridden . for now this is a convenience function , but for cases where the highest quality color conversion is requested , this method should be overridden in those cases so that a more direct conversion of the color to the destination color space can be done using the additional information in the color object .
