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
1 changed files with 9 additions and 0 deletions

View File

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