Retrieves the color of the specified pixel.
public final Color getPixel( Point pt )
public final Color getPixel( int x, int y )
pt
A Point object that specifies the pixel to retrieve.
x
The x-coordinate of the pixel to get.
y
The y-coordinate of the pixel to get.
Returns a Color object that describes the color of the pixel.
See Also setPixel