Public Member Functions | |
| override string | ToString () |
| Returns a string representing this object. | |
| override int | GetHashCode () |
| Returns a unique hashcode. | |
| override bool | Equals (object obj) |
| Checks to see if this is equal to another object. | |
| bool | Equals (Color clr) |
| Checks to see if this is equal to another Color structure. | |
| int | ToArgb () |
| Converts this Color structure to a 32-bit integer in the format 0xAARRGGBB. This is suitable for input to Color.FromArgb to reproduce the color structure. | |
Static Public Member Functions | |
| static Color | FromArgb (int a, Color baseColor) |
| Creates a Color structure from the given color and alpha value. | |
| static Color | FromArgb (int r, int g, int b) |
| Creates a color structure from r, g, b values. | |
| static Color | FromArgb (int a, int r, int g, int b) |
| Creates a color structure from a, r, g, b values. | |
| static Color | FromArgb (int argbvalue) |
| Creates a color structure from a 32-bit integer, in the format 0xAARRGGBB. | |
| static Color | FromArgb (string str) |
| Converts a string to an AgateLib.Geometry.Color structure. | |
| static bool | operator== (Color clra, Color clrb) |
| Compares two colors to see if they are equal. | |
| static bool | operator!= (Color clra, Color clrb) |
| Compares two colors to see if they are not equal. | |
Public Attributes | |
| byte | a |
| byte | r |
| byte | g |
| byte | b |
| int | argb |
Properties | |
| static Color | AliceBlue [get] |
| Color AliceBlue. 0xf0f8ff. | |
| static Color | AntiqueWhite [get] |
| Color AntiqueWhite. 0xfaebd7. | |
| static Color | Aqua [get] |
| Color Aqua. 0x0ffff. | |
| static Color | Aquamarine [get] |
| Color Aquamarine. 0x7fffd4. | |
| static Color | Azure [get] |
| Color Azure. 0xf0ffff. | |
| static Color | Beige [get] |
| Color Beige. 0xf5f5dc. | |
| static Color | Bisque [get] |
| Color Bisque. 0xffe4c4. | |
| static Color | Black [get] |
| Color Black. 0x000. | |
| static Color | BlanchedAlmond [get] |
| Color BlanchedAlmond. 0xffebcd. | |
| static Color | Blue [get] |
| Color Blue. 0x00ff. | |
| static Color | BlueViolet [get] |
| Color BlueViolet. 0x8a2be2. | |
| static Color | Brown [get] |
| Color Brown. 0xa52a2a. | |
| static Color | BurlyWood [get] |
| Color BurlyWood. 0xdeb887. | |
| static Color | CadetBlue [get] |
| Color CadetBlue. 0x5f9ea0. | |
| static Color | Chartreuse [get] |
| Color Chartreuse. 0x7fff0. | |
| static Color | Chocolate [get] |
| Color Chocolate. 0xd2691e. | |
| static Color | Coral [get] |
| Color Coral. 0xff7f50. | |
| static Color | CornflowerBlue [get] |
| Color CornflowerBlue. 0x6495ed. | |
| static Color | Cornsilk [get] |
| Color Cornsilk. 0xfff8dc. | |
| static Color | Crimson [get] |
| Color Crimson. 0xdc143c. | |
| static Color | Cyan [get] |
| Color Cyan. 0x0ffff. | |
| static Color | DarkBlue [get] |
| Color DarkBlue. 0x008b. | |
| static Color | DarkCyan [get] |
| Color DarkCyan. 0x08b8b. | |
| static Color | DarkGoldenrod [get] |
| Color DarkGoldenrod. 0xb886b. | |
| static Color | DarkGray [get] |
| Color DarkGray. 0xa9a9a9. | |
| static Color | DarkGreen [get] |
| Color DarkGreen. 0x0640. | |
| static Color | DarkKhaki [get] |
| Color DarkKhaki. 0xbdb76b. | |
| static Color | DarkMagenta [get] |
| Color DarkMagenta. 0x8b08b. | |
| static Color | DarkOliveGreen [get] |
| Color DarkOliveGreen. 0x556b2f. | |
| static Color | DarkOrange [get] |
| Color DarkOrange. 0xff8c0. | |
| static Color | DarkOrchid [get] |
| Color DarkOrchid. 0x9932cc. | |
| static Color | DarkRed [get] |
| Color DarkRed. 0x8b00. | |
| static Color | DarkSalmon [get] |
| Color DarkSalmon. 0xe9967a. | |
| static Color | DarkSeaGreen [get] |
| Color DarkSeaGreen. 0x8fbc8b. | |
| static Color | DarkSlateBlue [get] |
| Color DarkSlateBlue. 0x483d8b. | |
| static Color | DarkSlateGray [get] |
| Color DarkSlateGray. 0x2f4f4f. | |
| static Color | DarkTurquoise [get] |
| Color DarkTurquoise. 0x0ced1. | |
| static Color | DarkViolet [get] |
| Color DarkViolet. 0x940d3. | |
| static Color | DeepPink [get] |
| Color DeepPink. 0xff1493. | |
| static Color | DeepSkyBlue [get] |
| Color DeepSkyBlue. 0x0bfff. | |
| static Color | DimGray [get] |
| Color DimGray. 0x696969. | |
| static Color | DodgerBlue [get] |
| Color DodgerBlue. 0x1e90ff. | |
| static Color | Firebrick [get] |
| Color Firebrick. 0xb22222. | |
| static Color | FloralWhite [get] |
| Color FloralWhite. 0xfffaf0. | |
| static Color | ForestGreen [get] |
| Color ForestGreen. 0x228b22. | |
| static Color | Fuchsia [get] |
| Color Fuchsia. 0xff0ff. | |
| static Color | Gainsboro [get] |
| Color Gainsboro. 0xdcdcdc. | |
| static Color | GhostWhite [get] |
| Color GhostWhite. 0xf8f8ff. | |
| static Color | Gold [get] |
| Color Gold. 0xffd70. | |
| static Color | Goldenrod [get] |
| Color Goldenrod. 0xdaa520. | |
| static Color | Gray [get] |
| Color Gray. 0x808080. | |
| static Color | Green [get] |
| Color Green. 0x0800. | |
| static Color | GreenYellow [get] |
| Color GreenYellow. 0xadff2f. | |
| static Color | Honeydew [get] |
| Color Honeydew. 0xf0fff0. | |
| static Color | HotPink [get] |
| Color HotPink. 0xff69b4. | |
| static Color | IndianRed [get] |
| Color IndianRed. 0xcd5c5c. | |
| static Color | Indigo [get] |
| Color Indigo. 0x4b082. | |
| static Color | Ivory [get] |
| Color Ivory. 0xfffff0. | |
| static Color | Khaki [get] |
| Color Khaki. 0xf0e68c. | |
| static Color | Lavender [get] |
| Color Lavender. 0xe6e6fa. | |
| static Color | LavenderBlush [get] |
| Color LavenderBlush. 0xfff0f5. | |
| static Color | LawnGreen [get] |
| Color LawnGreen. 0x7cfc0. | |
| static Color | LemonChiffon [get] |
| Color LemonChiffon. 0xfffacd. | |
| static Color | LightBlue [get] |
| Color LightBlue. 0xadd8e6. | |
| static Color | LightCoral [get] |
| Color LightCoral. 0xf08080. | |
| static Color | LightCyan [get] |
| Color LightCyan. 0xe0ffff. | |
| static Color | LightGoldenrodYellow [get] |
| Color LightGoldenrodYellow. 0xfafad2. | |
| static Color | LightGray [get] |
| Color LightGray. 0xd3d3d3. | |
| static Color | LightGreen [get] |
| Color LightGreen. 0x90ee90. | |
| static Color | LightPink [get] |
| Color LightPink. 0xffb6c1. | |
| static Color | LightSalmon [get] |
| Color LightSalmon. 0xffa07a. | |
| static Color | LightSeaGreen [get] |
| Color LightSeaGreen. 0x20b2aa. | |
| static Color | LightSkyBlue [get] |
| Color LightSkyBlue. 0x87cefa. | |
| static Color | LightSlateGray [get] |
| Color LightSlateGray. 0x778899. | |
| static Color | LightSteelBlue [get] |
| Color LightSteelBlue. 0xb0c4de. | |
| static Color | LightYellow [get] |
| Color LightYellow. 0xffffe0. | |
| static Color | Lime [get] |
| Color Lime. 0x0ff0. | |
| static Color | LimeGreen [get] |
| Color LimeGreen. 0x32cd32. | |
| static Color | Linen [get] |
| Color Linen. 0xfaf0e6. | |
| static Color | Magenta [get] |
| Color Magenta. 0xff0ff. | |
| static Color | Maroon [get] |
| Color Maroon. 0x8000. | |
| static Color | MediumAquamarine [get] |
| Color MediumAquamarine. 0x66cdaa. | |
| static Color | MediumBlue [get] |
| Color MediumBlue. 0x00cd. | |
| static Color | MediumOrchid [get] |
| Color MediumOrchid. 0xba55d3. | |
| static Color | MediumPurple [get] |
| Color MediumPurple. 0x9370db. | |
| static Color | MediumSeaGreen [get] |
| Color MediumSeaGreen. 0x3cb371. | |
| static Color | MediumSlateBlue [get] |
| Color MediumSlateBlue. 0x7b68ee. | |
| static Color | MediumSpringGreen [get] |
| Color MediumSpringGreen. 0x0fa9a. | |
| static Color | MediumTurquoise [get] |
| Color MediumTurquoise. 0x48d1cc. | |
| static Color | MediumVioletRed [get] |
| Color MediumVioletRed. 0xc71585. | |
| static Color | MidnightBlue [get] |
| Color MidnightBlue. 0x191970. | |
| static Color | MintCream [get] |
| Color MintCream. 0xf5fffa. | |
| static Color | MistyRose [get] |
| Color MistyRose. 0xffe4e1. | |
| static Color | Moccasin [get] |
| Color Moccasin. 0xffe4b5. | |
| static Color | NavajoWhite [get] |
| Color NavajoWhite. 0xffdead. | |
| static Color | Navy [get] |
| Color Navy. 0x0080. | |
| static Color | OldLace [get] |
| Color OldLace. 0xfdf5e6. | |
| static Color | Olive [get] |
| Color Olive. 0x80800. | |
| static Color | OliveDrab [get] |
| Color OliveDrab. 0x6b8e23. | |
| static Color | Orange [get] |
| Color Orange. 0xffa50. | |
| static Color | OrangeRed [get] |
| Color OrangeRed. 0xff450. | |
| static Color | Orchid [get] |
| Color Orchid. 0xda70d6. | |
| static Color | PaleGoldenrod [get] |
| Color PaleGoldenrod. 0xeee8aa. | |
| static Color | PaleGreen [get] |
| Color PaleGreen. 0x98fb98. | |
| static Color | PaleTurquoise [get] |
| Color PaleTurquoise. 0xafeeee. | |
| static Color | PaleVioletRed [get] |
| Color PaleVioletRed. 0xdb7093. | |
| static Color | PapayaWhip [get] |
| Color PapayaWhip. 0xffefd5. | |
| static Color | PeachPuff [get] |
| Color PeachPuff. 0xffdab9. | |
| static Color | Peru [get] |
| Color Peru. 0xcd853f. | |
| static Color | Pink [get] |
| Color Pink. 0xffc0cb. | |
| static Color | Plum [get] |
| Color Plum. 0xdda0dd. | |
| static Color | PowderBlue [get] |
| Color PowderBlue. 0xb0e0e6. | |
| static Color | Purple [get] |
| Color Purple. 0x80080. | |
| static Color | Red [get] |
| Color Red. 0xff00. | |
| static Color | RosyBrown [get] |
| Color RosyBrown. 0xbc8f8f. | |
| static Color | RoyalBlue [get] |
| Color RoyalBlue. 0x4169e1. | |
| static Color | SaddleBrown [get] |
| Color SaddleBrown. 0x8b4513. | |
| static Color | Salmon [get] |
| Color Salmon. 0xfa8072. | |
| static Color | SandyBrown [get] |
| Color SandyBrown. 0xf4a460. | |
| static Color | SeaGreen [get] |
| Color SeaGreen. 0x2e8b57. | |
| static Color | SeaShell [get] |
| Color SeaShell. 0xfff5ee. | |
| static Color | Sienna [get] |
| Color Sienna. 0xa0522d. | |
| static Color | Silver [get] |
| Color Silver. 0xc0c0c0. | |
| static Color | SkyBlue [get] |
| Color SkyBlue. 0x87ceeb. | |
| static Color | SlateBlue [get] |
| Color SlateBlue. 0x6a5acd. | |
| static Color | SlateGray [get] |
| Color SlateGray. 0x708090. | |
| static Color | Snow [get] |
| Color Snow. 0xfffafa. | |
| static Color | SpringGreen [get] |
| Color SpringGreen. 0x0ff7f. | |
| static Color | SteelBlue [get] |
| Color SteelBlue. 0x4682b4. | |
| static Color | Tan [get] |
| Color Tan. 0xd2b48c. | |
| static Color | Teal [get] |
| Color Teal. 0x08080. | |
| static Color | Thistle [get] |
| Color Thistle. 0xd8bfd8. | |
| static Color | Tomato [get] |
| Color Tomato. 0xff6347. | |
| static Color | Transparent [get] |
| Color Transparent. 0xffffff. | |
| static Color | Turquoise [get] |
| Color Turquoise. 0x40e0d0. | |
| static Color | Violet [get] |
| Color Violet. 0xee82ee. | |
| static Color | Wheat [get] |
| Color Wheat. 0xf5deb3. | |
| static Color | White [get] |
| Color White. 0xffffff. | |
| static Color | WhiteSmoke [get] |
| Color WhiteSmoke. 0xf5f5f5. | |
| static Color | Yellow [get] |
| Color Yellow. 0xffff0. | |
| static Color | YellowGreen [get] |
| Color YellowGreen. 0x9acd32. | |
| byte | A [get, set] |
| Gets or sets the alpha channel. | |
| byte | R [get, set] |
| Gets or sets the red channel. | |
| byte | G [get, set] |
| Gets or sets the green channel. | |
| byte | B [get, set] |
| Gets or sets the blue channel. | |
| bool AgateLib.Geometry.Color.Equals | ( | Color | clr | ) |
| override bool AgateLib.Geometry.Color.Equals | ( | object | obj | ) |
Checks to see if this is equal to another object.
| obj |
| static Color AgateLib.Geometry.Color.FromArgb | ( | string | str | ) | [static] |
Converts a string to an AgateLib.Geometry.Color structure.
| str | The string to convert. It must be in one of the following formats RRGGBB, AARRGGBB, 0xRRGGBB, 0xAARRGGBB where AA, RR, GG, BB are each a hexidecimal number (such as "ff" or "8B"). |
| static Color AgateLib.Geometry.Color.FromArgb | ( | int | argbvalue | ) | [static] |
Creates a color structure from a 32-bit integer, in the format 0xAARRGGBB.
| argbvalue |
| static Color AgateLib.Geometry.Color.FromArgb | ( | int | a, | |
| int | r, | |||
| int | g, | |||
| int | b | |||
| ) | [static] |
Creates a color structure from a, r, g, b values.
| a | ||
| r | ||
| g | ||
| b |
| static Color AgateLib.Geometry.Color.FromArgb | ( | int | r, | |
| int | g, | |||
| int | b | |||
| ) | [static] |
Creates a color structure from r, g, b values.
| r | ||
| g | ||
| b |
| override int AgateLib.Geometry.Color.GetHashCode | ( | ) |
Returns a unique hashcode.
Compares two colors to see if they are not equal.
| clra | ||
| clrb |
Compares two colors to see if they are equal.
| clra | ||
| clrb |
| int AgateLib.Geometry.Color.ToArgb | ( | ) |
Converts this Color structure to a 32-bit integer in the format 0xAARRGGBB. This is suitable for input to Color.FromArgb to reproduce the color structure.
| override string AgateLib.Geometry.Color.ToString | ( | ) |
Returns a string representing this object.
byte AgateLib.Geometry.Color.A [get, set] |
Gets or sets the alpha channel.
byte AgateLib.Geometry.Color.B [get, set] |
Gets or sets the blue channel.
byte AgateLib.Geometry.Color.G [get, set] |
Gets or sets the green channel.
Color AgateLib.Geometry.Color.LightGoldenrodYellow [static, get] |
Color LightGoldenrodYellow. 0xfafad2.
byte AgateLib.Geometry.Color.R [get, set] |
Gets or sets the red channel.
|
AgateLib Awesome Game and Tool Engine Library |
|