Represents class for color value which can be expressed in different color space. More...

Inherits System::Object.

Public Member Functions

double get_A ()
 Gets the alpha component value More...
 
System::ArrayPtr< double > get_Data ()
 Gets color value. More...
 
Aspose::Pdf::ColorSpace get_ColorSpace ()
 Gets color space that the color represents. More...
 
System::SharedPtr< Aspose::Pdf::Drawing::PatternColorSpaceget_PatternColorSpace ()
 Represents a object that indicates the pattern colorspace. More...
 
void set_PatternColorSpace (System::SharedPtr< Aspose::Pdf::Drawing::PatternColorSpace > value)
 Represents a object that indicates the pattern colorspace. More...
 
 Color ()
 
virtual System::String ToString ()
 Converts to string. More...
 
System::Drawing::Color ToRgb ()
 Converts color into rgb. More...
 
virtual bool Equals (System::SharedPtr< System::Object > obj)
 Returns true if two Colors are equal. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Static Public Member Functions

static System::SharedPtr< Colorget_Transparent ()
 Gets a system-defined color. More...
 
static System::SharedPtr< Colorget_AliceBlue ()
 Gets a system-defined color that has an ARGB value of #FFF0F8FF. More...
 
static System::SharedPtr< Colorget_AntiqueWhite ()
 Gets a system-defined color that has an ARGB value of #FFFAEBD7. More...
 
static System::SharedPtr< Colorget_Aqua ()
 Gets a system-defined color that has an ARGB value of #FF00FFFF. More...
 
static System::SharedPtr< Colorget_Aquamarine ()
 Gets a system-defined color that has an ARGB value of #FF7FFFD4. More...
 
static System::SharedPtr< Colorget_Azure ()
 Gets a system-defined color that has an ARGB value of #FFF0FFFF. More...
 
static System::SharedPtr< Colorget_Beige ()
 Gets a system-defined color that has an ARGB value of #FFF5F5DC. More...
 
static System::SharedPtr< Colorget_Bisque ()
 Gets a system-defined color that has an ARGB value of #FFFFE4C4. More...
 
static System::SharedPtr< Colorget_Black ()
 Gets a system-defined color that has an ARGB value of #FF000000. More...
 
static System::SharedPtr< Colorget_BlanchedAlmond ()
 Gets a system-defined color that has an ARGB value of #FFFFEBCD. More...
 
static System::SharedPtr< Colorget_Blue ()
 Gets a system-defined color that has an ARGB value of #FF0000FF. More...
 
static System::SharedPtr< Colorget_BlueViolet ()
 Gets a system-defined color that has an ARGB value of #FF8A2BE2. More...
 
static System::SharedPtr< Colorget_Brown ()
 Gets a system-defined color that has an ARGB value of #FFA52A2A. More...
 
static System::SharedPtr< Colorget_BurlyWood ()
 Gets a system-defined color that has an ARGB value of #FFDEB887. More...
 
static System::SharedPtr< Colorget_CadetBlue ()
 Gets a system-defined color that has an ARGB value of #FF5F9EA0. More...
 
static System::SharedPtr< Colorget_Chartreuse ()
 Gets a system-defined color that has an ARGB value of #FF7FFF00. More...
 
static System::SharedPtr< Colorget_Chocolate ()
 Gets a system-defined color that has an ARGB value of #FFD2691E. More...
 
static System::SharedPtr< Colorget_Coral ()
 Gets a system-defined color that has an ARGB value of #FFFF7F50. More...
 
static System::SharedPtr< Colorget_CornflowerBlue ()
 Gets a system-defined color that has an ARGB value of #FF6495ED. More...
 
static System::SharedPtr< Colorget_Cornsilk ()
 Gets a system-defined color that has an ARGB value of #FFFFF8DC. More...
 
static System::SharedPtr< Colorget_Crimson ()
 Gets a system-defined color that has an ARGB value of #FFDC143C. More...
 
static System::SharedPtr< Colorget_Cyan ()
 Gets a system-defined color that has an ARGB value of #FF00FFFF. More...
 
static System::SharedPtr< Colorget_DarkBlue ()
 Gets a system-defined color that has an ARGB value of #FF00008B. More...
 
static System::SharedPtr< Colorget_DarkCyan ()
 Gets a system-defined color that has an ARGB value of #FF008B8B. More...
 
static System::SharedPtr< Colorget_DarkGoldenrod ()
 Gets a system-defined color that has an ARGB value of #FFB8860B. More...
 
static System::SharedPtr< Colorget_DarkGray ()
 Gets a system-defined color that has an ARGB value of #FFA9A9A9. More...
 
static System::SharedPtr< Colorget_DarkGreen ()
 Gets a system-defined color that has an ARGB value of #FF006400. More...
 
static System::SharedPtr< Colorget_DarkKhaki ()
 Gets a system-defined color that has an ARGB value of #FFBDB76B. More...
 
static System::SharedPtr< Colorget_DarkMagenta ()
 Gets a system-defined color that has an ARGB value of #FF8B008B. More...
 
static System::SharedPtr< Colorget_DarkOliveGreen ()
 Gets a system-defined color that has an ARGB value of #FF556B2F. More...
 
static System::SharedPtr< Colorget_DarkOrange ()
 Gets a system-defined color that has an ARGB value of #FFFF8C00. More...
 
static System::SharedPtr< Colorget_DarkOrchid ()
 Gets a system-defined color that has an ARGB value of #FF9932CC. More...
 
static System::SharedPtr< Colorget_DarkRed ()
 Gets a system-defined color that has an ARGB value of #FF8B0000. More...
 
static System::SharedPtr< Colorget_DarkSalmon ()
 Gets a system-defined color that has an ARGB value of #FFE9967A. More...
 
static System::SharedPtr< Colorget_DarkSeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF8FBC8F. More...
 
static System::SharedPtr< Colorget_DarkSlateBlue ()
 Gets a system-defined color that has an ARGB value of #FF483D8B. More...
 
static System::SharedPtr< Colorget_DarkSlateGray ()
 Gets a system-defined color that has an ARGB value of #FF2F4F4F. More...
 
static System::SharedPtr< Colorget_DarkTurquoise ()
 Gets a system-defined color that has an ARGB value of #FF00CED1. More...
 
static System::SharedPtr< Colorget_DarkViolet ()
 Gets a system-defined color that has an ARGB value of #FF9400D3. More...
 
static System::SharedPtr< Colorget_DeepPink ()
 Gets a system-defined color that has an ARGB value of #FFFF1493. More...
 
static System::SharedPtr< Colorget_DeepSkyBlue ()
 Gets a system-defined color that has an ARGB value of #FF00BFFF. More...
 
static System::SharedPtr< Colorget_DimGray ()
 Gets a system-defined color that has an ARGB value of #FF696969. More...
 
static System::SharedPtr< Colorget_DodgerBlue ()
 Gets a system-defined color that has an ARGB value of #FF1E90FF. More...
 
static System::SharedPtr< Colorget_Firebrick ()
 Gets a system-defined color that has an ARGB value of #FFB22222. More...
 
static System::SharedPtr< Colorget_FloralWhite ()
 Gets a system-defined color that has an ARGB value of #FFFFFAF0. More...
 
static System::SharedPtr< Colorget_ForestGreen ()
 Gets a system-defined color that has an ARGB value of #FF228B22. More...
 
static System::SharedPtr< Colorget_Fuchsia ()
 Gets a system-defined color that has an ARGB value of #FFFF00FF. More...
 
static System::SharedPtr< Colorget_Gainsboro ()
 Gets a system-defined color that has an ARGB value of #FFDCDCDC. More...
 
static System::SharedPtr< Colorget_GhostWhite ()
 Gets a system-defined color that has an ARGB value of #FFF8F8FF. More...
 
static System::SharedPtr< Colorget_Gold ()
 Gets a system-defined color that has an ARGB value of #FFFFD700. More...
 
static System::SharedPtr< Colorget_Goldenrod ()
 Gets a system-defined color that has an ARGB value of #FFDAA520. More...
 
static System::SharedPtr< Colorget_Gray ()
 Gets a system-defined color that has an ARGB value of #FF808080. More...
 
static System::SharedPtr< Colorget_Green ()
 Gets a system-defined color that has an ARGB value of #FF008000. More...
 
static System::SharedPtr< Colorget_GreenYellow ()
 Gets a system-defined color that has an ARGB value of #FFADFF2F. More...
 
static System::SharedPtr< Colorget_Honeydew ()
 Gets a system-defined color that has an ARGB value of #FFF0FFF0. More...
 
static System::SharedPtr< Colorget_HotPink ()
 Gets a system-defined color that has an ARGB value of #FFFF69B4. More...
 
static System::SharedPtr< Colorget_IndianRed ()
 Gets a system-defined color that has an ARGB value of #FFCD5C5C. More...
 
static System::SharedPtr< Colorget_Indigo ()
 Gets a system-defined color that has an ARGB value of #FF4B0082. More...
 
static System::SharedPtr< Colorget_Ivory ()
 Gets a system-defined color that has an ARGB value of #FFFFFFF0. More...
 
static System::SharedPtr< Colorget_Khaki ()
 Gets a system-defined color that has an ARGB value of #FFF0E68C. More...
 
static System::SharedPtr< Colorget_Lavender ()
 Gets a system-defined color that has an ARGB value of #FFE6E6FA. More...
 
static System::SharedPtr< Colorget_LavenderBlush ()
 Gets a system-defined color that has an ARGB value of #FFFFF0F5. More...
 
static System::SharedPtr< Colorget_LawnGreen ()
 Gets a system-defined color that has an ARGB value of #FF7CFC00. More...
 
static System::SharedPtr< Colorget_LemonChiffon ()
 Gets a system-defined color that has an ARGB value of #FFFFFACD. More...
 
static System::SharedPtr< Colorget_LightBlue ()
 Gets a system-defined color that has an ARGB value of #FFADD8E6. More...
 
static System::SharedPtr< Colorget_LightCoral ()
 Gets a system-defined color that has an ARGB value of #FFF08080. More...
 
static System::SharedPtr< Colorget_LightCyan ()
 Gets a system-defined color that has an ARGB value of #FFE0FFFF. More...
 
static System::SharedPtr< Colorget_LightGoldenrodYellow ()
 Gets a system-defined color that has an ARGB value of #FFFAFAD2. More...
 
static System::SharedPtr< Colorget_LightGreen ()
 Gets a system-defined color that has an ARGB value of #FF90EE90. More...
 
static System::SharedPtr< Colorget_LightGray ()
 Gets a system-defined color that has an ARGB value of #FFD3D3D3. More...
 
static System::SharedPtr< Colorget_LightPink ()
 Gets a system-defined color that has an ARGB value of #FFFFB6C1. More...
 
static System::SharedPtr< Colorget_LightSalmon ()
 Gets a system-defined color that has an ARGB value of #FFFFA07A. More...
 
static System::SharedPtr< Colorget_LightSeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF20B2AA. More...
 
static System::SharedPtr< Colorget_LightSkyBlue ()
 Gets a system-defined color that has an ARGB value of #FF87CEFA. More...
 
static System::SharedPtr< Colorget_LightSlateGray ()
 Gets a system-defined color that has an ARGB value of #FF778899. More...
 
static System::SharedPtr< Colorget_LightSteelBlue ()
 Gets a system-defined color that has an ARGB value of #FFB0C4DE. More...
 
static System::SharedPtr< Colorget_LightYellow ()
 Gets a system-defined color that has an ARGB value of #FFFFFFE0. More...
 
static System::SharedPtr< Colorget_Lime ()
 Gets a system-defined color that has an ARGB value of #FF00FF00. More...
 
static System::SharedPtr< Colorget_LimeGreen ()
 Gets a system-defined color that has an ARGB value of #FF32CD32. More...
 
static System::SharedPtr< Colorget_Linen ()
 Gets a system-defined color that has an ARGB value of #FFFAF0E6. More...
 
static System::SharedPtr< Colorget_Magenta ()
 Gets a system-defined color that has an ARGB value of #FFFF00FF. More...
 
static System::SharedPtr< Colorget_Maroon ()
 Gets a system-defined color that has an ARGB value of #FF800000. More...
 
static System::SharedPtr< Colorget_MediumAquamarine ()
 Gets a system-defined color that has an ARGB value of #FF66CDAA. More...
 
static System::SharedPtr< Colorget_MediumBlue ()
 Gets a system-defined color that has an ARGB value of #FF0000CD. More...
 
static System::SharedPtr< Colorget_MediumOrchid ()
 Gets a system-defined color that has an ARGB value of #FFBA55D3. More...
 
static System::SharedPtr< Colorget_MediumPurple ()
 Gets a system-defined color that has an ARGB value of #FF9370DB. More...
 
static System::SharedPtr< Colorget_MediumSeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF3CB371. More...
 
static System::SharedPtr< Colorget_MediumSlateBlue ()
 Gets a system-defined color that has an ARGB value of #FF7B68EE. More...
 
static System::SharedPtr< Colorget_MediumSpringGreen ()
 Gets a system-defined color that has an ARGB value of #FF00FA9A. More...
 
static System::SharedPtr< Colorget_MediumTurquoise ()
 Gets a system-defined color that has an ARGB value of #FF48D1CC. More...
 
static System::SharedPtr< Colorget_MediumVioletRed ()
 Gets a system-defined color that has an ARGB value of #FFC71585. More...
 
static System::SharedPtr< Colorget_MidnightBlue ()
 Gets a system-defined color that has an ARGB value of #FF191970. More...
 
static System::SharedPtr< Colorget_MintCream ()
 Gets a system-defined color that has an ARGB value of #FFF5FFFA. More...
 
static System::SharedPtr< Colorget_MistyRose ()
 Gets a system-defined color that has an ARGB value of #FFFFE4E1. More...
 
static System::SharedPtr< Colorget_Moccasin ()
 Gets a system-defined color that has an ARGB value of #FFFFE4B5. More...
 
static System::SharedPtr< Colorget_NavajoWhite ()
 Gets a system-defined color that has an ARGB value of #FFFFDEAD. More...
 
static System::SharedPtr< Colorget_Navy ()
 Gets a system-defined color that has an ARGB value of #FF000080. More...
 
static System::SharedPtr< Colorget_OldLace ()
 Gets a system-defined color that has an ARGB value of #FFFDF5E6. More...
 
static System::SharedPtr< Colorget_Olive ()
 Gets a system-defined color that has an ARGB value of #FF808000. More...
 
static System::SharedPtr< Colorget_OliveDrab ()
 Gets a system-defined color that has an ARGB value of #FF6B8E23. More...
 
static System::SharedPtr< Colorget_Orange ()
 Gets a system-defined color that has an ARGB value of #FFFFA500. More...
 
static System::SharedPtr< Colorget_OrangeRed ()
 Gets a system-defined color that has an ARGB value of #FFFF4500. More...
 
static System::SharedPtr< Colorget_Orchid ()
 Gets a system-defined color that has an ARGB value of #FFDA70D6. More...
 
static System::SharedPtr< Colorget_PaleGoldenrod ()
 Gets a system-defined color that has an ARGB value of #FFEEE8AA. More...
 
static System::SharedPtr< Colorget_PaleGreen ()
 Gets a system-defined color that has an ARGB value of #FF98FB98. More...
 
static System::SharedPtr< Colorget_PaleTurquoise ()
 Gets a system-defined color that has an ARGB value of #FFAFEEEE. More...
 
static System::SharedPtr< Colorget_PaleVioletRed ()
 Gets a system-defined color that has an ARGB value of #FFDB7093. More...
 
static System::SharedPtr< Colorget_PapayaWhip ()
 Gets a system-defined color that has an ARGB value of #FFFFEFD5. More...
 
static System::SharedPtr< Colorget_PeachPuff ()
 Gets a system-defined color that has an ARGB value of #FFFFDAB9. More...
 
static System::SharedPtr< Colorget_Peru ()
 Gets a system-defined color that has an ARGB value of #FFCD853F. More...
 
static System::SharedPtr< Colorget_Pink ()
 Gets a system-defined color that has an ARGB value of #FFFFC0CB. More...
 
static System::SharedPtr< Colorget_Plum ()
 Gets a system-defined color that has an ARGB value of #FFDDA0DD. More...
 
static System::SharedPtr< Colorget_PowderBlue ()
 Gets a system-defined color that has an ARGB value of #FFB0E0E6. More...
 
static System::SharedPtr< Colorget_Purple ()
 Gets a system-defined color that has an ARGB value of #FF800080. More...
 
static System::SharedPtr< Colorget_Red ()
 Gets a system-defined color that has an ARGB value of #FFFF0000. More...
 
static System::SharedPtr< Colorget_RosyBrown ()
 Gets a system-defined color that has an ARGB value of #FFBC8F8F. More...
 
static System::SharedPtr< Colorget_RoyalBlue ()
 Gets a system-defined color that has an ARGB value of #FF4169E1. More...
 
static System::SharedPtr< Colorget_SaddleBrown ()
 Gets a system-defined color that has an ARGB value of #FF8B4513. More...
 
static System::SharedPtr< Colorget_Salmon ()
 Gets a system-defined color that has an ARGB value of #FFFA8072. More...
 
static System::SharedPtr< Colorget_SandyBrown ()
 Gets a system-defined color that has an ARGB value of #FFF4A460. More...
 
static System::SharedPtr< Colorget_SeaGreen ()
 Gets a system-defined color that has an ARGB value of #FF2E8B57. More...
 
static System::SharedPtr< Colorget_SeaShell ()
 Gets a system-defined color that has an ARGB value of #FFFFF5EE. More...
 
static System::SharedPtr< Colorget_Sienna ()
 Gets a system-defined color that has an ARGB value of #FFA0522D. More...
 
static System::SharedPtr< Colorget_Silver ()
 Gets a system-defined color that has an ARGB value of #FFC0C0C0. More...
 
static System::SharedPtr< Colorget_SkyBlue ()
 Gets a system-defined color that has an ARGB value of #FF87CEEB. More...
 
static System::SharedPtr< Colorget_SlateBlue ()
 Gets a system-defined color that has an ARGB value of #FF6A5ACD. More...
 
static System::SharedPtr< Colorget_SlateGray ()
 Gets a system-defined color that has an ARGB value of #FF708090. More...
 
static System::SharedPtr< Colorget_Snow ()
 Gets a system-defined color that has an ARGB value of #FFFFFAFA. More...
 
static System::SharedPtr< Colorget_SpringGreen ()
 Gets a system-defined color that has an ARGB value of #FF00FF7F. More...
 
static System::SharedPtr< Colorget_SteelBlue ()
 Gets a system-defined color that has an ARGB value of #FF4682B4. More...
 
static System::SharedPtr< Colorget_Tan ()
 Gets a system-defined color that has an ARGB value of #FFD2B48C. More...
 
static System::SharedPtr< Colorget_Teal ()
 Gets a system-defined color that has an ARGB value of #FF008080. More...
 
static System::SharedPtr< Colorget_Thistle ()
 Gets a system-defined color that has an ARGB value of #FFD8BFD8. More...
 
static System::SharedPtr< Colorget_Tomato ()
 Gets a system-defined color that has an ARGB value of #FFFF6347. More...
 
static System::SharedPtr< Colorget_Turquoise ()
 Gets a system-defined color that has an ARGB value of #FF40E0D0. More...
 
static System::SharedPtr< Colorget_Violet ()
 Gets a system-defined color that has an ARGB value of #FFEE82EE. More...
 
static System::SharedPtr< Colorget_Wheat ()
 Gets a system-defined color that has an ARGB value of #FFF5DEB3. More...
 
static System::SharedPtr< Colorget_White ()
 Gets a system-defined color that has an ARGB value of #FFFFFFFF. More...
 
static System::SharedPtr< Colorget_WhiteSmoke ()
 Gets a system-defined color that has an ARGB value of #FFF5F5F5. More...
 
static System::SharedPtr< Colorget_Yellow ()
 Gets a system-defined color that has an ARGB value of #FFFFFF00. More...
 
static System::SharedPtr< Colorget_YellowGreen ()
 Gets a system-defined color that has an ARGB value of #FF9ACD32. More...
 
static System::SharedPtr< ColorParse (System::String value)
 Extracts color components from the string. More...
 
static System::SharedPtr< ColorFromRgb (System::Drawing::Color color)
 Gets valid pdf Color object from System.Drawing.Color value. More...
 
static System::SharedPtr< ColorFromArgb (int32_t r, int32_t g, int32_t b)
 Gets valid pdf Color object from RGB color components. More...
 
static System::SharedPtr< ColorFromArgb (int32_t a, int32_t r, int32_t g, int32_t b)
 Gets valid pdf Color object from RGB color components. More...
 
static System::SharedPtr< ColorFromRgb (double r, double g, double b)
 Gets valid pdf Color object from RGB color components. More...
 
static System::SharedPtr< ColorFromGray (double g)
 Gets valid pdf Color object from Gray color component. More...
 
static System::SharedPtr< ColorFromCmyk (double c, double m, double y, double k)
 Gets valid pdf Color object from RGB color components. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
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. More...
 
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. More...
 
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. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Static Public Attributes

static System::SharedPtr< ColorEmpty
 

Protected Member Functions

bool get_IsEmpty ()
 If true this is empty (transparent) color. More...
 
 Color (System::ArrayPtr< double > vector)
 
System::SharedPtr< ColorClone ()
 
System::SharedPtr< ColorToRgbColor ()
 
System::SharedPtr< ColorToGrayColor ()
 
System::SharedPtr< ColorToCmykColor ()
 
bool Equal (System::SharedPtr< Color > color)
 

Friends

bool operator== (System::SharedPtr< Color > const &x, System::SharedPtr< Color > const &y)
 
bool operator!= (System::SharedPtr< Color > const &x, System::SharedPtr< Color > const &y)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 

Detailed Description

Represents class for color value which can be expressed in different color space.

Constructor & Destructor Documentation

◆ Color() [1/2]

Aspose::Pdf::Color::Color ( )

◆ Color() [2/2]

Aspose::Pdf::Color::Color ( System::ArrayPtr< double >  vector)
protected

Member Function Documentation

◆ Clone()

System::SharedPtr<Color> Aspose::Pdf::Color::Clone ( )
protected

◆ Equal()

bool Aspose::Pdf::Color::Equal ( System::SharedPtr< Color color)
protected

◆ Equals()

virtual bool Aspose::Pdf::Color::Equals ( System::SharedPtr< System::Object obj)
virtual

Returns true if two Colors are equal.

Parameters
objObject to compare.
Returns
True in case Color objects are equal.

◆ FromArgb() [1/2]

static System::SharedPtr<Color> Aspose::Pdf::Color::FromArgb ( int32_t  r,
int32_t  g,
int32_t  b 
)
static

Gets valid pdf Color object from RGB color components.

Parameters
rThe Red color component (value 0 - 255).
gThe Green color component (value 0 - 255).
bThe Blue color component (value 0 - 255).
Returns
Color object with each component value in [0..255] range.

◆ FromArgb() [2/2]

static System::SharedPtr<Color> Aspose::Pdf::Color::FromArgb ( int32_t  a,
int32_t  r,
int32_t  g,
int32_t  b 
)
static

Gets valid pdf Color object from RGB color components.

Parameters
aThe alpha component value (value 0 - 255).
rThe Red color component (value 0 - 255).
gThe Green color component (value 0 - 255).
bThe Blue color component (value 0 - 255).
Returns
Color object with each component value in [0..255] range.

◆ FromCmyk()

static System::SharedPtr<Color> Aspose::Pdf::Color::FromCmyk ( double  c,
double  m,
double  y,
double  k 
)
static

Gets valid pdf Color object from RGB color components.

Parameters
cThe Cyan color component (value 0 - 1).
mThe Magenta color component (value 0 - 1).
yThe Yellow color component (value 0 - 1).
kThe Key color component (value 0 - 1).
Returns
Color object with each component value in [0..1] range.

◆ FromGray()

static System::SharedPtr<Color> Aspose::Pdf::Color::FromGray ( double  g)
static

Gets valid pdf Color object from Gray color component.

Parameters
gThe Gray color component (value 0 - 1).
Returns
Color object with each component value in [0..1] range.

◆ FromRgb() [1/2]

static System::SharedPtr<Color> Aspose::Pdf::Color::FromRgb ( System::Drawing::Color  color)
static

Gets valid pdf Color object from System.Drawing.Color value.

Parameters
colorSystem.Drawing.Color value.
Returns
Color object with each component value in [0..1] range.

◆ FromRgb() [2/2]

static System::SharedPtr<Color> Aspose::Pdf::Color::FromRgb ( double  r,
double  g,
double  b 
)
static

Gets valid pdf Color object from RGB color components.

Parameters
rThe Red color component (value 0 - 1).
gThe Green color component (value 0 - 1).
bThe Blue color component (value 0 - 1).
Returns
Color object with each component value in [0..1] range.

◆ get_A()

double Aspose::Pdf::Color::get_A ( )

Gets the alpha component value

◆ get_AliceBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_AliceBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_AntiqueWhite()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_AntiqueWhite ( )
static

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

Returns
A representing a system-defined color.

◆ get_Aqua()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Aqua ( )
static

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

Returns
A representing a system-defined color.

◆ get_Aquamarine()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Aquamarine ( )
static

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

Returns
A representing a system-defined color.

◆ get_Azure()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Azure ( )
static

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

Returns
A representing a system-defined color.

◆ get_Beige()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Beige ( )
static

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

Returns
A representing a system-defined color.

◆ get_Bisque()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Bisque ( )
static

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

Returns
A representing a system-defined color.

◆ get_Black()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Black ( )
static

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

Returns
A representing a system-defined color.

◆ get_BlanchedAlmond()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_BlanchedAlmond ( )
static

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

Returns
A representing a system-defined color.

◆ get_Blue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Blue ( )
static

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

Returns
A representing a system-defined color.

◆ get_BlueViolet()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_BlueViolet ( )
static

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

Returns
A representing a system-defined color.

◆ get_Brown()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Brown ( )
static

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

Returns
A representing a system-defined color.

◆ get_BurlyWood()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_BurlyWood ( )
static

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

Returns
A representing a system-defined color.

◆ get_CadetBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_CadetBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_Chartreuse()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Chartreuse ( )
static

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

Returns
A representing a system-defined color.

◆ get_Chocolate()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Chocolate ( )
static

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

Returns
A representing a system-defined color.

◆ get_ColorSpace()

Aspose::Pdf::ColorSpace Aspose::Pdf::Color::get_ColorSpace ( )

Gets color space that the color represents.

◆ get_Coral()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Coral ( )
static

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

Returns
A representing a system-defined color.

◆ get_CornflowerBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_CornflowerBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_Cornsilk()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Cornsilk ( )
static

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

Returns
A representing a system-defined color.

◆ get_Crimson()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Crimson ( )
static

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

Returns
A representing a system-defined color.

◆ get_Cyan()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Cyan ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkCyan()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkCyan ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkGoldenrod()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkGoldenrod ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkGray()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkGray ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkKhaki()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkKhaki ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkMagenta()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkMagenta ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkOliveGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkOliveGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkOrange()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkOrange ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkOrchid()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkOrchid ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkRed()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkRed ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkSalmon()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkSalmon ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkSeaGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkSeaGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkSlateBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkSlateBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkSlateGray()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkSlateGray ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkTurquoise()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkTurquoise ( )
static

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

Returns
A representing a system-defined color.

◆ get_DarkViolet()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DarkViolet ( )
static

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

Returns
A representing a system-defined color.

◆ get_Data()

System::ArrayPtr<double> Aspose::Pdf::Color::get_Data ( )

Gets color value.

◆ get_DeepPink()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DeepPink ( )
static

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

Returns
A representing a system-defined color.

◆ get_DeepSkyBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DeepSkyBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_DimGray()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DimGray ( )
static

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

Returns
A representing a system-defined color.

◆ get_DodgerBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_DodgerBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_Firebrick()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Firebrick ( )
static

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

Returns
A representing a system-defined color.

◆ get_FloralWhite()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_FloralWhite ( )
static

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

Returns
A representing a system-defined color.

◆ get_ForestGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_ForestGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_Fuchsia()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Fuchsia ( )
static

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

Returns
A representing a system-defined color.

◆ get_Gainsboro()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Gainsboro ( )
static

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

Returns
A representing a system-defined color.

◆ get_GhostWhite()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_GhostWhite ( )
static

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

Returns
A representing a system-defined color.

◆ get_Gold()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Gold ( )
static

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

Returns
A representing a system-defined color.

◆ get_Goldenrod()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Goldenrod ( )
static

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

Returns
A representing a system-defined color.

◆ get_Gray()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Gray ( )
static

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

Returns
A strcture representing a system-defined color.

◆ get_Green()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Green ( )
static

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

Returns
A representing a system-defined color.

◆ get_GreenYellow()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_GreenYellow ( )
static

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

Returns
A representing a system-defined color.

◆ get_Honeydew()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Honeydew ( )
static

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

Returns
A representing a system-defined color.

◆ get_HotPink()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_HotPink ( )
static

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

Returns
A representing a system-defined color.

◆ get_IndianRed()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_IndianRed ( )
static

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

Returns
A representing a system-defined color.

◆ get_Indigo()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Indigo ( )
static

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

Returns
A representing a system-defined color.

◆ get_IsEmpty()

bool Aspose::Pdf::Color::get_IsEmpty ( )
protected

If true this is empty (transparent) color.

◆ get_Ivory()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Ivory ( )
static

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

Returns
A representing a system-defined color.

◆ get_Khaki()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Khaki ( )
static

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

Returns
A representing a system-defined color.

◆ get_Lavender()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Lavender ( )
static

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

Returns
A representing a system-defined color.

◆ get_LavenderBlush()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LavenderBlush ( )
static

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

Returns
A representing a system-defined color.

◆ get_LawnGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LawnGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_LemonChiffon()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LemonChiffon ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightCoral()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightCoral ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightCyan()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightCyan ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightGoldenrodYellow()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightGoldenrodYellow ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightGray()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightGray ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightPink()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightPink ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightSalmon()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightSalmon ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightSeaGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightSeaGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightSkyBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightSkyBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightSlateGray()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightSlateGray ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightSteelBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightSteelBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_LightYellow()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LightYellow ( )
static

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

Returns
A representing a system-defined color.

◆ get_Lime()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Lime ( )
static

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

Returns
A representing a system-defined color.

◆ get_LimeGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_LimeGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_Linen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Linen ( )
static

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

Returns
A representing a system-defined color.

◆ get_Magenta()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Magenta ( )
static

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

Returns
A representing a system-defined color.

◆ get_Maroon()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Maroon ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumAquamarine()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumAquamarine ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumOrchid()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumOrchid ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumPurple()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumPurple ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumSeaGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumSeaGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumSlateBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumSlateBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumSpringGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumSpringGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumTurquoise()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumTurquoise ( )
static

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

Returns
A representing a system-defined color.

◆ get_MediumVioletRed()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MediumVioletRed ( )
static

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

Returns
A representing a system-defined color.

◆ get_MidnightBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MidnightBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_MintCream()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MintCream ( )
static

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

Returns
A representing a system-defined color.

◆ get_MistyRose()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_MistyRose ( )
static

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

Returns
A representing a system-defined color.

◆ get_Moccasin()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Moccasin ( )
static

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

Returns
A representing a system-defined color.

◆ get_NavajoWhite()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_NavajoWhite ( )
static

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

Returns
A representing a system-defined color.

◆ get_Navy()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Navy ( )
static

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

Returns
A representing a system-defined color.

◆ get_OldLace()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_OldLace ( )
static

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

Returns
A representing a system-defined color.

◆ get_Olive()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Olive ( )
static

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

Returns
A representing a system-defined color.

◆ get_OliveDrab()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_OliveDrab ( )
static

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

Returns
A representing a system-defined color.

◆ get_Orange()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Orange ( )
static

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

Returns
A representing a system-defined color.

◆ get_OrangeRed()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_OrangeRed ( )
static

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

Returns
A representing a system-defined color.

◆ get_Orchid()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Orchid ( )
static

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

Returns
A representing a system-defined color.

◆ get_PaleGoldenrod()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_PaleGoldenrod ( )
static

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

Returns
A representing a system-defined color.

◆ get_PaleGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_PaleGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_PaleTurquoise()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_PaleTurquoise ( )
static

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

Returns
A representing a system-defined color.

◆ get_PaleVioletRed()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_PaleVioletRed ( )
static

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

Returns
A representing a system-defined color.

◆ get_PapayaWhip()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_PapayaWhip ( )
static

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

Returns
A representing a system-defined color.

◆ get_PatternColorSpace()

System::SharedPtr<Aspose::Pdf::Drawing::PatternColorSpace> Aspose::Pdf::Color::get_PatternColorSpace ( )

Represents a object that indicates the pattern colorspace.

◆ get_PeachPuff()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_PeachPuff ( )
static

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

Returns
A representing a system-defined color.

◆ get_Peru()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Peru ( )
static

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

Returns
A representing a system-defined color.

◆ get_Pink()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Pink ( )
static

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

Returns
A representing a system-defined color.

◆ get_Plum()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Plum ( )
static

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

Returns
A representing a system-defined color.

◆ get_PowderBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_PowderBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_Purple()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Purple ( )
static

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

Returns
A representing a system-defined color.

◆ get_Red()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Red ( )
static

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

Returns
A representing a system-defined color.

◆ get_RosyBrown()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_RosyBrown ( )
static

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

Returns
A representing a system-defined color.

◆ get_RoyalBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_RoyalBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_SaddleBrown()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SaddleBrown ( )
static

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

Returns
A representing a system-defined color.

◆ get_Salmon()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Salmon ( )
static

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

Returns
A representing a system-defined color.

◆ get_SandyBrown()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SandyBrown ( )
static

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

Returns
A representing a system-defined color.

◆ get_SeaGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SeaGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_SeaShell()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SeaShell ( )
static

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

Returns
A representing a system-defined color.

◆ get_Sienna()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Sienna ( )
static

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

Returns
A representing a system-defined color.

◆ get_Silver()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Silver ( )
static

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

Returns
A representing a system-defined color.

◆ get_SkyBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SkyBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_SlateBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SlateBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_SlateGray()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SlateGray ( )
static

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

Returns
A representing a system-defined color.

◆ get_Snow()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Snow ( )
static

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

Returns
A representing a system-defined color.

◆ get_SpringGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SpringGreen ( )
static

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

Returns
A representing a system-defined color.

◆ get_SteelBlue()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_SteelBlue ( )
static

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

Returns
A representing a system-defined color.

◆ get_Tan()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Tan ( )
static

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

Returns
A representing a system-defined color.

◆ get_Teal()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Teal ( )
static

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

Returns
A representing a system-defined color.

◆ get_Thistle()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Thistle ( )
static

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

Returns
A representing a system-defined color.

◆ get_Tomato()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Tomato ( )
static

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

Returns
A representing a system-defined color.

◆ get_Transparent()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Transparent ( )
static

Gets a system-defined color.

Returns
A representing a system-defined color.

◆ get_Turquoise()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Turquoise ( )
static

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

Returns
A representing a system-defined color.

◆ get_Violet()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Violet ( )
static

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

Returns
A representing a system-defined color.

◆ get_Wheat()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Wheat ( )
static

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

Returns
A representing a system-defined color.

◆ get_White()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_White ( )
static

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

Returns
A representing a system-defined color.

◆ get_WhiteSmoke()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_WhiteSmoke ( )
static

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

Returns
A representing a system-defined color.

◆ get_Yellow()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_Yellow ( )
static

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

Returns
A representing a system-defined color.

◆ get_YellowGreen()

static System::SharedPtr<Color> Aspose::Pdf::Color::get_YellowGreen ( )
static

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

Returns
A representing a system-defined color.

◆ Parse()

static System::SharedPtr<Color> Aspose::Pdf::Color::Parse ( System::String  value)
static

Extracts color components from the string.

Parameters
valueString value with color component values.
Returns
Color object.

◆ set_PatternColorSpace()

void Aspose::Pdf::Color::set_PatternColorSpace ( System::SharedPtr< Aspose::Pdf::Drawing::PatternColorSpace value)

Represents a object that indicates the pattern colorspace.

◆ ToCmykColor()

System::SharedPtr<Color> Aspose::Pdf::Color::ToCmykColor ( )
protected

◆ ToGrayColor()

System::SharedPtr<Color> Aspose::Pdf::Color::ToGrayColor ( )
protected

◆ ToRgb()

System::Drawing::Color Aspose::Pdf::Color::ToRgb ( )

Converts color into rgb.

Returns
Rgb color value.

◆ ToRgbColor()

System::SharedPtr<Color> Aspose::Pdf::Color::ToRgbColor ( )
protected

◆ ToString()

virtual System::String Aspose::Pdf::Color::ToString ( )
virtual

Converts to string.

Returns
String representation of the Color object.

Reimplemented from System::Object.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( System::SharedPtr< Color > const &  x,
System::SharedPtr< Color > const &  y 
)
friend

◆ operator==

bool operator== ( System::SharedPtr< Color > const &  x,
System::SharedPtr< Color > const &  y 
)
friend

Member Data Documentation

◆ Empty

System::SharedPtr<Color> Aspose::Pdf::Color::Empty
static