Represents a color. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...

Public Member Functions

ASPOSECPP_SHARED_API Color ()
 Constructs an "empty" instance of Color class that does not represent any color. More...
 
int ToArgb () const
 Returns a 32-bit ARGB value of the color represented by the current object. More...
 
ASPOSECPP_SHARED_API bool get_IsEmpty () const
 Returns a value that indicate if the current object is "empty" i.e. does not represent any color. More...
 
ASPOSECPP_SHARED_API bool get_IsNamedColor () const
 Returns a value that determines whether the Color structure represents a named color or a member of the KnownColor enumeration. More...
 
ASPOSECPP_SHARED_API int get_R () const
 Returns the value of the red component of the color represented by the current object. More...
 
ASPOSECPP_SHARED_API int get_G () const
 Returns the value of the green component of the color represented by the current object. More...
 
ASPOSECPP_SHARED_API int get_B () const
 Returns the value of the blue component of the color represented by the current object. More...
 
ASPOSECPP_SHARED_API int get_A () const
 Returns the value of the alpha component of the color represented by the current object. More...
 
ASPOSECPP_SHARED_API String get_Name () const
 Returns the name of the color represented by the current object. More...
 
ASPOSECPP_SHARED_API float GetBrightness ()
 Returns the brightness component of the color reprsented by the current object. More...
 
ASPOSECPP_SHARED_API int GetHashCode () const
 Returns the hash code of the current object. More...
 
ASPOSECPP_SHARED_API String ToString () const
 Returns the string representation of the current object. More...
 
bool IsNull () const
 Always returns false. More...
 
bool operator== (const std::nullptr_t &r) const
 Always returns false. More...
 
bool operator!= (const std::nullptr_t &r) const
 Always returns true. More...
 
ASPOSECPP_SHARED_API bool Equals (const Color &color) const
 Determines if the current and the specified Color objects represent the same color. More...
 
ASPOSECPP_SHARED_API bool operator== (const Color &r) const
 Determines if the current and the specified Color objects represent the same color. More...
 
ASPOSECPP_SHARED_API bool operator!= (const Color &r) const
 Determines if the current and the specified Color objects represent distinct colors. More...
 

Static Public Member Functions

static ASPOSECPP_SHARED_API Color FromArgb (int argb)
 Constructs an instance of Color class that reprsents the specfied color. More...
 
static ASPOSECPP_SHARED_API Color FromArgb (int alpha, int red, int green, int blue)
 Constructs an instance of Color class that reprsents the specfied color. More...
 
static ASPOSECPP_SHARED_API Color FromArgb (int red, int green, int blue)
 Constructs an instance of Color class that reprsents the specfied color with alpha component set to 0xFF. More...
 
static ASPOSECPP_SHARED_API Color FromArgb (int alpha, Color base_color)
 Constructs an instance of Color class that reprsents the specfied color. More...
 
static ASPOSECPP_SHARED_API Color FromName (const String &name)
 Constructs an instance of Color class that represents a color with the specified name. More...
 
static ASPOSECPP_SHARED_API Color FromKnownColor (KnownColor kc)
 Constructs an instance of Color class that represents the specified known color. More...
 
static ASPOSECPP_SHARED_API Color get_Transparent ()
 Returns a color whose ARGB value in hexadecimal notation is #00FFFFFF. More...
 
static ASPOSECPP_SHARED_API Color get_AliceBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF0F8FF. More...
 
static ASPOSECPP_SHARED_API Color get_AntiqueWhite ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFAEBD7. More...
 
static ASPOSECPP_SHARED_API Color get_Aqua ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00FFFF. More...
 
static ASPOSECPP_SHARED_API Color get_Aquamarine ()
 Returns a color whose ARGB value in hexadecimal notation is #FF7FFFD4. More...
 
static ASPOSECPP_SHARED_API Color get_Azure ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF0FFFF. More...
 
static ASPOSECPP_SHARED_API Color get_Beige ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF5F5DC. More...
 
static ASPOSECPP_SHARED_API Color get_Bisque ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFE4C4. More...
 
static ASPOSECPP_SHARED_API Color get_Black ()
 Returns a color whose ARGB value in hexadecimal notation is #FF000000. More...
 
static ASPOSECPP_SHARED_API Color get_BlanchedAlmond ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFEBCD. More...
 
static ASPOSECPP_SHARED_API Color get_Blue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF0000FF. More...
 
static ASPOSECPP_SHARED_API Color get_BlueViolet ()
 Returns a color whose ARGB value in hexadecimal notation is #FF8A2BE2. More...
 
static ASPOSECPP_SHARED_API Color get_Brown ()
 Returns a color whose ARGB value in hexadecimal notation is #FFA52A2A. More...
 
static ASPOSECPP_SHARED_API Color get_BurlyWood ()
 Returns a color whose ARGB value in hexadecimal notation is #FFDEB887. More...
 
static ASPOSECPP_SHARED_API Color get_CadetBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF5F9EA0. More...
 
static ASPOSECPP_SHARED_API Color get_Chartreuse ()
 Returns a color whose ARGB value in hexadecimal notation is #FF7FFF00. More...
 
static ASPOSECPP_SHARED_API Color get_Chocolate ()
 Returns a color whose ARGB value in hexadecimal notation is #FFD2691E. More...
 
static ASPOSECPP_SHARED_API Color get_Coral ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF7F50. More...
 
static ASPOSECPP_SHARED_API Color get_CornflowerBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF6495ED. More...
 
static ASPOSECPP_SHARED_API Color get_Cornsilk ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFF8DC. More...
 
static ASPOSECPP_SHARED_API Color get_Crimson ()
 Returns a color whose ARGB value in hexadecimal notation is #FFDC143C. More...
 
static ASPOSECPP_SHARED_API Color get_Cyan ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00FFFF. More...
 
static ASPOSECPP_SHARED_API Color get_DarkBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00008B. More...
 
static ASPOSECPP_SHARED_API Color get_DarkCyan ()
 Returns a color whose ARGB value in hexadecimal notation is #FF008B8B. More...
 
static ASPOSECPP_SHARED_API Color get_DarkGoldenrod ()
 Returns a color whose ARGB value in hexadecimal notation is #FFB8860B. More...
 
static ASPOSECPP_SHARED_API Color get_DarkGray ()
 Returns a color whose ARGB value in hexadecimal notation is #FFA9A9A9. More...
 
static ASPOSECPP_SHARED_API Color get_DarkGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF006400. More...
 
static ASPOSECPP_SHARED_API Color get_DarkKhaki ()
 Returns a color whose ARGB value in hexadecimal notation is #FFBDB76B. More...
 
static ASPOSECPP_SHARED_API Color get_DarkMagenta ()
 Returns a color whose ARGB value in hexadecimal notation is #FF8B008B. More...
 
static ASPOSECPP_SHARED_API Color get_DarkOliveGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF556B2F. More...
 
static ASPOSECPP_SHARED_API Color get_DarkOrange ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF8C00. More...
 
static ASPOSECPP_SHARED_API Color get_DarkOrchid ()
 Returns a color whose ARGB value in hexadecimal notation is #FF9932CC. More...
 
static ASPOSECPP_SHARED_API Color get_DarkRed ()
 Returns a color whose ARGB value in hexadecimal notation is #FF8B0000. More...
 
static ASPOSECPP_SHARED_API Color get_DarkSalmon ()
 Returns a color whose ARGB value in hexadecimal notation is #FFE9967A. More...
 
static ASPOSECPP_SHARED_API Color get_DarkSeaGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF8FBC8F. More...
 
static ASPOSECPP_SHARED_API Color get_DarkSlateBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF483D8B. More...
 
static ASPOSECPP_SHARED_API Color get_DarkSlateGray ()
 Returns a color whose ARGB value in hexadecimal notation is #FF2F4F4F. More...
 
static ASPOSECPP_SHARED_API Color get_DarkTurquoise ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00CED1. More...
 
static ASPOSECPP_SHARED_API Color get_DarkViolet ()
 Returns a color whose ARGB value in hexadecimal notation is #FF9400D3. More...
 
static ASPOSECPP_SHARED_API Color get_DeepPink ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF1493. More...
 
static ASPOSECPP_SHARED_API Color get_DeepSkyBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00BFFF. More...
 
static ASPOSECPP_SHARED_API Color get_DimGray ()
 Returns a color whose ARGB value in hexadecimal notation is #FF696969. More...
 
static ASPOSECPP_SHARED_API Color get_DodgerBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF1E90FF. More...
 
static ASPOSECPP_SHARED_API Color get_Firebrick ()
 Returns a color whose ARGB value in hexadecimal notation is #FFB22222. More...
 
static ASPOSECPP_SHARED_API Color get_FloralWhite ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFFAF0. More...
 
static ASPOSECPP_SHARED_API Color get_ForestGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF228B22. More...
 
static ASPOSECPP_SHARED_API Color get_Fuchsia ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF00FF. More...
 
static ASPOSECPP_SHARED_API Color get_Gainsboro ()
 Returns a color whose ARGB value in hexadecimal notation is #FFDCDCDC. More...
 
static ASPOSECPP_SHARED_API Color get_GhostWhite ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF8F8FF. More...
 
static ASPOSECPP_SHARED_API Color get_Gold ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFD700. More...
 
static ASPOSECPP_SHARED_API Color get_Goldenrod ()
 Returns a color whose ARGB value in hexadecimal notation is #FFDAA520. More...
 
static ASPOSECPP_SHARED_API Color get_Gray ()
 Returns a color whose ARGB value in hexadecimal notation is #FF808080. More...
 
static ASPOSECPP_SHARED_API Color get_Green ()
 Returns a color whose ARGB value in hexadecimal notation is #FF008000. More...
 
static ASPOSECPP_SHARED_API Color get_GreenYellow ()
 Returns a color whose ARGB value in hexadecimal notation is #FFADFF2F. More...
 
static ASPOSECPP_SHARED_API Color get_Honeydew ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF0FFF0. More...
 
static ASPOSECPP_SHARED_API Color get_HotPink ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF69B4. More...
 
static ASPOSECPP_SHARED_API Color get_IndianRed ()
 Returns a color whose ARGB value in hexadecimal notation is #FFCD5C5C. More...
 
static ASPOSECPP_SHARED_API Color get_Indigo ()
 Returns a color whose ARGB value in hexadecimal notation is #FF4B0082. More...
 
static ASPOSECPP_SHARED_API Color get_Ivory ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFFFF0. More...
 
static ASPOSECPP_SHARED_API Color get_Khaki ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF0E68C. More...
 
static ASPOSECPP_SHARED_API Color get_Lavender ()
 Returns a color whose ARGB value in hexadecimal notation is #FFE6E6FA. More...
 
static ASPOSECPP_SHARED_API Color get_LavenderBlush ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFF0F5. More...
 
static ASPOSECPP_SHARED_API Color get_LawnGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF7CFC00. More...
 
static ASPOSECPP_SHARED_API Color get_LemonChiffon ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFFACD. More...
 
static ASPOSECPP_SHARED_API Color get_LightBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FFADD8E6. More...
 
static ASPOSECPP_SHARED_API Color get_LightCoral ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF08080. More...
 
static ASPOSECPP_SHARED_API Color get_LightCyan ()
 Returns a color whose ARGB value in hexadecimal notation is #FFE0FFFF. More...
 
static ASPOSECPP_SHARED_API Color get_LightGoldenrodYellow ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFAFAD2. More...
 
static ASPOSECPP_SHARED_API Color get_LightGray ()
 Returns a color whose ARGB value in hexadecimal notation is #FFD3D3D3. More...
 
static ASPOSECPP_SHARED_API Color get_LightGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF90EE90. More...
 
static ASPOSECPP_SHARED_API Color get_LightPink ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFB6C1. More...
 
static ASPOSECPP_SHARED_API Color get_LightSalmon ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFA07A. More...
 
static ASPOSECPP_SHARED_API Color get_LightSeaGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF20B2AA. More...
 
static ASPOSECPP_SHARED_API Color get_LightSkyBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF87CEFA. More...
 
static ASPOSECPP_SHARED_API Color get_LightSlateGray ()
 Returns a color whose ARGB value in hexadecimal notation is #FF778899. More...
 
static ASPOSECPP_SHARED_API Color get_LightSteelBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FFB0C4DE. More...
 
static ASPOSECPP_SHARED_API Color get_LightYellow ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFFFE0. More...
 
static ASPOSECPP_SHARED_API Color get_Lime ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00FF00. More...
 
static ASPOSECPP_SHARED_API Color get_LimeGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF32CD32. More...
 
static ASPOSECPP_SHARED_API Color get_Linen ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFAF0E6. More...
 
static ASPOSECPP_SHARED_API Color get_Magenta ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF00FF. More...
 
static ASPOSECPP_SHARED_API Color get_Maroon ()
 Returns a color whose ARGB value in hexadecimal notation is #FF800000. More...
 
static ASPOSECPP_SHARED_API Color get_MediumAquamarine ()
 Returns a color whose ARGB value in hexadecimal notation is #FF66CDAA. More...
 
static ASPOSECPP_SHARED_API Color get_MediumBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF0000CD. More...
 
static ASPOSECPP_SHARED_API Color get_MediumOrchid ()
 Returns a color whose ARGB value in hexadecimal notation is #FFBA55D3. More...
 
static ASPOSECPP_SHARED_API Color get_MediumPurple ()
 Returns a color whose ARGB value in hexadecimal notation is #FF9370DB. More...
 
static ASPOSECPP_SHARED_API Color get_MediumSeaGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF3CB371. More...
 
static ASPOSECPP_SHARED_API Color get_MediumSlateBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF7B68EE. More...
 
static ASPOSECPP_SHARED_API Color get_MediumSpringGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00FA9A. More...
 
static ASPOSECPP_SHARED_API Color get_MediumTurquoise ()
 Returns a color whose ARGB value in hexadecimal notation is #FF48D1CC. More...
 
static ASPOSECPP_SHARED_API Color get_MediumVioletRed ()
 Returns a color whose ARGB value in hexadecimal notation is #FFC71585. More...
 
static ASPOSECPP_SHARED_API Color get_MidnightBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF191970. More...
 
static ASPOSECPP_SHARED_API Color get_MintCream ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF5FFFA. More...
 
static ASPOSECPP_SHARED_API Color get_MistyRose ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFE4E1. More...
 
static ASPOSECPP_SHARED_API Color get_Moccasin ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFE4B5. More...
 
static ASPOSECPP_SHARED_API Color get_NavajoWhite ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFDEAD. More...
 
static ASPOSECPP_SHARED_API Color get_Navy ()
 Returns a color whose ARGB value in hexadecimal notation is #FF000080. More...
 
static ASPOSECPP_SHARED_API Color get_OldLace ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFDF5E6. More...
 
static ASPOSECPP_SHARED_API Color get_Olive ()
 Returns a color whose ARGB value in hexadecimal notation is #FF808000. More...
 
static ASPOSECPP_SHARED_API Color get_OliveDrab ()
 Returns a color whose ARGB value in hexadecimal notation is #FF6B8E23. More...
 
static ASPOSECPP_SHARED_API Color get_Orange ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFA500. More...
 
static ASPOSECPP_SHARED_API Color get_OrangeRed ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF4500. More...
 
static ASPOSECPP_SHARED_API Color get_Orchid ()
 Returns a color whose ARGB value in hexadecimal notation is #FFDA70D6. More...
 
static ASPOSECPP_SHARED_API Color get_PaleGoldenrod ()
 Returns a color whose ARGB value in hexadecimal notation is #FFEEE8AA. More...
 
static ASPOSECPP_SHARED_API Color get_PaleGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF98FB98. More...
 
static ASPOSECPP_SHARED_API Color get_PaleTurquoise ()
 Returns a color whose ARGB value in hexadecimal notation is #FFAFEEEE. More...
 
static ASPOSECPP_SHARED_API Color get_PaleVioletRed ()
 Returns a color whose ARGB value in hexadecimal notation is #FFDB7093. More...
 
static ASPOSECPP_SHARED_API Color get_PapayaWhip ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFEFD5. More...
 
static ASPOSECPP_SHARED_API Color get_PeachPuff ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFDAB9. More...
 
static ASPOSECPP_SHARED_API Color get_Peru ()
 Returns a color whose ARGB value in hexadecimal notation is #FFCD853F. More...
 
static ASPOSECPP_SHARED_API Color get_Pink ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFC0CB. More...
 
static ASPOSECPP_SHARED_API Color get_Plum ()
 Returns a color whose ARGB value in hexadecimal notation is #FFDDA0DD. More...
 
static ASPOSECPP_SHARED_API Color get_PowderBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FFB0E0E6. More...
 
static ASPOSECPP_SHARED_API Color get_Purple ()
 Returns a color whose ARGB value in hexadecimal notation is #FF800080. More...
 
static ASPOSECPP_SHARED_API Color get_Red ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF0000. More...
 
static ASPOSECPP_SHARED_API Color get_RosyBrown ()
 Returns a color whose ARGB value in hexadecimal notation is #FFBC8F8F. More...
 
static ASPOSECPP_SHARED_API Color get_RoyalBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF4169E1. More...
 
static ASPOSECPP_SHARED_API Color get_SaddleBrown ()
 Returns a color whose ARGB value in hexadecimal notation is #FF8B4513. More...
 
static ASPOSECPP_SHARED_API Color get_Salmon ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFA8072. More...
 
static ASPOSECPP_SHARED_API Color get_SandyBrown ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF4A460. More...
 
static ASPOSECPP_SHARED_API Color get_SeaGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF2E8B57. More...
 
static ASPOSECPP_SHARED_API Color get_SeaShell ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFF5EE. More...
 
static ASPOSECPP_SHARED_API Color get_Sienna ()
 Returns a color whose ARGB value in hexadecimal notation is #FFA0522D. More...
 
static ASPOSECPP_SHARED_API Color get_Silver ()
 Returns a color whose ARGB value in hexadecimal notation is #FFC0C0C0. More...
 
static ASPOSECPP_SHARED_API Color get_SkyBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF87CEEB. More...
 
static ASPOSECPP_SHARED_API Color get_SlateBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF6A5ACD. More...
 
static ASPOSECPP_SHARED_API Color get_SlateGray ()
 Returns a color whose ARGB value in hexadecimal notation is #FF708090. More...
 
static ASPOSECPP_SHARED_API Color get_Snow ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFFAFA. More...
 
static ASPOSECPP_SHARED_API Color get_SpringGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF00FF7F. More...
 
static ASPOSECPP_SHARED_API Color get_SteelBlue ()
 Returns a color whose ARGB value in hexadecimal notation is #FF4682B4. More...
 
static ASPOSECPP_SHARED_API Color get_Tan ()
 Returns a color whose ARGB value in hexadecimal notation is #FFD2B48C. More...
 
static ASPOSECPP_SHARED_API Color get_Teal ()
 Returns a color whose ARGB value in hexadecimal notation is #FF008080. More...
 
static ASPOSECPP_SHARED_API Color get_Thistle ()
 Returns a color whose ARGB value in hexadecimal notation is #FFD8BFD8. More...
 
static ASPOSECPP_SHARED_API Color get_Tomato ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFF6347. More...
 
static ASPOSECPP_SHARED_API Color get_Turquoise ()
 Returns a color whose ARGB value in hexadecimal notation is #FF40E0D0. More...
 
static ASPOSECPP_SHARED_API Color get_Violet ()
 Returns a color whose ARGB value in hexadecimal notation is #FFEE82EE. More...
 
static ASPOSECPP_SHARED_API Color get_Wheat ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF5DEB3. More...
 
static ASPOSECPP_SHARED_API Color get_White ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFFFFF. More...
 
static ASPOSECPP_SHARED_API Color get_WhiteSmoke ()
 Returns a color whose ARGB value in hexadecimal notation is #FFF5F5F5. More...
 
static ASPOSECPP_SHARED_API Color get_Yellow ()
 Returns a color whose ARGB value in hexadecimal notation is #FFFFFF00. More...
 
static ASPOSECPP_SHARED_API Color get_YellowGreen ()
 Returns a color whose ARGB value in hexadecimal notation is #FF9ACD32. More...
 

Static Public Attributes

static ASPOSECPP_SHARED_API const Color Empty
 An "empty" instance of Color class i.e. an instance that does not represent any color. More...
 

Detailed Description

Represents a color. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.

Constructor & Destructor Documentation

◆ Color()

ASPOSECPP_SHARED_API System::Drawing::Color::Color ( )

Constructs an "empty" instance of Color class that does not represent any color.

Member Function Documentation

◆ Equals()

ASPOSECPP_SHARED_API bool System::Drawing::Color::Equals ( const Color color) const

Determines if the current and the specified Color objects represent the same color.

Parameters
colorThe Color object to compare the current object with
Returns
True if both the current and the specified objects represent the same color, otherwise - false

◆ FromArgb() [1/4]

static ASPOSECPP_SHARED_API Color System::Drawing::Color::FromArgb ( int  argb)
static

Constructs an instance of Color class that reprsents the specfied color.

Parameters
argbA 32-bit ARGB value of the color to be represented by the object being constructed
Returns
An object that represents the specified color.

◆ FromArgb() [2/4]

static ASPOSECPP_SHARED_API Color System::Drawing::Color::FromArgb ( int  alpha,
int  red,
int  green,
int  blue 
)
static

Constructs an instance of Color class that reprsents the specfied color.

Parameters
alphaA value of the alpah component of the color
redA value of the red component of the color
greenA value of the green component of the color
blueA value of the blue component of the color
Returns
An object that represents the specified color.

◆ FromArgb() [3/4]

static ASPOSECPP_SHARED_API Color System::Drawing::Color::FromArgb ( int  red,
int  green,
int  blue 
)
static

Constructs an instance of Color class that reprsents the specfied color with alpha component set to 0xFF.

Parameters
redA value of the red component of the color
greenA value of the green component of the color
blueA value of the blue component of the color
Returns
An object that represents the specified color.

◆ FromArgb() [4/4]

static ASPOSECPP_SHARED_API Color System::Drawing::Color::FromArgb ( int  alpha,
Color  base_color 
)
static

Constructs an instance of Color class that reprsents the specfied color.

Parameters
alphaA value of the alpah component of the color
base_colorAn instance of Color object that represents the red, green and blue components of the color to be represented by the object being created
Returns
An object that represents the specified color.

◆ FromKnownColor()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::FromKnownColor ( KnownColor  kc)
static

Constructs an instance of Color class that represents the specified known color.

Parameters
kcA known color to be represented by the object being created
Returns
An instance of Color class that represents kc color

◆ FromName()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::FromName ( const String name)
static

Constructs an instance of Color class that represents a color with the specified name.

Parameters
nameThe name of the color
Returns
An instance of Color class that represents a color named name

◆ get_A()

ASPOSECPP_SHARED_API int System::Drawing::Color::get_A ( ) const

Returns the value of the alpha component of the color represented by the current object.

◆ get_AliceBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_AliceBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF0F8FF.

◆ get_AntiqueWhite()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_AntiqueWhite ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFAEBD7.

◆ get_Aqua()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Aqua ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00FFFF.

◆ get_Aquamarine()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Aquamarine ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF7FFFD4.

◆ get_Azure()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Azure ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF0FFFF.

◆ get_B()

ASPOSECPP_SHARED_API int System::Drawing::Color::get_B ( ) const

Returns the value of the blue component of the color represented by the current object.

◆ get_Beige()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Beige ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF5F5DC.

◆ get_Bisque()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Bisque ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFE4C4.

◆ get_Black()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Black ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF000000.

◆ get_BlanchedAlmond()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_BlanchedAlmond ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFEBCD.

◆ get_Blue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Blue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF0000FF.

◆ get_BlueViolet()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_BlueViolet ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF8A2BE2.

◆ get_Brown()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Brown ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFA52A2A.

◆ get_BurlyWood()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_BurlyWood ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFDEB887.

◆ get_CadetBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_CadetBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF5F9EA0.

◆ get_Chartreuse()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Chartreuse ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF7FFF00.

◆ get_Chocolate()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Chocolate ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFD2691E.

◆ get_Coral()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Coral ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF7F50.

◆ get_CornflowerBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_CornflowerBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF6495ED.

◆ get_Cornsilk()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Cornsilk ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFF8DC.

◆ get_Crimson()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Crimson ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFDC143C.

◆ get_Cyan()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Cyan ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00FFFF.

◆ get_DarkBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00008B.

◆ get_DarkCyan()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkCyan ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF008B8B.

◆ get_DarkGoldenrod()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkGoldenrod ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFB8860B.

◆ get_DarkGray()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkGray ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFA9A9A9.

◆ get_DarkGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF006400.

◆ get_DarkKhaki()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkKhaki ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFBDB76B.

◆ get_DarkMagenta()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkMagenta ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF8B008B.

◆ get_DarkOliveGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkOliveGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF556B2F.

◆ get_DarkOrange()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkOrange ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF8C00.

◆ get_DarkOrchid()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkOrchid ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF9932CC.

◆ get_DarkRed()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkRed ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF8B0000.

◆ get_DarkSalmon()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkSalmon ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFE9967A.

◆ get_DarkSeaGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkSeaGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF8FBC8F.

◆ get_DarkSlateBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkSlateBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF483D8B.

◆ get_DarkSlateGray()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkSlateGray ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF2F4F4F.

◆ get_DarkTurquoise()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkTurquoise ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00CED1.

◆ get_DarkViolet()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DarkViolet ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF9400D3.

◆ get_DeepPink()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DeepPink ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF1493.

◆ get_DeepSkyBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DeepSkyBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00BFFF.

◆ get_DimGray()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DimGray ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF696969.

◆ get_DodgerBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_DodgerBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF1E90FF.

◆ get_Firebrick()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Firebrick ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFB22222.

◆ get_FloralWhite()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_FloralWhite ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFFAF0.

◆ get_ForestGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_ForestGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF228B22.

◆ get_Fuchsia()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Fuchsia ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF00FF.

◆ get_G()

ASPOSECPP_SHARED_API int System::Drawing::Color::get_G ( ) const

Returns the value of the green component of the color represented by the current object.

◆ get_Gainsboro()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Gainsboro ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFDCDCDC.

◆ get_GhostWhite()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_GhostWhite ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF8F8FF.

◆ get_Gold()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Gold ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFD700.

◆ get_Goldenrod()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Goldenrod ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFDAA520.

◆ get_Gray()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Gray ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF808080.

◆ get_Green()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Green ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF008000.

◆ get_GreenYellow()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_GreenYellow ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFADFF2F.

◆ get_Honeydew()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Honeydew ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF0FFF0.

◆ get_HotPink()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_HotPink ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF69B4.

◆ get_IndianRed()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_IndianRed ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFCD5C5C.

◆ get_Indigo()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Indigo ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF4B0082.

◆ get_IsEmpty()

ASPOSECPP_SHARED_API bool System::Drawing::Color::get_IsEmpty ( ) const

Returns a value that indicate if the current object is "empty" i.e. does not represent any color.

Returns
True if the current object does not represent any color, otherwise - false

◆ get_IsNamedColor()

ASPOSECPP_SHARED_API bool System::Drawing::Color::get_IsNamedColor ( ) const

Returns a value that determines whether the Color structure represents a named color or a member of the KnownColor enumeration.

Returns
True if the Color was created using either the FromName(String) method or the FromKnownColor(KnownColor) method; otherwise, it returns false.

◆ get_Ivory()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Ivory ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFFFF0.

◆ get_Khaki()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Khaki ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF0E68C.

◆ get_Lavender()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Lavender ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFE6E6FA.

◆ get_LavenderBlush()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LavenderBlush ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFF0F5.

◆ get_LawnGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LawnGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF7CFC00.

◆ get_LemonChiffon()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LemonChiffon ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFFACD.

◆ get_LightBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFADD8E6.

◆ get_LightCoral()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightCoral ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF08080.

◆ get_LightCyan()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightCyan ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFE0FFFF.

◆ get_LightGoldenrodYellow()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightGoldenrodYellow ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFAFAD2.

◆ get_LightGray()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightGray ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFD3D3D3.

◆ get_LightGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF90EE90.

◆ get_LightPink()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightPink ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFB6C1.

◆ get_LightSalmon()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightSalmon ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFA07A.

◆ get_LightSeaGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightSeaGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF20B2AA.

◆ get_LightSkyBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightSkyBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF87CEFA.

◆ get_LightSlateGray()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightSlateGray ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF778899.

◆ get_LightSteelBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightSteelBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFB0C4DE.

◆ get_LightYellow()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LightYellow ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFFFE0.

◆ get_Lime()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Lime ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00FF00.

◆ get_LimeGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_LimeGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF32CD32.

◆ get_Linen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Linen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFAF0E6.

◆ get_Magenta()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Magenta ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF00FF.

◆ get_Maroon()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Maroon ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF800000.

◆ get_MediumAquamarine()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumAquamarine ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF66CDAA.

◆ get_MediumBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF0000CD.

◆ get_MediumOrchid()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumOrchid ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFBA55D3.

◆ get_MediumPurple()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumPurple ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF9370DB.

◆ get_MediumSeaGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumSeaGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF3CB371.

◆ get_MediumSlateBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumSlateBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF7B68EE.

◆ get_MediumSpringGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumSpringGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00FA9A.

◆ get_MediumTurquoise()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumTurquoise ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF48D1CC.

◆ get_MediumVioletRed()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MediumVioletRed ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFC71585.

◆ get_MidnightBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MidnightBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF191970.

◆ get_MintCream()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MintCream ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF5FFFA.

◆ get_MistyRose()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_MistyRose ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFE4E1.

◆ get_Moccasin()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Moccasin ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFE4B5.

◆ get_Name()

ASPOSECPP_SHARED_API String System::Drawing::Color::get_Name ( ) const

Returns the name of the color represented by the current object.

◆ get_NavajoWhite()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_NavajoWhite ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFDEAD.

◆ get_Navy()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Navy ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF000080.

◆ get_OldLace()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_OldLace ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFDF5E6.

◆ get_Olive()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Olive ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF808000.

◆ get_OliveDrab()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_OliveDrab ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF6B8E23.

◆ get_Orange()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Orange ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFA500.

◆ get_OrangeRed()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_OrangeRed ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF4500.

◆ get_Orchid()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Orchid ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFDA70D6.

◆ get_PaleGoldenrod()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_PaleGoldenrod ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFEEE8AA.

◆ get_PaleGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_PaleGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF98FB98.

◆ get_PaleTurquoise()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_PaleTurquoise ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFAFEEEE.

◆ get_PaleVioletRed()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_PaleVioletRed ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFDB7093.

◆ get_PapayaWhip()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_PapayaWhip ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFEFD5.

◆ get_PeachPuff()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_PeachPuff ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFDAB9.

◆ get_Peru()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Peru ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFCD853F.

◆ get_Pink()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Pink ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFC0CB.

◆ get_Plum()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Plum ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFDDA0DD.

◆ get_PowderBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_PowderBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFB0E0E6.

◆ get_Purple()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Purple ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF800080.

◆ get_R()

ASPOSECPP_SHARED_API int System::Drawing::Color::get_R ( ) const

Returns the value of the red component of the color represented by the current object.

◆ get_Red()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Red ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF0000.

◆ get_RosyBrown()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_RosyBrown ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFBC8F8F.

◆ get_RoyalBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_RoyalBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF4169E1.

◆ get_SaddleBrown()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SaddleBrown ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF8B4513.

◆ get_Salmon()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Salmon ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFA8072.

◆ get_SandyBrown()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SandyBrown ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF4A460.

◆ get_SeaGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SeaGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF2E8B57.

◆ get_SeaShell()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SeaShell ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFF5EE.

◆ get_Sienna()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Sienna ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFA0522D.

◆ get_Silver()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Silver ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFC0C0C0.

◆ get_SkyBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SkyBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF87CEEB.

◆ get_SlateBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SlateBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF6A5ACD.

◆ get_SlateGray()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SlateGray ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF708090.

◆ get_Snow()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Snow ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFFAFA.

◆ get_SpringGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SpringGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF00FF7F.

◆ get_SteelBlue()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_SteelBlue ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF4682B4.

◆ get_Tan()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Tan ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFD2B48C.

◆ get_Teal()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Teal ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF008080.

◆ get_Thistle()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Thistle ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFD8BFD8.

◆ get_Tomato()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Tomato ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFF6347.

◆ get_Transparent()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Transparent ( )
static

Returns a color whose ARGB value in hexadecimal notation is #00FFFFFF.

◆ get_Turquoise()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Turquoise ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF40E0D0.

◆ get_Violet()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Violet ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFEE82EE.

◆ get_Wheat()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Wheat ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF5DEB3.

◆ get_White()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_White ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFFFFF.

◆ get_WhiteSmoke()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_WhiteSmoke ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFF5F5F5.

◆ get_Yellow()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_Yellow ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FFFFFF00.

◆ get_YellowGreen()

static ASPOSECPP_SHARED_API Color System::Drawing::Color::get_YellowGreen ( )
static

Returns a color whose ARGB value in hexadecimal notation is #FF9ACD32.

◆ GetBrightness()

ASPOSECPP_SHARED_API float System::Drawing::Color::GetBrightness ( )

Returns the brightness component of the color reprsented by the current object.

◆ GetHashCode()

ASPOSECPP_SHARED_API int System::Drawing::Color::GetHashCode ( ) const

Returns the hash code of the current object.

◆ IsNull()

bool System::Drawing::Color::IsNull ( ) const
inline

Always returns false.

◆ operator!=() [1/2]

bool System::Drawing::Color::operator!= ( const std::nullptr_t &  r) const
inline

Always returns true.

◆ operator!=() [2/2]

ASPOSECPP_SHARED_API bool System::Drawing::Color::operator!= ( const Color r) const

Determines if the current and the specified Color objects represent distinct colors.

Parameters
rThe Color object to compare the current object with
Returns
True if the current and the specified objects represent distinct colors, otherwise - false

◆ operator==() [1/2]

bool System::Drawing::Color::operator== ( const std::nullptr_t &  r) const
inline

Always returns false.

◆ operator==() [2/2]

ASPOSECPP_SHARED_API bool System::Drawing::Color::operator== ( const Color r) const

Determines if the current and the specified Color objects represent the same color.

Parameters
rThe Color object to compare the current object with
Returns
True if both the current and the specified objects represent the same color, otherwise - false

◆ ToArgb()

int System::Drawing::Color::ToArgb ( ) const
inline

Returns a 32-bit ARGB value of the color represented by the current object.

◆ ToString()

ASPOSECPP_SHARED_API String System::Drawing::Color::ToString ( ) const

Returns the string representation of the current object.

Member Data Documentation

◆ Empty

ASPOSECPP_SHARED_API const Color System::Drawing::Color::Empty
static

An "empty" instance of Color class i.e. an instance that does not represent any color.