Skip to content
Snippets Groups Projects
Commit 9df5bb85 authored by LABOUREL Arnaud's avatar LABOUREL Arnaud
Browse files

Changement code ByteGrayColor

parent 6fcbfd29
Branches
No related tags found
No related merge requests found
Pipeline #5992 failed
......@@ -35,7 +35,7 @@ public class ByteGrayColor implements GrayColor {
@Override
public Color getColor(){
double component = grayLevel / (double) MAXIMUM_GRAY_LEVEL;
double component = getLuminosity();
return new Color(component, component, component, OPACITY);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment