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

◆ KnownColorToArgb()

static uint System.Drawing.KnownColorTable.KnownColorToArgb ( KnownColor color)
inlinestatic

Definition at line 61 of file KnownColorTable.cs.

62 {
63 if (ColorKindTable[(int)color] != 0)
64 {
65 return s_colorValueTable[(int)color];
66 }
67 return GetSystemColorArgb(color);
68 }
static ReadOnlySpan< byte > ColorKindTable
static uint GetSystemColorArgb(KnownColor color)
static readonly uint[] s_colorValueTable

References System.Drawing.KnownColorTable.ColorKindTable, System.Drawing.KnownColorTable.GetSystemColorArgb(), and System.Drawing.KnownColorTable.s_colorValueTable.