Skip to content
Snippets Groups Projects
Commit 96f901bb authored by SAEZ Theo's avatar SAEZ Theo
Browse files

Mise à jour de la classe getPixelColor

parent b301e76e
Branches
No related tags found
No related merge requests found
......@@ -27,8 +27,7 @@ public class MatrixGrayImage implements GrayImage {
@Override
public Color getPixelColor(int x, int y) {
// TODO : Changer les instructions pour retourner la couleur du pixel.
return Color.WHITE;
return pixels[x][y].getColor();
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment