mise a jour du travail apres visualisation du diagrame

This commit is contained in:
youness
2025-12-20 11:54:06 +01:00
parent 93c81c9b8a
commit a11590dc3f
3 changed files with 68 additions and 19 deletions
+33 -1
View File
@@ -1,4 +1,36 @@
package fr.iutfbleau.sae;
public class Pixel {
public class Pixel{
private int r;
private int g;
private int b;
//à completer
public Pixel(){
}
public int getB() {
return b;
}
public int getG() {
return g;
}
public int getR() {
return r;
}
public void setR(int r) {
this.r = r;
}
public void setB(int b) {
this.b = b;
}
public void setG(int g) {
this.g = g;
}
}