#if NETSTANDARD2_0 namespace SharpMap.Drawing { /// /// Attribute class to associate ARGB value with enum member /// [System.AttributeUsage(System.AttributeTargets.Field)] internal class ArgbValueAttribute : System.Attribute { /// /// Creates an instance of this class /// /// The ARGB value public ArgbValueAttribute(int argb) { Argb = argb; } /// /// Gets a value indicating the ARGB value /// public int Argb { get; } } /// /// Straight copy of System.Drawing.KnownColor names /// internal enum KnownColor { /// /// Color ActiveBorder (#B4B4B4) /// [ArgbValue(-4934476)] ActiveBorder = 1, /// /// Color ActiveCaption (#99B4D1) /// [ArgbValue(-6703919)] ActiveCaption = 2, /// /// Color ActiveCaptionText (#0) /// [ArgbValue(-16777216)] ActiveCaptionText = 3, /// /// Color AppWorkspace (#ABABAB) /// [ArgbValue(-5526613)] AppWorkspace = 4, /// /// Color Control (#F0F0F0) /// [ArgbValue(-986896)] Control = 5, /// /// Color ControlDark (#A0A0A0) /// [ArgbValue(-6250336)] ControlDark = 6, /// /// Color ControlDarkDark (#696969) /// [ArgbValue(-9868951)] ControlDarkDark = 7, /// /// Color ControlLight (#E3E3E3) /// [ArgbValue(-1842205)] ControlLight = 8, /// /// Color ControlLightLight (#FFFFFF) /// [ArgbValue(-1)] ControlLightLight = 9, /// /// Color ControlText (#0) /// [ArgbValue(-16777216)] ControlText = 10, /// /// Color Desktop (#0) /// [ArgbValue(-16777216)] Desktop = 11, /// /// Color GrayText (#6D6D6D) /// [ArgbValue(-9605779)] GrayText = 12, /// /// Color Highlight (#78D7) /// [ArgbValue(-16746281)] Highlight = 13, /// /// Color HighlightText (#FFFFFF) /// [ArgbValue(-1)] HighlightText = 14, /// /// Color HotTrack (#66CC) /// [ArgbValue(-16750900)] HotTrack = 15, /// /// Color InactiveBorder (#F4F7FC) /// [ArgbValue(-722948)] InactiveBorder = 16, /// /// Color InactiveCaption (#BFCDDB) /// [ArgbValue(-4207141)] InactiveCaption = 17, /// /// Color InactiveCaptionText (#0) /// [ArgbValue(-16777216)] InactiveCaptionText = 18, /// /// Color Info (#FFFFE1) /// [ArgbValue(-31)] Info = 19, /// /// Color InfoText (#0) /// [ArgbValue(-16777216)] InfoText = 20, /// /// Color Menu (#F0F0F0) /// [ArgbValue(-986896)] Menu = 21, /// /// Color MenuText (#0) /// [ArgbValue(-16777216)] MenuText = 22, /// /// Color ScrollBar (#C8C8C8) /// [ArgbValue(-3618616)] ScrollBar = 23, /// /// Color Window (#FFFFFF) /// [ArgbValue(-1)] Window = 24, /// /// Color WindowFrame (#646464) /// [ArgbValue(-10197916)] WindowFrame = 25, /// /// Color WindowText (#0) /// [ArgbValue(-16777216)] WindowText = 26, /// /// Color Transparent (#FFFFFF) /// [ArgbValue(16777215)] Transparent = 27, /// /// Color AliceBlue (#F0F8FF) /// [ArgbValue(-984833)] AliceBlue = 28, /// /// Color AntiqueWhite (#FAEBD7) /// [ArgbValue(-332841)] AntiqueWhite = 29, /// /// Color Aqua (#FFFF) /// [ArgbValue(-16711681)] Aqua = 30, /// /// Color Aquamarine (#7FFFD4) /// [ArgbValue(-8388652)] Aquamarine = 31, /// /// Color Azure (#F0FFFF) /// [ArgbValue(-983041)] Azure = 32, /// /// Color Beige (#F5F5DC) /// [ArgbValue(-657956)] Beige = 33, /// /// Color Bisque (#FFE4C4) /// [ArgbValue(-6972)] Bisque = 34, /// /// Color Black (#0) /// [ArgbValue(-16777216)] Black = 35, /// /// Color BlanchedAlmond (#FFEBCD) /// [ArgbValue(-5171)] BlanchedAlmond = 36, /// /// Color Blue (#FF) /// [ArgbValue(-16776961)] Blue = 37, /// /// Color BlueViolet (#8A2BE2) /// [ArgbValue(-7722014)] BlueViolet = 38, /// /// Color Brown (#A52A2A) /// [ArgbValue(-5952982)] Brown = 39, /// /// Color BurlyWood (#DEB887) /// [ArgbValue(-2180985)] BurlyWood = 40, /// /// Color CadetBlue (#5F9EA0) /// [ArgbValue(-10510688)] CadetBlue = 41, /// /// Color Chartreuse (#7FFF00) /// [ArgbValue(-8388864)] Chartreuse = 42, /// /// Color Chocolate (#D2691E) /// [ArgbValue(-2987746)] Chocolate = 43, /// /// Color Coral (#FF7F50) /// [ArgbValue(-32944)] Coral = 44, /// /// Color CornflowerBlue (#6495ED) /// [ArgbValue(-10185235)] CornflowerBlue = 45, /// /// Color Cornsilk (#FFF8DC) /// [ArgbValue(-1828)] Cornsilk = 46, /// /// Color Crimson (#DC143C) /// [ArgbValue(-2354116)] Crimson = 47, /// /// Color Cyan (#FFFF) /// [ArgbValue(-16711681)] Cyan = 48, /// /// Color DarkBlue (#8B) /// [ArgbValue(-16777077)] DarkBlue = 49, /// /// Color DarkCyan (#8B8B) /// [ArgbValue(-16741493)] DarkCyan = 50, /// /// Color DarkGoldenrod (#B8860B) /// [ArgbValue(-4684277)] DarkGoldenrod = 51, /// /// Color DarkGray (#A9A9A9) /// [ArgbValue(-5658199)] DarkGray = 52, /// /// Color DarkGreen (#6400) /// [ArgbValue(-16751616)] DarkGreen = 53, /// /// Color DarkKhaki (#BDB76B) /// [ArgbValue(-4343957)] DarkKhaki = 54, /// /// Color DarkMagenta (#8B008B) /// [ArgbValue(-7667573)] DarkMagenta = 55, /// /// Color DarkOliveGreen (#556B2F) /// [ArgbValue(-11179217)] DarkOliveGreen = 56, /// /// Color DarkOrange (#FF8C00) /// [ArgbValue(-29696)] DarkOrange = 57, /// /// Color DarkOrchid (#9932CC) /// [ArgbValue(-6737204)] DarkOrchid = 58, /// /// Color DarkRed (#8B0000) /// [ArgbValue(-7667712)] DarkRed = 59, /// /// Color DarkSalmon (#E9967A) /// [ArgbValue(-1468806)] DarkSalmon = 60, /// /// Color DarkSeaGreen (#8FBC8B) /// [ArgbValue(-7357301)] DarkSeaGreen = 61, /// /// Color DarkSlateBlue (#483D8B) /// [ArgbValue(-12042869)] DarkSlateBlue = 62, /// /// Color DarkSlateGray (#2F4F4F) /// [ArgbValue(-13676721)] DarkSlateGray = 63, /// /// Color DarkTurquoise (#CED1) /// [ArgbValue(-16724271)] DarkTurquoise = 64, /// /// Color DarkViolet (#9400D3) /// [ArgbValue(-7077677)] DarkViolet = 65, /// /// Color DeepPink (#FF1493) /// [ArgbValue(-60269)] DeepPink = 66, /// /// Color DeepSkyBlue (#BFFF) /// [ArgbValue(-16728065)] DeepSkyBlue = 67, /// /// Color DimGray (#696969) /// [ArgbValue(-9868951)] DimGray = 68, /// /// Color DodgerBlue (#1E90FF) /// [ArgbValue(-14774017)] DodgerBlue = 69, /// /// Color Firebrick (#B22222) /// [ArgbValue(-5103070)] Firebrick = 70, /// /// Color FloralWhite (#FFFAF0) /// [ArgbValue(-1296)] FloralWhite = 71, /// /// Color ForestGreen (#228B22) /// [ArgbValue(-14513374)] ForestGreen = 72, /// /// Color Fuchsia (#FF00FF) /// [ArgbValue(-65281)] Fuchsia = 73, /// /// Color Gainsboro (#DCDCDC) /// [ArgbValue(-2302756)] Gainsboro = 74, /// /// Color GhostWhite (#F8F8FF) /// [ArgbValue(-460545)] GhostWhite = 75, /// /// Color Gold (#FFD700) /// [ArgbValue(-10496)] Gold = 76, /// /// Color Goldenrod (#DAA520) /// [ArgbValue(-2448096)] Goldenrod = 77, /// /// Color Gray (#808080) /// [ArgbValue(-8355712)] Gray = 78, /// /// Color Green (#8000) /// [ArgbValue(-16744448)] Green = 79, /// /// Color GreenYellow (#ADFF2F) /// [ArgbValue(-5374161)] GreenYellow = 80, /// /// Color Honeydew (#F0FFF0) /// [ArgbValue(-983056)] Honeydew = 81, /// /// Color HotPink (#FF69B4) /// [ArgbValue(-38476)] HotPink = 82, /// /// Color IndianRed (#CD5C5C) /// [ArgbValue(-3318692)] IndianRed = 83, /// /// Color Indigo (#4B0082) /// [ArgbValue(-11861886)] Indigo = 84, /// /// Color Ivory (#FFFFF0) /// [ArgbValue(-16)] Ivory = 85, /// /// Color Khaki (#F0E68C) /// [ArgbValue(-989556)] Khaki = 86, /// /// Color Lavender (#E6E6FA) /// [ArgbValue(-1644806)] Lavender = 87, /// /// Color LavenderBlush (#FFF0F5) /// [ArgbValue(-3851)] LavenderBlush = 88, /// /// Color LawnGreen (#7CFC00) /// [ArgbValue(-8586240)] LawnGreen = 89, /// /// Color LemonChiffon (#FFFACD) /// [ArgbValue(-1331)] LemonChiffon = 90, /// /// Color LightBlue (#ADD8E6) /// [ArgbValue(-5383962)] LightBlue = 91, /// /// Color LightCoral (#F08080) /// [ArgbValue(-1015680)] LightCoral = 92, /// /// Color LightCyan (#E0FFFF) /// [ArgbValue(-2031617)] LightCyan = 93, /// /// Color LightGoldenrodYellow (#FAFAD2) /// [ArgbValue(-329006)] LightGoldenrodYellow = 94, /// /// Color LightGray (#D3D3D3) /// [ArgbValue(-2894893)] LightGray = 95, /// /// Color LightGreen (#90EE90) /// [ArgbValue(-7278960)] LightGreen = 96, /// /// Color LightPink (#FFB6C1) /// [ArgbValue(-18751)] LightPink = 97, /// /// Color LightSalmon (#FFA07A) /// [ArgbValue(-24454)] LightSalmon = 98, /// /// Color LightSeaGreen (#20B2AA) /// [ArgbValue(-14634326)] LightSeaGreen = 99, /// /// Color LightSkyBlue (#87CEFA) /// [ArgbValue(-7876870)] LightSkyBlue = 100, /// /// Color LightSlateGray (#778899) /// [ArgbValue(-8943463)] LightSlateGray = 101, /// /// Color LightSteelBlue (#B0C4DE) /// [ArgbValue(-5192482)] LightSteelBlue = 102, /// /// Color LightYellow (#FFFFE0) /// [ArgbValue(-32)] LightYellow = 103, /// /// Color Lime (#FF00) /// [ArgbValue(-16711936)] Lime = 104, /// /// Color LimeGreen (#32CD32) /// [ArgbValue(-13447886)] LimeGreen = 105, /// /// Color Linen (#FAF0E6) /// [ArgbValue(-331546)] Linen = 106, /// /// Color Magenta (#FF00FF) /// [ArgbValue(-65281)] Magenta = 107, /// /// Color Maroon (#800000) /// [ArgbValue(-8388608)] Maroon = 108, /// /// Color MediumAquamarine (#66CDAA) /// [ArgbValue(-10039894)] MediumAquamarine = 109, /// /// Color MediumBlue (#CD) /// [ArgbValue(-16777011)] MediumBlue = 110, /// /// Color MediumOrchid (#BA55D3) /// [ArgbValue(-4565549)] MediumOrchid = 111, /// /// Color MediumPurple (#9370DB) /// [ArgbValue(-7114533)] MediumPurple = 112, /// /// Color MediumSeaGreen (#3CB371) /// [ArgbValue(-12799119)] MediumSeaGreen = 113, /// /// Color MediumSlateBlue (#7B68EE) /// [ArgbValue(-8689426)] MediumSlateBlue = 114, /// /// Color MediumSpringGreen (#FA9A) /// [ArgbValue(-16713062)] MediumSpringGreen = 115, /// /// Color MediumTurquoise (#48D1CC) /// [ArgbValue(-12004916)] MediumTurquoise = 116, /// /// Color MediumVioletRed (#C71585) /// [ArgbValue(-3730043)] MediumVioletRed = 117, /// /// Color MidnightBlue (#191970) /// [ArgbValue(-15132304)] MidnightBlue = 118, /// /// Color MintCream (#F5FFFA) /// [ArgbValue(-655366)] MintCream = 119, /// /// Color MistyRose (#FFE4E1) /// [ArgbValue(-6943)] MistyRose = 120, /// /// Color Moccasin (#FFE4B5) /// [ArgbValue(-6987)] Moccasin = 121, /// /// Color NavajoWhite (#FFDEAD) /// [ArgbValue(-8531)] NavajoWhite = 122, /// /// Color Navy (#80) /// [ArgbValue(-16777088)] Navy = 123, /// /// Color OldLace (#FDF5E6) /// [ArgbValue(-133658)] OldLace = 124, /// /// Color Olive (#808000) /// [ArgbValue(-8355840)] Olive = 125, /// /// Color OliveDrab (#6B8E23) /// [ArgbValue(-9728477)] OliveDrab = 126, /// /// Color Orange (#FFA500) /// [ArgbValue(-23296)] Orange = 127, /// /// Color OrangeRed (#FF4500) /// [ArgbValue(-47872)] OrangeRed = 128, /// /// Color Orchid (#DA70D6) /// [ArgbValue(-2461482)] Orchid = 129, /// /// Color PaleGoldenrod (#EEE8AA) /// [ArgbValue(-1120086)] PaleGoldenrod = 130, /// /// Color PaleGreen (#98FB98) /// [ArgbValue(-6751336)] PaleGreen = 131, /// /// Color PaleTurquoise (#AFEEEE) /// [ArgbValue(-5247250)] PaleTurquoise = 132, /// /// Color PaleVioletRed (#DB7093) /// [ArgbValue(-2396013)] PaleVioletRed = 133, /// /// Color PapayaWhip (#FFEFD5) /// [ArgbValue(-4139)] PapayaWhip = 134, /// /// Color PeachPuff (#FFDAB9) /// [ArgbValue(-9543)] PeachPuff = 135, /// /// Color Peru (#CD853F) /// [ArgbValue(-3308225)] Peru = 136, /// /// Color Pink (#FFC0CB) /// [ArgbValue(-16181)] Pink = 137, /// /// Color Plum (#DDA0DD) /// [ArgbValue(-2252579)] Plum = 138, /// /// Color PowderBlue (#B0E0E6) /// [ArgbValue(-5185306)] PowderBlue = 139, /// /// Color Purple (#800080) /// [ArgbValue(-8388480)] Purple = 140, /// /// Color Red (#FF0000) /// [ArgbValue(-65536)] Red = 141, /// /// Color RosyBrown (#BC8F8F) /// [ArgbValue(-4419697)] RosyBrown = 142, /// /// Color RoyalBlue (#4169E1) /// [ArgbValue(-12490271)] RoyalBlue = 143, /// /// Color SaddleBrown (#8B4513) /// [ArgbValue(-7650029)] SaddleBrown = 144, /// /// Color Salmon (#FA8072) /// [ArgbValue(-360334)] Salmon = 145, /// /// Color SandyBrown (#F4A460) /// [ArgbValue(-744352)] SandyBrown = 146, /// /// Color SeaGreen (#2E8B57) /// [ArgbValue(-13726889)] SeaGreen = 147, /// /// Color SeaShell (#FFF5EE) /// [ArgbValue(-2578)] SeaShell = 148, /// /// Color Sienna (#A0522D) /// [ArgbValue(-6270419)] Sienna = 149, /// /// Color Silver (#C0C0C0) /// [ArgbValue(-4144960)] Silver = 150, /// /// Color SkyBlue (#87CEEB) /// [ArgbValue(-7876885)] SkyBlue = 151, /// /// Color SlateBlue (#6A5ACD) /// [ArgbValue(-9807155)] SlateBlue = 152, /// /// Color SlateGray (#708090) /// [ArgbValue(-9404272)] SlateGray = 153, /// /// Color Snow (#FFFAFA) /// [ArgbValue(-1286)] Snow = 154, /// /// Color SpringGreen (#FF7F) /// [ArgbValue(-16711809)] SpringGreen = 155, /// /// Color SteelBlue (#4682B4) /// [ArgbValue(-12156236)] SteelBlue = 156, /// /// Color Tan (#D2B48C) /// [ArgbValue(-2968436)] Tan = 157, /// /// Color Teal (#8080) /// [ArgbValue(-16744320)] Teal = 158, /// /// Color Thistle (#D8BFD8) /// [ArgbValue(-2572328)] Thistle = 159, /// /// Color Tomato (#FF6347) /// [ArgbValue(-40121)] Tomato = 160, /// /// Color Turquoise (#40E0D0) /// [ArgbValue(-12525360)] Turquoise = 161, /// /// Color Violet (#EE82EE) /// [ArgbValue(-1146130)] Violet = 162, /// /// Color Wheat (#F5DEB3) /// [ArgbValue(-663885)] Wheat = 163, /// /// Color White (#FFFFFF) /// [ArgbValue(-1)] White = 164, /// /// Color WhiteSmoke (#F5F5F5) /// [ArgbValue(-657931)] WhiteSmoke = 165, /// /// Color Yellow (#FFFF00) /// [ArgbValue(-256)] Yellow = 166, /// /// Color YellowGreen (#9ACD32) /// [ArgbValue(-6632142)] YellowGreen = 167, /// /// Color ButtonFace (#F0F0F0) /// [ArgbValue(-986896)] ButtonFace = 168, /// /// Color ButtonHighlight (#FFFFFF) /// [ArgbValue(-1)] ButtonHighlight = 169, /// /// Color ButtonShadow (#A0A0A0) /// [ArgbValue(-6250336)] ButtonShadow = 170, /// /// Color GradientActiveCaption (#B9D1EA) /// [ArgbValue(-4599318)] GradientActiveCaption = 171, /// /// Color GradientInactiveCaption (#D7E4F2) /// [ArgbValue(-2628366)] GradientInactiveCaption = 172, /// /// Color MenuBar (#F0F0F0) /// [ArgbValue(-986896)] MenuBar = 173, /// /// Color MenuHighlight (#3399FF) /// [ArgbValue(-13395457)] MenuHighlight = 174, } } #endif