I have a graphics2d object that I am drawing various shapes in. After it is rendered onto a canvas, I need to iterate through all the x and y coordinates of the canvas and get the color of the pixel at that x,y coordinate. How do I do this? I can't find a getRGB(x,y) that works on a canvas.
Thanks
Thanks