Represents an ARGB (alpha, red, green, blue) color. More...

#include "Color.h"

Inherits System::Object, and System::Details::BoxableObjectBase.

Public Member Functions

uint8_t get_R ()
 Gets the red component value of this T:Aspose::Page::Drawing::Color structure.
 
uint8_t get_G ()
 Gets the green component value of this T:Aspose::Page::Drawing::Color structure.
 
uint8_t get_B ()
 Gets the blue component value of this T:Aspose::Page::Drawing::Color structure.
 
uint8_t get_A ()
 Gets the alpha component value of this T:Aspose::Page::Drawing::Color structure.
 
bool get_IsEmpty ()
 Specifies whether this T:Aspose::Page::Drawing::Color structure is uninitialized.
 
bool get_IsNamedColor ()
 Gets a value indicating whether this T:Aspose::Page::Drawing::Color structure is a named color or a member of the T:System::Drawing::KnownColor enumeration.
 
System::String get_Name ()
 Gets the name of this T:Aspose::Page::Drawing::Color.
 
float GetBrightness ()
 Gets the hue-saturation-brightness (HSB) brightness value for this T:Aspose::Page::Drawing::Color structure.
 
float GetHue ()
 Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this T:Aspose::Page::Drawing::Color structure.
 
float GetSaturation ()
 Gets the hue-saturation-brightness (HSB) saturation value for this T:Aspose::Page::Drawing::Color structure.
 
int32_t ToArgb ()
 Gets the 32-bit ARGB value of this T:Aspose::Page::Drawing::Color structure.
 
System::SharedPtr< System::ObjectClone ()
 Clones this Aspose.Page.Drawing.Color.
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Tests whether the specified object is a T:Aspose::Page::Drawing::Color structure and is equivalent to this T:Aspose::Page::Drawing::Color structure.
 
int32_t GetHashCode () const override
 Returns a hash code for this T:Aspose::Page::Drawing::Color structure.
 
 Color ()
 
System::String ToString () const override
 Converts this T:Aspose::Page::Drawing::Color structure to a human-readable string.
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures.
 
virtual ~Object ()
 Destroys object. Frees all internal data structures.
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses.
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses.
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value.
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object.
 
int SharedCount () const
 Gets current value of shared reference counter.
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object.
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics.
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types.
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call.
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator.
 
virtual void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only.
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr.
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings.
 

Static Public Member Functions

static Color get_Transparent ()
 Gets a system-defined color.
 
static Color get_AliceBlue ()
 Gets a system-defined color that has an ARGB value of #FFF0F8FF.
 
static Color get_AntiqueWhite ()
 Gets a system-defined color that has an ARGB value of #FFFAEBD7.
 
static Color get_Aqua ()
 Gets a system-defined color that has an ARGB value of #FF00FFFF.
 
static Color get_Aquamarine ()
 Gets a system-defined color that has an ARGB value of #FF7FFFD4.
 
static Color get_Azure ()
 Gets a system-defined color that has an ARGB value of #FFF0FFFF.
 
static Color get_Beige ()
 Gets a system-defined color that has an ARGB value of #FFF5F5DC.
 
static Color get_Bisque ()
 Gets a system-defined color that has an ARGB value of #FFFFE4C4.
 
static Color get_Black ()
 Gets a system-defined color that has an ARGB value of #FF000000.
 
static Color get_BlanchedAlmond ()
 Gets a system-defined color that has an ARGB value of #FFFFEBCD.
 
static Color get_Blue ()
 Gets a system-defined color that has an ARGB value of #FF0000FF.
 
static Color get_BlueViolet ()
 Gets a system-defined color that has an ARGB value of #FF8A2BE2.
 
static Color get_Brown ()
 Gets a system-defined color that has an ARGB value of #FFA52A2A.
 
static Color get_BurlyWood ()
 Gets a system-defined color that has an ARGB value of #FFDEB887.
 
static Color get_CadetBlue ()
 Gets a system-defined color that has an ARGB value of #FF5F9EA0.
 
static Color get_Chartreuse ()
 Gets a system-defined color that has an ARGB value of #FF7FFF00.
 
static Color get_Chocolate ()
 Gets a system-defined color that has an ARGB value of #FFD2691E.
 
static Color get_Coral ()
 Gets a system-defined color that has an ARGB value of #FFFF7F50.
 
static Color get_CornflowerBlue ()
 Gets a system-defined color that has an ARGB value of #FF6495ED.
 
static Color get_Cornsilk ()
 Gets a system-defined color that has an ARGB value of #FFFFF8DC.
 
static Color get_Crimson ()
 Gets a system-defined color that has an ARGB value of #FFDC143C.
 
static Color get_Cyan ()
 Gets a system-defined color that has an ARGB value of #FF00FFFF.
 
static Color get_DarkBlue ()
 Gets a system-defined color that has an ARGB value of #FF00008B.
 
static Color get_DarkCyan ()
 Gets a system-defined color that has an ARGB value of #FF008B8B.
 
static Color get_DarkGoldenrod ()
 Gets a system-defined color that has an ARGB value of #FFB8860B.
 
static Color get_DarkGray ()
 Gets a system-defined color that has an ARGB value of #FFA9A9A9.
 
static Color get_DarkGreen ()
 Gets a system-defined color that has an ARGB value of #FF006400.
 
static Color get_DarkKhaki ()
 Gets a system-defined color that has an ARGB value of #FFBDB76B.
 
static Color get_DarkMagenta ()
 Gets a system-defined color that has an ARGB value of #FF8B008B.
 
static Color get_DarkOliveGreen ()
 Gets a system-defined color that has an ARGB value of #FF556B2F.
 
static Color get_DarkOrange ()
 Gets a system-defined color that has an ARGB value of #FFFF8C00.
 
static Color get_DarkOrchid ()
 Gets a system-defined color that has an ARGB value of #FF9932CC.
 
static Color get_DarkRed ()
 Gets a system-defined color that has an ARGB value of #FF8B0000.
 
static Color get_DarkSalmon ()
 Gets a system-defined color that has an ARGB value of #FFE9967A.
 
static Color get_DarkSeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF8FBC8F.
 
static Color get_DarkSlateBlue ()
 Gets a system-defined color that has an ARGB value of #FF483D8B.
 
static Color get_DarkSlateGray ()
 Gets a system-defined color that has an ARGB value of #FF2F4F4F.
 
static Color get_DarkTurquoise ()
 Gets a system-defined color that has an ARGB value of #FF00CED1.
 
static Color get_DarkViolet ()
 Gets a system-defined color that has an ARGB value of #FF9400D3.
 
static Color get_DeepPink ()
 Gets a system-defined color that has an ARGB value of #FFFF1493.
 
static Color get_DeepSkyBlue ()
 Gets a system-defined color that has an ARGB value of #FF00BFFF.
 
static Color get_DimGray ()
 Gets a system-defined color that has an ARGB value of #FF696969.
 
static Color get_DodgerBlue ()
 Gets a system-defined color that has an ARGB value of #FF1E90FF.
 
static Color get_Firebrick ()
 Gets a system-defined color that has an ARGB value of #FFB22222.
 
static Color get_FloralWhite ()
 Gets a system-defined color that has an ARGB value of #FFFFFAF0.
 
static Color get_ForestGreen ()
 Gets a system-defined color that has an ARGB value of #FF228B22.
 
static Color get_Fuchsia ()
 Gets a system-defined color that has an ARGB value of #FFFF00FF.
 
static Color get_Gainsboro ()
 Gets a system-defined color that has an ARGB value of #FFDCDCDC.
 
static Color get_GhostWhite ()
 Gets a system-defined color that has an ARGB value of #FFF8F8FF.
 
static Color get_Gold ()
 Gets a system-defined color that has an ARGB value of #FFFFD700.
 
static Color get_Goldenrod ()
 Gets a system-defined color that has an ARGB value of #FFDAA520.
 
static Color get_Gray ()
 Gets a system-defined color that has an ARGB value of #FF808080.
 
static Color get_Green ()
 Gets a system-defined color that has an ARGB value of #FF008000.
 
static Color get_GreenYellow ()
 Gets a system-defined color that has an ARGB value of #FFADFF2F.
 
static Color get_Honeydew ()
 Gets a system-defined color that has an ARGB value of #FFF0FFF0.
 
static Color get_HotPink ()
 Gets a system-defined color that has an ARGB value of #FFFF69B4.
 
static Color get_IndianRed ()
 Gets a system-defined color that has an ARGB value of #FFCD5C5C.
 
static Color get_Indigo ()
 Gets a system-defined color that has an ARGB value of #FF4B0082.
 
static Color get_Ivory ()
 Gets a system-defined color that has an ARGB value of #FFFFFFF0.
 
static Color get_Khaki ()
 Gets a system-defined color that has an ARGB value of #FFF0E68C.
 
static Color get_Lavender ()
 Gets a system-defined color that has an ARGB value of #FFE6E6FA.
 
static Color get_LavenderBlush ()
 Gets a system-defined color that has an ARGB value of #FFFFF0F5.
 
static Color get_LawnGreen ()
 Gets a system-defined color that has an ARGB value of #FF7CFC00.
 
static Color get_LemonChiffon ()
 Gets a system-defined color that has an ARGB value of #FFFFFACD.
 
static Color get_LightBlue ()
 Gets a system-defined color that has an ARGB value of #FFADD8E6.
 
static Color get_LightCoral ()
 Gets a system-defined color that has an ARGB value of #FFF08080.
 
static Color get_LightCyan ()
 Gets a system-defined color that has an ARGB value of #FFE0FFFF.
 
static Color get_LightGoldenrodYellow ()
 Gets a system-defined color that has an ARGB value of #FFFAFAD2.
 
static Color get_LightGreen ()
 Gets a system-defined color that has an ARGB value of #FF90EE90.
 
static Color get_LightGray ()
 Gets a system-defined color that has an ARGB value of #FFD3D3D3.
 
static Color get_LightPink ()
 Gets a system-defined color that has an ARGB value of #FFFFB6C1.
 
static Color get_LightSalmon ()
 Gets a system-defined color that has an ARGB value of #FFFFA07A.
 
static Color get_LightSeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF20B2AA.
 
static Color get_LightSkyBlue ()
 Gets a system-defined color that has an ARGB value of #FF87CEFA.
 
static Color get_LightSlateGray ()
 Gets a system-defined color that has an ARGB value of #FF778899.
 
static Color get_LightSteelBlue ()
 Gets a system-defined color that has an ARGB value of #FFB0C4DE.
 
static Color get_LightYellow ()
 Gets a system-defined color that has an ARGB value of #FFFFFFE0.
 
static Color get_Lime ()
 Gets a system-defined color that has an ARGB value of #FF00FF00.
 
static Color get_LimeGreen ()
 Gets a system-defined color that has an ARGB value of #FF32CD32.
 
static Color get_Linen ()
 Gets a system-defined color that has an ARGB value of #FFFAF0E6.
 
static Color get_Magenta ()
 Gets a system-defined color that has an ARGB value of #FFFF00FF.
 
static Color get_Maroon ()
 Gets a system-defined color that has an ARGB value of #FF800000.
 
static Color get_MediumAquamarine ()
 Gets a system-defined color that has an ARGB value of #FF66CDAA.
 
static Color get_MediumBlue ()
 Gets a system-defined color that has an ARGB value of #FF0000CD.
 
static Color get_MediumOrchid ()
 Gets a system-defined color that has an ARGB value of #FFBA55D3.
 
static Color get_MediumPurple ()
 Gets a system-defined color that has an ARGB value of #FF9370DB.
 
static Color get_MediumSeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF3CB371.
 
static Color get_MediumSlateBlue ()
 Gets a system-defined color that has an ARGB value of #FF7B68EE.
 
static Color get_MediumSpringGreen ()
 Gets a system-defined color that has an ARGB value of #FF00FA9A.
 
static Color get_MediumTurquoise ()
 Gets a system-defined color that has an ARGB value of #FF48D1CC.
 
static Color get_MediumVioletRed ()
 Gets a system-defined color that has an ARGB value of #FFC71585.
 
static Color get_MidnightBlue ()
 Gets a system-defined color that has an ARGB value of #FF191970.
 
static Color get_MintCream ()
 Gets a system-defined color that has an ARGB value of #FFF5FFFA.
 
static Color get_MistyRose ()
 Gets a system-defined color that has an ARGB value of #FFFFE4E1.
 
static Color get_Moccasin ()
 Gets a system-defined color that has an ARGB value of #FFFFE4B5.
 
static Color get_NavajoWhite ()
 Gets a system-defined color that has an ARGB value of #FFFFDEAD.
 
static Color get_Navy ()
 Gets a system-defined color that has an ARGB value of #FF000080.
 
static Color get_OldLace ()
 Gets a system-defined color that has an ARGB value of #FFFDF5E6.
 
static Color get_Olive ()
 Gets a system-defined color that has an ARGB value of #FF808000.
 
static Color get_OliveDrab ()
 Gets a system-defined color that has an ARGB value of #FF6B8E23.
 
static Color get_Orange ()
 Gets a system-defined color that has an ARGB value of #FFFFA500.
 
static Color get_OrangeRed ()
 Gets a system-defined color that has an ARGB value of #FFFF4500.
 
static Color get_Orchid ()
 Gets a system-defined color that has an ARGB value of #FFDA70D6.
 
static Color get_PaleGoldenrod ()
 Gets a system-defined color that has an ARGB value of #FFEEE8AA.
 
static Color get_PaleGreen ()
 Gets a system-defined color that has an ARGB value of #FF98FB98.
 
static Color get_PaleTurquoise ()
 Gets a system-defined color that has an ARGB value of #FFAFEEEE.
 
static Color get_PaleVioletRed ()
 Gets a system-defined color that has an ARGB value of #FFDB7093.
 
static Color get_PapayaWhip ()
 Gets a system-defined color that has an ARGB value of #FFFFEFD5.
 
static Color get_PeachPuff ()
 Gets a system-defined color that has an ARGB value of #FFFFDAB9.
 
static Color get_Peru ()
 Gets a system-defined color that has an ARGB value of #FFCD853F.
 
static Color get_Pink ()
 Gets a system-defined color that has an ARGB value of #FFFFC0CB.
 
static Color get_Plum ()
 Gets a system-defined color that has an ARGB value of #FFDDA0DD.
 
static Color get_PowderBlue ()
 Gets a system-defined color that has an ARGB value of #FFB0E0E6.
 
static Color get_Purple ()
 Gets a system-defined color that has an ARGB value of #FF800080.
 
static Color get_Red ()
 Gets a system-defined color that has an ARGB value of #FFFF0000.
 
static Color get_RosyBrown ()
 Gets a system-defined color that has an ARGB value of #FFBC8F8F.
 
static Color get_RoyalBlue ()
 Gets a system-defined color that has an ARGB value of #FF4169E1.
 
static Color get_SaddleBrown ()
 Gets a system-defined color that has an ARGB value of #FF8B4513.
 
static Color get_Salmon ()
 Gets a system-defined color that has an ARGB value of #FFFA8072.
 
static Color get_SandyBrown ()
 Gets a system-defined color that has an ARGB value of #FFF4A460.
 
static Color get_SeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF2E8B57.
 
static Color get_SeaShell ()
 Gets a system-defined color that has an ARGB value of #FFFFF5EE.
 
static Color get_Sienna ()
 Gets a system-defined color that has an ARGB value of #FFA0522D.
 
static Color get_Silver ()
 Gets a system-defined color that has an ARGB value of #FFC0C0C0.
 
static Color get_SkyBlue ()
 Gets a system-defined color that has an ARGB value of #FF87CEEB.
 
static Color get_SlateBlue ()
 Gets a system-defined color that has an ARGB value of #FF6A5ACD.
 
static Color get_SlateGray ()
 Gets a system-defined color that has an ARGB value of #FF708090.
 
static Color get_Snow ()
 Gets a system-defined color that has an ARGB value of #FFFFFAFA.
 
static Color get_SpringGreen ()
 Gets a system-defined color that has an ARGB value of #FF00FF7F.
 
static Color get_SteelBlue ()
 Gets a system-defined color that has an ARGB value of #FF4682B4.
 
static Color get_Tan ()
 Gets a system-defined color that has an ARGB value of #FFD2B48C.
 
static Color get_Teal ()
 Gets a system-defined color that has an ARGB value of #FF008080.
 
static Color get_Thistle ()
 Gets a system-defined color that has an ARGB value of #FFD8BFD8.
 
static Color get_Tomato ()
 Gets a system-defined color that has an ARGB value of #FFFF6347.
 
static Color get_Turquoise ()
 Gets a system-defined color that has an ARGB value of #FF40E0D0.
 
static Color get_Violet ()
 Gets a system-defined color that has an ARGB value of #FFEE82EE.
 
static Color get_Wheat ()
 Gets a system-defined color that has an ARGB value of #FFF5DEB3.
 
static Color get_White ()
 Gets a system-defined color that has an ARGB value of #FFFFFFFF.
 
static Color get_WhiteSmoke ()
 Gets a system-defined color that has an ARGB value of #FFF5F5F5.
 
static Color get_Yellow ()
 Gets a system-defined color that has an ARGB value of #FFFFFF00.
 
static Color get_YellowGreen ()
 Gets a system-defined color that has an ARGB value of #FF9ACD32.
 
static Color FromArgb (int32_t argb)
 Creates a T:Aspose::Page::Drawing::Color structure from a 32-bit ARGB value.
 
static Color FromArgb (int32_t alpha, int32_t red, int32_t green, int32_t blue)
 Creates a T:Aspose::Page::Drawing::Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
 
static Color FromArgb (int32_t alpha, Color baseColor)
 Creates a T:Aspose::Page::Drawing::Color structure from the specified T:Aspose::Page::Drawing::Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.
 
static Color FromArgb (int32_t red, int32_t green, int32_t blue)
 Creates a T:Aspose::Page::Drawing::Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.
 
static Color FromName (System::String name)
 Creates a T:Aspose::Page::Drawing::Color structure from the specified name of a predefined color.
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference.
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference.
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr.
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style.
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style.
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct.
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
 

Static Public Attributes

static Color Empty
 Represents a color that is null.
 

Protected Member Functions

System::Drawing::Color get_NativeValue () const
 
 Color (System::Drawing::Color nativeValue)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Color, CODEPORTING_ARGS(System::Drawing::Color nativeValue))
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type.
 

Detailed Description

Represents an ARGB (alpha, red, green, blue) color.

Constructor & Destructor Documentation

◆ Color() [1/2]

Aspose::Page::Drawing::Color::Color ( )

◆ Color() [2/2]

Aspose::Page::Drawing::Color::Color ( System::Drawing::Color nativeValue)
protected

Member Function Documentation

◆ Clone()

System::SharedPtr< System::Object > Aspose::Page::Drawing::Color::Clone ( )

◆ Equals()

bool Aspose::Page::Drawing::Color::Equals ( System::SharedPtr< System::Object > obj)
override

Tests whether the specified object is a T:Aspose::Page::Drawing::Color structure and is equivalent to this T:Aspose::Page::Drawing::Color structure.

Returns
true if obj is a T:Aspose::Page::Drawing::Color structure equivalent to this T:Aspose::Page::Drawing::Color structure; otherwise, false.
Parameters
objThe object to test.

◆ FromArgb() [1/4]

static Color Aspose::Page::Drawing::Color::FromArgb ( int32_t alpha,
Color baseColor )
static

Creates a T:Aspose::Page::Drawing::Color structure from the specified T:Aspose::Page::Drawing::Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.

Returns
The T:Aspose::Page::Drawing::Color that this method creates.
Parameters
alphaThe alpha value for the new T:Aspose::Page::Drawing::Color. Valid values are 0 through 255.
baseColorThe T:Aspose::Page::Drawing::Color from which to create the new T:Aspose::Page::Drawing::Color.
Exceptions
T:System::ArgumentExceptionalpha is less than 0 or greater than 255.

◆ FromArgb() [2/4]

static Color Aspose::Page::Drawing::Color::FromArgb ( int32_t alpha,
int32_t red,
int32_t green,
int32_t blue )
static

Creates a T:Aspose::Page::Drawing::Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.

Returns
The T:Aspose::Page::Drawing::Color that this method creates.
Parameters
alphaThe alpha component. Valid values are 0 through 255.
redThe red component. Valid values are 0 through 255.
greenThe green component. Valid values are 0 through 255.
blueThe blue component. Valid values are 0 through 255.
Exceptions
T:System::ArgumentExceptionalpha , red , green , or blue is less than 0 or greater than 255.

◆ FromArgb() [3/4]

static Color Aspose::Page::Drawing::Color::FromArgb ( int32_t argb)
static

Creates a T:Aspose::Page::Drawing::Color structure from a 32-bit ARGB value.

Returns
The T:Aspose::Page::Drawing::Color structure that this method creates.
Parameters
argbA value specifying the 32-bit ARGB value.

◆ FromArgb() [4/4]

static Color Aspose::Page::Drawing::Color::FromArgb ( int32_t red,
int32_t green,
int32_t blue )
static

Creates a T:Aspose::Page::Drawing::Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.

Returns
The T:Aspose::Page::Drawing::Color that this method creates.
Parameters
redThe red component value for the new T:Aspose::Page::Drawing::Color. Valid values are 0 through 255.
greenThe green component value for the new T:Aspose::Page::Drawing::Color. Valid values are 0 through 255.
blueThe blue component value for the new T:Aspose::Page::Drawing::Color. Valid values are 0 through 255.
Exceptions
T:System::ArgumentExceptionred , green , or blue is less than 0 or greater than 255.

◆ FromName()

static Color Aspose::Page::Drawing::Color::FromName ( System::String name)
static

Creates a T:Aspose::Page::Drawing::Color structure from the specified name of a predefined color.

Returns
The T:Aspose::Page::Drawing::Color that this method creates.
Parameters
nameA string that is the name of a predefined color. Valid names are the same as the names of the elements of the T:System::Drawing::KnownColor enumeration.

◆ get_A()

uint8_t Aspose::Page::Drawing::Color::get_A ( )

Gets the alpha component value of this T:Aspose::Page::Drawing::Color structure.

Returns
The alpha component value of this T:Aspose::Page::Drawing::Color.

◆ get_AliceBlue()

static Color Aspose::Page::Drawing::Color::get_AliceBlue ( )
static

Gets a system-defined color that has an ARGB value of #FFF0F8FF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_AntiqueWhite()

static Color Aspose::Page::Drawing::Color::get_AntiqueWhite ( )
static

Gets a system-defined color that has an ARGB value of #FFFAEBD7.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Aqua()

static Color Aspose::Page::Drawing::Color::get_Aqua ( )
static

Gets a system-defined color that has an ARGB value of #FF00FFFF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Aquamarine()

static Color Aspose::Page::Drawing::Color::get_Aquamarine ( )
static

Gets a system-defined color that has an ARGB value of #FF7FFFD4.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Azure()

static Color Aspose::Page::Drawing::Color::get_Azure ( )
static

Gets a system-defined color that has an ARGB value of #FFF0FFFF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_B()

uint8_t Aspose::Page::Drawing::Color::get_B ( )

Gets the blue component value of this T:Aspose::Page::Drawing::Color structure.

Returns
The blue component value of this T:Aspose::Page::Drawing::Color.

◆ get_Beige()

static Color Aspose::Page::Drawing::Color::get_Beige ( )
static

Gets a system-defined color that has an ARGB value of #FFF5F5DC.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Bisque()

static Color Aspose::Page::Drawing::Color::get_Bisque ( )
static

Gets a system-defined color that has an ARGB value of #FFFFE4C4.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Black()

static Color Aspose::Page::Drawing::Color::get_Black ( )
static

Gets a system-defined color that has an ARGB value of #FF000000.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_BlanchedAlmond()

static Color Aspose::Page::Drawing::Color::get_BlanchedAlmond ( )
static

Gets a system-defined color that has an ARGB value of #FFFFEBCD.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Blue()

static Color Aspose::Page::Drawing::Color::get_Blue ( )
static

Gets a system-defined color that has an ARGB value of #FF0000FF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_BlueViolet()

static Color Aspose::Page::Drawing::Color::get_BlueViolet ( )
static

Gets a system-defined color that has an ARGB value of #FF8A2BE2.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Brown()

static Color Aspose::Page::Drawing::Color::get_Brown ( )
static

Gets a system-defined color that has an ARGB value of #FFA52A2A.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_BurlyWood()

static Color Aspose::Page::Drawing::Color::get_BurlyWood ( )
static

Gets a system-defined color that has an ARGB value of #FFDEB887.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_CadetBlue()

static Color Aspose::Page::Drawing::Color::get_CadetBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF5F9EA0.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Chartreuse()

static Color Aspose::Page::Drawing::Color::get_Chartreuse ( )
static

Gets a system-defined color that has an ARGB value of #FF7FFF00.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Chocolate()

static Color Aspose::Page::Drawing::Color::get_Chocolate ( )
static

Gets a system-defined color that has an ARGB value of #FFD2691E.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Coral()

static Color Aspose::Page::Drawing::Color::get_Coral ( )
static

Gets a system-defined color that has an ARGB value of #FFFF7F50.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_CornflowerBlue()

static Color Aspose::Page::Drawing::Color::get_CornflowerBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF6495ED.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Cornsilk()

static Color Aspose::Page::Drawing::Color::get_Cornsilk ( )
static

Gets a system-defined color that has an ARGB value of #FFFFF8DC.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Crimson()

static Color Aspose::Page::Drawing::Color::get_Crimson ( )
static

Gets a system-defined color that has an ARGB value of #FFDC143C.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Cyan()

static Color Aspose::Page::Drawing::Color::get_Cyan ( )
static

Gets a system-defined color that has an ARGB value of #FF00FFFF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkBlue()

static Color Aspose::Page::Drawing::Color::get_DarkBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF00008B.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkCyan()

static Color Aspose::Page::Drawing::Color::get_DarkCyan ( )
static

Gets a system-defined color that has an ARGB value of #FF008B8B.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkGoldenrod()

static Color Aspose::Page::Drawing::Color::get_DarkGoldenrod ( )
static

Gets a system-defined color that has an ARGB value of #FFB8860B.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkGray()

static Color Aspose::Page::Drawing::Color::get_DarkGray ( )
static

Gets a system-defined color that has an ARGB value of #FFA9A9A9.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkGreen()

static Color Aspose::Page::Drawing::Color::get_DarkGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF006400.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkKhaki()

static Color Aspose::Page::Drawing::Color::get_DarkKhaki ( )
static

Gets a system-defined color that has an ARGB value of #FFBDB76B.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkMagenta()

static Color Aspose::Page::Drawing::Color::get_DarkMagenta ( )
static

Gets a system-defined color that has an ARGB value of #FF8B008B.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkOliveGreen()

static Color Aspose::Page::Drawing::Color::get_DarkOliveGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF556B2F.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkOrange()

static Color Aspose::Page::Drawing::Color::get_DarkOrange ( )
static

Gets a system-defined color that has an ARGB value of #FFFF8C00.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkOrchid()

static Color Aspose::Page::Drawing::Color::get_DarkOrchid ( )
static

Gets a system-defined color that has an ARGB value of #FF9932CC.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkRed()

static Color Aspose::Page::Drawing::Color::get_DarkRed ( )
static

Gets a system-defined color that has an ARGB value of #FF8B0000.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkSalmon()

static Color Aspose::Page::Drawing::Color::get_DarkSalmon ( )
static

Gets a system-defined color that has an ARGB value of #FFE9967A.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkSeaGreen()

static Color Aspose::Page::Drawing::Color::get_DarkSeaGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF8FBC8F.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkSlateBlue()

static Color Aspose::Page::Drawing::Color::get_DarkSlateBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF483D8B.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkSlateGray()

static Color Aspose::Page::Drawing::Color::get_DarkSlateGray ( )
static

Gets a system-defined color that has an ARGB value of #FF2F4F4F.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkTurquoise()

static Color Aspose::Page::Drawing::Color::get_DarkTurquoise ( )
static

Gets a system-defined color that has an ARGB value of #FF00CED1.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DarkViolet()

static Color Aspose::Page::Drawing::Color::get_DarkViolet ( )
static

Gets a system-defined color that has an ARGB value of #FF9400D3.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DeepPink()

static Color Aspose::Page::Drawing::Color::get_DeepPink ( )
static

Gets a system-defined color that has an ARGB value of #FFFF1493.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DeepSkyBlue()

static Color Aspose::Page::Drawing::Color::get_DeepSkyBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF00BFFF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DimGray()

static Color Aspose::Page::Drawing::Color::get_DimGray ( )
static

Gets a system-defined color that has an ARGB value of #FF696969.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_DodgerBlue()

static Color Aspose::Page::Drawing::Color::get_DodgerBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF1E90FF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Firebrick()

static Color Aspose::Page::Drawing::Color::get_Firebrick ( )
static

Gets a system-defined color that has an ARGB value of #FFB22222.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_FloralWhite()

static Color Aspose::Page::Drawing::Color::get_FloralWhite ( )
static

Gets a system-defined color that has an ARGB value of #FFFFFAF0.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_ForestGreen()

static Color Aspose::Page::Drawing::Color::get_ForestGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF228B22.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Fuchsia()

static Color Aspose::Page::Drawing::Color::get_Fuchsia ( )
static

Gets a system-defined color that has an ARGB value of #FFFF00FF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_G()

uint8_t Aspose::Page::Drawing::Color::get_G ( )

Gets the green component value of this T:Aspose::Page::Drawing::Color structure.

Returns
The green component value of this T:Aspose::Page::Drawing::Color.

◆ get_Gainsboro()

static Color Aspose::Page::Drawing::Color::get_Gainsboro ( )
static

Gets a system-defined color that has an ARGB value of #FFDCDCDC.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_GhostWhite()

static Color Aspose::Page::Drawing::Color::get_GhostWhite ( )
static

Gets a system-defined color that has an ARGB value of #FFF8F8FF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Gold()

static Color Aspose::Page::Drawing::Color::get_Gold ( )
static

Gets a system-defined color that has an ARGB value of #FFFFD700.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Goldenrod()

static Color Aspose::Page::Drawing::Color::get_Goldenrod ( )
static

Gets a system-defined color that has an ARGB value of #FFDAA520.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Gray()

static Color Aspose::Page::Drawing::Color::get_Gray ( )
static

Gets a system-defined color that has an ARGB value of #FF808080.

Returns
A T:Aspose::Page::Drawing::Color strcture representing a system-defined color.

◆ get_Green()

static Color Aspose::Page::Drawing::Color::get_Green ( )
static

Gets a system-defined color that has an ARGB value of #FF008000.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_GreenYellow()

static Color Aspose::Page::Drawing::Color::get_GreenYellow ( )
static

Gets a system-defined color that has an ARGB value of #FFADFF2F.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Honeydew()

static Color Aspose::Page::Drawing::Color::get_Honeydew ( )
static

Gets a system-defined color that has an ARGB value of #FFF0FFF0.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_HotPink()

static Color Aspose::Page::Drawing::Color::get_HotPink ( )
static

Gets a system-defined color that has an ARGB value of #FFFF69B4.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_IndianRed()

static Color Aspose::Page::Drawing::Color::get_IndianRed ( )
static

Gets a system-defined color that has an ARGB value of #FFCD5C5C.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Indigo()

static Color Aspose::Page::Drawing::Color::get_Indigo ( )
static

Gets a system-defined color that has an ARGB value of #FF4B0082.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_IsEmpty()

bool Aspose::Page::Drawing::Color::get_IsEmpty ( )

Specifies whether this T:Aspose::Page::Drawing::Color structure is uninitialized.

Returns
This property returns true if this color is uninitialized; otherwise, false.

◆ get_IsNamedColor()

bool Aspose::Page::Drawing::Color::get_IsNamedColor ( )

Gets a value indicating whether this T:Aspose::Page::Drawing::Color structure is a named color or a member of the T:System::Drawing::KnownColor enumeration.

Returns
true if this T:Aspose::Page::Drawing::Color was created by using either the M:Aspose::Page::Drawing::Color::FromName(System::String) method; otherwise, false.

◆ get_Ivory()

static Color Aspose::Page::Drawing::Color::get_Ivory ( )
static

Gets a system-defined color that has an ARGB value of #FFFFFFF0.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Khaki()

static Color Aspose::Page::Drawing::Color::get_Khaki ( )
static

Gets a system-defined color that has an ARGB value of #FFF0E68C.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Lavender()

static Color Aspose::Page::Drawing::Color::get_Lavender ( )
static

Gets a system-defined color that has an ARGB value of #FFE6E6FA.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LavenderBlush()

static Color Aspose::Page::Drawing::Color::get_LavenderBlush ( )
static

Gets a system-defined color that has an ARGB value of #FFFFF0F5.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LawnGreen()

static Color Aspose::Page::Drawing::Color::get_LawnGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF7CFC00.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LemonChiffon()

static Color Aspose::Page::Drawing::Color::get_LemonChiffon ( )
static

Gets a system-defined color that has an ARGB value of #FFFFFACD.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightBlue()

static Color Aspose::Page::Drawing::Color::get_LightBlue ( )
static

Gets a system-defined color that has an ARGB value of #FFADD8E6.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightCoral()

static Color Aspose::Page::Drawing::Color::get_LightCoral ( )
static

Gets a system-defined color that has an ARGB value of #FFF08080.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightCyan()

static Color Aspose::Page::Drawing::Color::get_LightCyan ( )
static

Gets a system-defined color that has an ARGB value of #FFE0FFFF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightGoldenrodYellow()

static Color Aspose::Page::Drawing::Color::get_LightGoldenrodYellow ( )
static

Gets a system-defined color that has an ARGB value of #FFFAFAD2.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightGray()

static Color Aspose::Page::Drawing::Color::get_LightGray ( )
static

Gets a system-defined color that has an ARGB value of #FFD3D3D3.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightGreen()

static Color Aspose::Page::Drawing::Color::get_LightGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF90EE90.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightPink()

static Color Aspose::Page::Drawing::Color::get_LightPink ( )
static

Gets a system-defined color that has an ARGB value of #FFFFB6C1.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightSalmon()

static Color Aspose::Page::Drawing::Color::get_LightSalmon ( )
static

Gets a system-defined color that has an ARGB value of #FFFFA07A.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightSeaGreen()

static Color Aspose::Page::Drawing::Color::get_LightSeaGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF20B2AA.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightSkyBlue()

static Color Aspose::Page::Drawing::Color::get_LightSkyBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF87CEFA.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightSlateGray()

static Color Aspose::Page::Drawing::Color::get_LightSlateGray ( )
static

Gets a system-defined color that has an ARGB value of #FF778899.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightSteelBlue()

static Color Aspose::Page::Drawing::Color::get_LightSteelBlue ( )
static

Gets a system-defined color that has an ARGB value of #FFB0C4DE.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LightYellow()

static Color Aspose::Page::Drawing::Color::get_LightYellow ( )
static

Gets a system-defined color that has an ARGB value of #FFFFFFE0.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Lime()

static Color Aspose::Page::Drawing::Color::get_Lime ( )
static

Gets a system-defined color that has an ARGB value of #FF00FF00.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_LimeGreen()

static Color Aspose::Page::Drawing::Color::get_LimeGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF32CD32.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Linen()

static Color Aspose::Page::Drawing::Color::get_Linen ( )
static

Gets a system-defined color that has an ARGB value of #FFFAF0E6.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Magenta()

static Color Aspose::Page::Drawing::Color::get_Magenta ( )
static

Gets a system-defined color that has an ARGB value of #FFFF00FF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Maroon()

static Color Aspose::Page::Drawing::Color::get_Maroon ( )
static

Gets a system-defined color that has an ARGB value of #FF800000.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumAquamarine()

static Color Aspose::Page::Drawing::Color::get_MediumAquamarine ( )
static

Gets a system-defined color that has an ARGB value of #FF66CDAA.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumBlue()

static Color Aspose::Page::Drawing::Color::get_MediumBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF0000CD.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumOrchid()

static Color Aspose::Page::Drawing::Color::get_MediumOrchid ( )
static

Gets a system-defined color that has an ARGB value of #FFBA55D3.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumPurple()

static Color Aspose::Page::Drawing::Color::get_MediumPurple ( )
static

Gets a system-defined color that has an ARGB value of #FF9370DB.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumSeaGreen()

static Color Aspose::Page::Drawing::Color::get_MediumSeaGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF3CB371.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumSlateBlue()

static Color Aspose::Page::Drawing::Color::get_MediumSlateBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF7B68EE.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumSpringGreen()

static Color Aspose::Page::Drawing::Color::get_MediumSpringGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF00FA9A.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumTurquoise()

static Color Aspose::Page::Drawing::Color::get_MediumTurquoise ( )
static

Gets a system-defined color that has an ARGB value of #FF48D1CC.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MediumVioletRed()

static Color Aspose::Page::Drawing::Color::get_MediumVioletRed ( )
static

Gets a system-defined color that has an ARGB value of #FFC71585.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MidnightBlue()

static Color Aspose::Page::Drawing::Color::get_MidnightBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF191970.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MintCream()

static Color Aspose::Page::Drawing::Color::get_MintCream ( )
static

Gets a system-defined color that has an ARGB value of #FFF5FFFA.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_MistyRose()

static Color Aspose::Page::Drawing::Color::get_MistyRose ( )
static

Gets a system-defined color that has an ARGB value of #FFFFE4E1.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Moccasin()

static Color Aspose::Page::Drawing::Color::get_Moccasin ( )
static

Gets a system-defined color that has an ARGB value of #FFFFE4B5.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Name()

System::String Aspose::Page::Drawing::Color::get_Name ( )

Gets the name of this T:Aspose::Page::Drawing::Color.

Returns
The name of this T:Aspose::Page::Drawing::Color.

◆ get_NativeValue()

System::Drawing::Color Aspose::Page::Drawing::Color::get_NativeValue ( ) const
protected

◆ get_NavajoWhite()

static Color Aspose::Page::Drawing::Color::get_NavajoWhite ( )
static

Gets a system-defined color that has an ARGB value of #FFFFDEAD.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Navy()

static Color Aspose::Page::Drawing::Color::get_Navy ( )
static

Gets a system-defined color that has an ARGB value of #FF000080.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_OldLace()

static Color Aspose::Page::Drawing::Color::get_OldLace ( )
static

Gets a system-defined color that has an ARGB value of #FFFDF5E6.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Olive()

static Color Aspose::Page::Drawing::Color::get_Olive ( )
static

Gets a system-defined color that has an ARGB value of #FF808000.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_OliveDrab()

static Color Aspose::Page::Drawing::Color::get_OliveDrab ( )
static

Gets a system-defined color that has an ARGB value of #FF6B8E23.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Orange()

static Color Aspose::Page::Drawing::Color::get_Orange ( )
static

Gets a system-defined color that has an ARGB value of #FFFFA500.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_OrangeRed()

static Color Aspose::Page::Drawing::Color::get_OrangeRed ( )
static

Gets a system-defined color that has an ARGB value of #FFFF4500.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Orchid()

static Color Aspose::Page::Drawing::Color::get_Orchid ( )
static

Gets a system-defined color that has an ARGB value of #FFDA70D6.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_PaleGoldenrod()

static Color Aspose::Page::Drawing::Color::get_PaleGoldenrod ( )
static

Gets a system-defined color that has an ARGB value of #FFEEE8AA.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_PaleGreen()

static Color Aspose::Page::Drawing::Color::get_PaleGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF98FB98.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_PaleTurquoise()

static Color Aspose::Page::Drawing::Color::get_PaleTurquoise ( )
static

Gets a system-defined color that has an ARGB value of #FFAFEEEE.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_PaleVioletRed()

static Color Aspose::Page::Drawing::Color::get_PaleVioletRed ( )
static

Gets a system-defined color that has an ARGB value of #FFDB7093.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_PapayaWhip()

static Color Aspose::Page::Drawing::Color::get_PapayaWhip ( )
static

Gets a system-defined color that has an ARGB value of #FFFFEFD5.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_PeachPuff()

static Color Aspose::Page::Drawing::Color::get_PeachPuff ( )
static

Gets a system-defined color that has an ARGB value of #FFFFDAB9.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Peru()

static Color Aspose::Page::Drawing::Color::get_Peru ( )
static

Gets a system-defined color that has an ARGB value of #FFCD853F.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Pink()

static Color Aspose::Page::Drawing::Color::get_Pink ( )
static

Gets a system-defined color that has an ARGB value of #FFFFC0CB.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Plum()

static Color Aspose::Page::Drawing::Color::get_Plum ( )
static

Gets a system-defined color that has an ARGB value of #FFDDA0DD.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_PowderBlue()

static Color Aspose::Page::Drawing::Color::get_PowderBlue ( )
static

Gets a system-defined color that has an ARGB value of #FFB0E0E6.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Purple()

static Color Aspose::Page::Drawing::Color::get_Purple ( )
static

Gets a system-defined color that has an ARGB value of #FF800080.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_R()

uint8_t Aspose::Page::Drawing::Color::get_R ( )

Gets the red component value of this T:Aspose::Page::Drawing::Color structure.

Returns
The red component value of this T:Aspose::Page::Drawing::Color.

◆ get_Red()

static Color Aspose::Page::Drawing::Color::get_Red ( )
static

Gets a system-defined color that has an ARGB value of #FFFF0000.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_RosyBrown()

static Color Aspose::Page::Drawing::Color::get_RosyBrown ( )
static

Gets a system-defined color that has an ARGB value of #FFBC8F8F.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_RoyalBlue()

static Color Aspose::Page::Drawing::Color::get_RoyalBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF4169E1.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SaddleBrown()

static Color Aspose::Page::Drawing::Color::get_SaddleBrown ( )
static

Gets a system-defined color that has an ARGB value of #FF8B4513.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Salmon()

static Color Aspose::Page::Drawing::Color::get_Salmon ( )
static

Gets a system-defined color that has an ARGB value of #FFFA8072.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SandyBrown()

static Color Aspose::Page::Drawing::Color::get_SandyBrown ( )
static

Gets a system-defined color that has an ARGB value of #FFF4A460.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SeaGreen()

static Color Aspose::Page::Drawing::Color::get_SeaGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF2E8B57.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SeaShell()

static Color Aspose::Page::Drawing::Color::get_SeaShell ( )
static

Gets a system-defined color that has an ARGB value of #FFFFF5EE.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Sienna()

static Color Aspose::Page::Drawing::Color::get_Sienna ( )
static

Gets a system-defined color that has an ARGB value of #FFA0522D.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Silver()

static Color Aspose::Page::Drawing::Color::get_Silver ( )
static

Gets a system-defined color that has an ARGB value of #FFC0C0C0.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SkyBlue()

static Color Aspose::Page::Drawing::Color::get_SkyBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF87CEEB.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SlateBlue()

static Color Aspose::Page::Drawing::Color::get_SlateBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF6A5ACD.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SlateGray()

static Color Aspose::Page::Drawing::Color::get_SlateGray ( )
static

Gets a system-defined color that has an ARGB value of #FF708090.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Snow()

static Color Aspose::Page::Drawing::Color::get_Snow ( )
static

Gets a system-defined color that has an ARGB value of #FFFFFAFA.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SpringGreen()

static Color Aspose::Page::Drawing::Color::get_SpringGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF00FF7F.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_SteelBlue()

static Color Aspose::Page::Drawing::Color::get_SteelBlue ( )
static

Gets a system-defined color that has an ARGB value of #FF4682B4.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Tan()

static Color Aspose::Page::Drawing::Color::get_Tan ( )
static

Gets a system-defined color that has an ARGB value of #FFD2B48C.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Teal()

static Color Aspose::Page::Drawing::Color::get_Teal ( )
static

Gets a system-defined color that has an ARGB value of #FF008080.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Thistle()

static Color Aspose::Page::Drawing::Color::get_Thistle ( )
static

Gets a system-defined color that has an ARGB value of #FFD8BFD8.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Tomato()

static Color Aspose::Page::Drawing::Color::get_Tomato ( )
static

Gets a system-defined color that has an ARGB value of #FFFF6347.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Transparent()

static Color Aspose::Page::Drawing::Color::get_Transparent ( )
static

Gets a system-defined color.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Turquoise()

static Color Aspose::Page::Drawing::Color::get_Turquoise ( )
static

Gets a system-defined color that has an ARGB value of #FF40E0D0.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Violet()

static Color Aspose::Page::Drawing::Color::get_Violet ( )
static

Gets a system-defined color that has an ARGB value of #FFEE82EE.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Wheat()

static Color Aspose::Page::Drawing::Color::get_Wheat ( )
static

Gets a system-defined color that has an ARGB value of #FFF5DEB3.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_White()

static Color Aspose::Page::Drawing::Color::get_White ( )
static

Gets a system-defined color that has an ARGB value of #FFFFFFFF.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_WhiteSmoke()

static Color Aspose::Page::Drawing::Color::get_WhiteSmoke ( )
static

Gets a system-defined color that has an ARGB value of #FFF5F5F5.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_Yellow()

static Color Aspose::Page::Drawing::Color::get_Yellow ( )
static

Gets a system-defined color that has an ARGB value of #FFFFFF00.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ get_YellowGreen()

static Color Aspose::Page::Drawing::Color::get_YellowGreen ( )
static

Gets a system-defined color that has an ARGB value of #FF9ACD32.

Returns
A T:Aspose::Page::Drawing::Color representing a system-defined color.

◆ GetBrightness()

float Aspose::Page::Drawing::Color::GetBrightness ( )

Gets the hue-saturation-brightness (HSB) brightness value for this T:Aspose::Page::Drawing::Color structure.

Returns
The brightness of this T:Aspose::Page::Drawing::Color. The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.

◆ GetHashCode()

int32_t Aspose::Page::Drawing::Color::GetHashCode ( ) const
overridevirtual

Returns a hash code for this T:Aspose::Page::Drawing::Color structure.

Returns
An integer value that specifies the hash code for this T:Aspose::Page::Drawing::Color.

Reimplemented from System::Object.

◆ GetHue()

float Aspose::Page::Drawing::Color::GetHue ( )

Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this T:Aspose::Page::Drawing::Color structure.

Returns
The hue, in degrees, of this T:Aspose::Page::Drawing::Color. The hue is measured in degrees, ranging from 0.0 through 360.0, in HSB color space.

◆ GetSaturation()

float Aspose::Page::Drawing::Color::GetSaturation ( )

Gets the hue-saturation-brightness (HSB) saturation value for this T:Aspose::Page::Drawing::Color structure.

Returns
The saturation of this T:Aspose::Page::Drawing::Color. The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION()

Aspose::Page::Drawing::Color::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Color ,
CODEPORTING_ARGS(System::Drawing::Color nativeValue)  )
protected

◆ ToArgb()

int32_t Aspose::Page::Drawing::Color::ToArgb ( )

Gets the 32-bit ARGB value of this T:Aspose::Page::Drawing::Color structure.

Returns
The 32-bit ARGB value of this T:Aspose::Page::Drawing::Color.

◆ ToString()

System::String Aspose::Page::Drawing::Color::ToString ( ) const
overridevirtual

Converts this T:Aspose::Page::Drawing::Color structure to a human-readable string.

Returns
A string that is the name of this T:Aspose::Page::Drawing::Color, if the T:Aspose::Page::Drawing::Color is created from a predefined color by using either the M:Aspose::Page::Drawing::Color::FromName(System::String) method; otherwise, a string that consists of the ARGB component names and their values.

Reimplemented from System::Object.

Member Data Documentation

◆ Empty

Color Aspose::Page::Drawing::Color::Empty
static

Represents a color that is null.