Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToString()

override string System.Drawing.Color.ToString ( )
inline

Definition at line 543 of file Color.cs.

544 {
545 if (!IsNamedColor)
546 {
547 if ((state & 2) == 0)
548 {
549 return "Color [Empty]";
550 }
551 return $"{"Color"} [A={A}, R={R}, G={G}, B={B}]";
552 }
553 return "Color [" + Name + "]";
554 }
readonly short state
Definition Color.cs:23
Color(KnownColor knownColor)
Definition Color.cs:379

References System.Drawing.Color.IsNamedColor, System.Drawing.Color.Name, and System.Drawing.Color.state.