Implement toString() for Color class
This commit is contained in:
parent
40140f87c6
commit
7776c8e979
|
@ -167,4 +167,13 @@ public class Color {
|
|||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Color{" +
|
||||
"r=" + r +
|
||||
", g=" + g +
|
||||
", b=" + b +
|
||||
", a=" + a +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue