|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| float | GetBrightness () |
| float | GetHue () |
| float | GetSaturation () |
| int | ToArgb () |
| KnownColor | ToKnownColor () |
| override string | ToString () |
| override bool | Equals ([NotNullWhen(true)] object? obj) |
| bool | Equals (Color other) |
| override int | GetHashCode () |
| bool | Equals (T? other) |
Static Public Member Functions | |
| static Color | FromArgb (int argb) |
| static Color | FromArgb (int alpha, int red, int green, int blue) |
| static Color | FromArgb (int alpha, Color baseColor) |
| static Color | FromArgb (int red, int green, int blue) |
| static Color | FromKnownColor (KnownColor color) |
| static Color | FromName (string name) |
| static bool | operator== (Color left, Color right) |
| static bool | operator!= (Color left, Color right) |
Static Public Attributes | |
| static readonly Color | Empty |
Package Functions | |
| Color (KnownColor knownColor) | |
Static Package Functions | |
| static bool | IsKnownColorSystem (KnownColor knownColor) |
Properties | |
| static Color | Transparent [get] |
| static Color | AliceBlue [get] |
| static Color | AntiqueWhite [get] |
| static Color | Aqua [get] |
| static Color | Aquamarine [get] |
| static Color | Azure [get] |
| static Color | Beige [get] |
| static Color | Bisque [get] |
| static Color | Black [get] |
| static Color | BlanchedAlmond [get] |
| static Color | Blue [get] |
| static Color | BlueViolet [get] |
| static Color | Brown [get] |
| static Color | BurlyWood [get] |
| static Color | CadetBlue [get] |
| static Color | Chartreuse [get] |
| static Color | Chocolate [get] |
| static Color | Coral [get] |
| static Color | CornflowerBlue [get] |
| static Color | Cornsilk [get] |
| static Color | Crimson [get] |
| static Color | Cyan [get] |
| static Color | DarkBlue [get] |
| static Color | DarkCyan [get] |
| static Color | DarkGoldenrod [get] |
| static Color | DarkGray [get] |
| static Color | DarkGreen [get] |
| static Color | DarkKhaki [get] |
| static Color | DarkMagenta [get] |
| static Color | DarkOliveGreen [get] |
| static Color | DarkOrange [get] |
| static Color | DarkOrchid [get] |
| static Color | DarkRed [get] |
| static Color | DarkSalmon [get] |
| static Color | DarkSeaGreen [get] |
| static Color | DarkSlateBlue [get] |
| static Color | DarkSlateGray [get] |
| static Color | DarkTurquoise [get] |
| static Color | DarkViolet [get] |
| static Color | DeepPink [get] |
| static Color | DeepSkyBlue [get] |
| static Color | DimGray [get] |
| static Color | DodgerBlue [get] |
| static Color | Firebrick [get] |
| static Color | FloralWhite [get] |
| static Color | ForestGreen [get] |
| static Color | Fuchsia [get] |
| static Color | Gainsboro [get] |
| static Color | GhostWhite [get] |
| static Color | Gold [get] |
| static Color | Goldenrod [get] |
| static Color | Gray [get] |
| static Color | Green [get] |
| static Color | GreenYellow [get] |
| static Color | Honeydew [get] |
| static Color | HotPink [get] |
| static Color | IndianRed [get] |
| static Color | Indigo [get] |
| static Color | Ivory [get] |
| static Color | Khaki [get] |
| static Color | Lavender [get] |
| static Color | LavenderBlush [get] |
| static Color | LawnGreen [get] |
| static Color | LemonChiffon [get] |
| static Color | LightBlue [get] |
| static Color | LightCoral [get] |
| static Color | LightCyan [get] |
| static Color | LightGoldenrodYellow [get] |
| static Color | LightGreen [get] |
| static Color | LightGray [get] |
| static Color | LightPink [get] |
| static Color | LightSalmon [get] |
| static Color | LightSeaGreen [get] |
| static Color | LightSkyBlue [get] |
| static Color | LightSlateGray [get] |
| static Color | LightSteelBlue [get] |
| static Color | LightYellow [get] |
| static Color | Lime [get] |
| static Color | LimeGreen [get] |
| static Color | Linen [get] |
| static Color | Magenta [get] |
| static Color | Maroon [get] |
| static Color | MediumAquamarine [get] |
| static Color | MediumBlue [get] |
| static Color | MediumOrchid [get] |
| static Color | MediumPurple [get] |
| static Color | MediumSeaGreen [get] |
| static Color | MediumSlateBlue [get] |
| static Color | MediumSpringGreen [get] |
| static Color | MediumTurquoise [get] |
| static Color | MediumVioletRed [get] |
| static Color | MidnightBlue [get] |
| static Color | MintCream [get] |
| static Color | MistyRose [get] |
| static Color | Moccasin [get] |
| static Color | NavajoWhite [get] |
| static Color | Navy [get] |
| static Color | OldLace [get] |
| static Color | Olive [get] |
| static Color | OliveDrab [get] |
| static Color | Orange [get] |
| static Color | OrangeRed [get] |
| static Color | Orchid [get] |
| static Color | PaleGoldenrod [get] |
| static Color | PaleGreen [get] |
| static Color | PaleTurquoise [get] |
| static Color | PaleVioletRed [get] |
| static Color | PapayaWhip [get] |
| static Color | PeachPuff [get] |
| static Color | Peru [get] |
| static Color | Pink [get] |
| static Color | Plum [get] |
| static Color | PowderBlue [get] |
| static Color | Purple [get] |
| static Color | RebeccaPurple [get] |
| static Color | Red [get] |
| static Color | RosyBrown [get] |
| static Color | RoyalBlue [get] |
| static Color | SaddleBrown [get] |
| static Color | Salmon [get] |
| static Color | SandyBrown [get] |
| static Color | SeaGreen [get] |
| static Color | SeaShell [get] |
| static Color | Sienna [get] |
| static Color | Silver [get] |
| static Color | SkyBlue [get] |
| static Color | SlateBlue [get] |
| static Color | SlateGray [get] |
| static Color | Snow [get] |
| static Color | SpringGreen [get] |
| static Color | SteelBlue [get] |
| static Color | Tan [get] |
| static Color | Teal [get] |
| static Color | Thistle [get] |
| static Color | Tomato [get] |
| static Color | Turquoise [get] |
| static Color | Violet [get] |
| static Color | Wheat [get] |
| static Color | White [get] |
| static Color | WhiteSmoke [get] |
| static Color | Yellow [get] |
| static Color | YellowGreen [get] |
| byte | R [get] |
| byte | G [get] |
| byte | B [get] |
| byte | A [get] |
| bool | IsKnownColor [get] |
| bool | IsEmpty [get] |
| bool | IsNamedColor [get] |
| bool | IsSystemColor [get] |
| string | NameAndARGBValue [get] |
| string | Name [get] |
| long | Value [get] |
Private Member Functions | |
| Color (long value, short state, string name, KnownColor knownColor) | |
| void | GetRgbValues (out int r, out int g, out int b) |
Static Private Member Functions | |
| static void | CheckByte (int value, string name) |
| static Color | FromArgb (uint argb) |
| static void | MinMaxRgb (out int min, out int max, int r, int g, int b) |
Private Attributes | |
| readonly string | name |
| readonly long | value |
| readonly short | knownColor |
| readonly short | state |