Modifications apportés

This commit is contained in:
ANHDIRE
2026-01-03 13:08:16 +01:00
parent bceb70c052
commit 5cd5f4c044
34 changed files with 2566 additions and 2519 deletions
+37 -37
View File
@@ -1,38 +1,38 @@
package fr.iutfbleau.sae.mimage;
public class Pixel{
private int r;
private int g;
private int b;
//à completer
public Pixel(int red, int green, int blue){
this.r=red;
this.g=green;
this.b=blue;
}
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;
}
package fr.iutfbleau.sae.mimage;
public class Pixel{
private int r;
private int g;
private int b;
//à completer
public Pixel(int red, int green, int blue){
this.r=red;
this.g=green;
this.b=blue;
}
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;
}
}