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

◆ Value

long System.Drawing.Color.Value
getprivate

Definition at line 363 of file Color.cs.

364 {
365 get
366 {
367 if (((uint)state & 2u) != 0)
368 {
369 return value;
370 }
371 if (IsKnownColor)
372 {
373 return KnownColorTable.KnownColorToArgb((KnownColor)knownColor);
374 }
375 return 0L;
376 }
377 }
readonly short state
Definition Color.cs:23
readonly long value
Definition Color.cs:19
readonly short knownColor
Definition Color.cs:21

Referenced by System.Drawing.Color.FromArgb(), System.Drawing.Color.GetRgbValues(), and System.Drawing.Color.ToArgb().