Implement toString() for Color class

This commit is contained in:
Lukas Rieger (Blue) 2023-07-15 12:29:05 +02:00
parent 40140f87c6
commit 7776c8e979
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -167,4 +167,13 @@ public int hashCode() {
return result;
}
@Override
public String toString() {
return "Color{" +
"r=" + r +
", g=" + g +
", b=" + b +
", a=" + a +
'}';
}
}