Aspose::Pdf::Color class
Contents
[
Hide
]Color class
Represents class for color value which can be expressed in different color space.
class Color : public System::Object
Methods
Method | Description |
---|---|
Color() | Default constructor. |
Equals(System::SharedPtr<System::Object>) override | Returns true if two Colors are equal. |
static FromArgb(int32_t, int32_t, int32_t) | Gets valid pdf Color object from RGB color components. |
static FromArgb(int32_t, int32_t, int32_t, int32_t) | Gets valid pdf Color object from RGB color components. |
static FromCmyk(double, double, double, double) | Gets valid pdf Color object from CMYK color components. |
static FromGray(double) | Gets valid pdf Color object from Gray color component. |
static FromRgb(System::Drawing::Color) | Gets valid pdf Color object from System.Drawing.Color value. |
static FromRgb(double, double, double) | Gets valid pdf Color object from RGB color components. |
get_A() const | Gets the alpha component value. |
static get_AliceBlue() | Gets a system-defined color that has an ARGB value of #FFF0F8FF. |
static get_AntiqueWhite() | Gets a system-defined color that has an ARGB value of #FFFAEBD7. |
static get_Aqua() | Gets a system-defined color that has an ARGB value of #FF00FFFF. |
static get_Aquamarine() | Gets a system-defined color that has an ARGB value of #FF7FFFD4. |
static get_Azure() | Gets a system-defined color that has an ARGB value of #FFF0FFFF. |
static get_Beige() | Gets a system-defined color that has an ARGB value of #FFF5F5DC. |
static get_Bisque() | Gets a system-defined color that has an ARGB value of #FFFFE4C4. |
static get_Black() | Gets a system-defined color that has an ARGB value of #FF000000. |
static get_BlanchedAlmond() | Gets a system-defined color that has an ARGB value of #FFFFEBCD. |
static get_Blue() | Gets a system-defined color that has an ARGB value of #FF0000FF. |
static get_BlueViolet() | Gets a system-defined color that has an ARGB value of #FF8A2BE2. |
static get_Brown() | Gets a system-defined color that has an ARGB value of #FFA52A2A. |
static get_BurlyWood() | Gets a system-defined color that has an ARGB value of #FFDEB887. |
static get_CadetBlue() | Gets a system-defined color that has an ARGB value of #FF5F9EA0. |
static get_Chartreuse() | Gets a system-defined color that has an ARGB value of #FF7FFF00. |
static get_Chocolate() | Gets a system-defined color that has an ARGB value of #FFD2691E. |
get_ColorSpace() | Gets color space that the color represents. |
static get_Coral() | Gets a system-defined color that has an ARGB value of #FFFF7F50. |
static get_CornflowerBlue() | Gets a system-defined color that has an ARGB value of #FF6495ED. |
static get_Cornsilk() | Gets a system-defined color that has an ARGB value of #FFFFF8DC. |
static get_Crimson() | Gets a system-defined color that has an ARGB value of #FFDC143C. |
static get_Cyan() | Gets a system-defined color that has an ARGB value of #FF00FFFF. |
static get_DarkBlue() | Gets a system-defined color that has an ARGB value of #FF00008B. |
static get_DarkCyan() | Gets a system-defined color that has an ARGB value of #FF008B8B. |
static get_DarkGoldenrod() | Gets a system-defined color that has an ARGB value of #FFB8860B. |
static get_DarkGray() | Gets a system-defined color that has an ARGB value of #FFA9A9A9. |
static get_DarkGreen() | Gets a system-defined color that has an ARGB value of #FF006400. |
static get_DarkKhaki() | Gets a system-defined color that has an ARGB value of #FFBDB76B. |
static get_DarkMagenta() | Gets a system-defined color that has an ARGB value of #FF8B008B. |
static get_DarkOliveGreen() | Gets a system-defined color that has an ARGB value of #FF556B2F. |
static get_DarkOrange() | Gets a system-defined color that has an ARGB value of #FFFF8C00. |
static get_DarkOrchid() | Gets a system-defined color that has an ARGB value of #FF9932CC. |
static get_DarkRed() | Gets a system-defined color that has an ARGB value of #FF8B0000. |
static get_DarkSalmon() | Gets a system-defined color that has an ARGB value of #FFE9967A. |
static get_DarkSeaGreen() | Gets a system-defined color that has an ARGB value of #FF8FBC8F. |
static get_DarkSlateBlue() | Gets a system-defined color that has an ARGB value of #FF483D8B. |
static get_DarkSlateGray() | Gets a system-defined color that has an ARGB value of #FF2F4F4F. |
static get_DarkTurquoise() | Gets a system-defined color that has an ARGB value of #FF00CED1. |
static get_DarkViolet() | Gets a system-defined color that has an ARGB value of #FF9400D3. |
get_Data() const | Gets color value. |
static get_DeepPink() | Gets a system-defined color that has an ARGB value of #FFFF1493. |
static get_DeepSkyBlue() | Gets a system-defined color that has an ARGB value of #FF00BFFF. |
static get_DimGray() | Gets a system-defined color that has an ARGB value of #FF696969. |
static get_DodgerBlue() | Gets a system-defined color that has an ARGB value of #FF1E90FF. |
static get_Firebrick() | Gets a system-defined color that has an ARGB value of #FFB22222. |
static get_FloralWhite() | Gets a system-defined color that has an ARGB value of #FFFFFAF0. |
static get_ForestGreen() | Gets a system-defined color that has an ARGB value of #FF228B22. |
static get_Fuchsia() | Gets a system-defined color that has an ARGB value of #FFFF00FF. |
static get_Gainsboro() | Gets a system-defined color that has an ARGB value of #FFDCDCDC. |
static get_GhostWhite() | Gets a system-defined color that has an ARGB value of #FFF8F8FF. |
static get_Gold() | Gets a system-defined color that has an ARGB value of #FFFFD700. |
static get_Goldenrod() | Gets a system-defined color that has an ARGB value of #FFDAA520. |
static get_Gray() | Gets a system-defined color that has an ARGB value of #FF808080. |
static get_Green() | Gets a system-defined color that has an ARGB value of #FF008000. |
static get_GreenYellow() | Gets a system-defined color that has an ARGB value of #FFADFF2F. |
static get_Honeydew() | Gets a system-defined color that has an ARGB value of #FFF0FFF0. |
static get_HotPink() | Gets a system-defined color that has an ARGB value of #FFFF69B4. |
static get_IndianRed() | Gets a system-defined color that has an ARGB value of #FFCD5C5C. |
static get_Indigo() | Gets a system-defined color that has an ARGB value of #FF4B0082. |
static get_Ivory() | Gets a system-defined color that has an ARGB value of #FFFFFFF0. |
static get_Khaki() | Gets a system-defined color that has an ARGB value of #FFF0E68C. |
static get_Lavender() | Gets a system-defined color that has an ARGB value of #FFE6E6FA. |
static get_LavenderBlush() | Gets a system-defined color that has an ARGB value of #FFFFF0F5. |
static get_LawnGreen() | Gets a system-defined color that has an ARGB value of #FF7CFC00. |
static get_LemonChiffon() | Gets a system-defined color that has an ARGB value of #FFFFFACD. |
static get_LightBlue() | Gets a system-defined color that has an ARGB value of #FFADD8E6. |
static get_LightCoral() | Gets a system-defined color that has an ARGB value of #FFF08080. |
static get_LightCyan() | Gets a system-defined color that has an ARGB value of #FFE0FFFF. |
static get_LightGoldenrodYellow() | Gets a system-defined color that has an ARGB value of #FFFAFAD2. |
static get_LightGray() | Gets a system-defined color that has an ARGB value of #FFD3D3D3. |
static get_LightGreen() | Gets a system-defined color that has an ARGB value of #FF90EE90. |
static get_LightPink() | Gets a system-defined color that has an ARGB value of #FFFFB6C1. |
static get_LightSalmon() | Gets a system-defined color that has an ARGB value of #FFFFA07A. |
static get_LightSeaGreen() | Gets a system-defined color that has an ARGB value of #FF20B2AA. |
static get_LightSkyBlue() | Gets a system-defined color that has an ARGB value of #FF87CEFA. |
static get_LightSlateGray() | Gets a system-defined color that has an ARGB value of #FF778899. |
static get_LightSteelBlue() | Gets a system-defined color that has an ARGB value of #FFB0C4DE. |
static get_LightYellow() | Gets a system-defined color that has an ARGB value of #FFFFFFE0. |
static get_Lime() | Gets a system-defined color that has an ARGB value of #FF00FF00. |
static get_LimeGreen() | Gets a system-defined color that has an ARGB value of #FF32CD32. |
static get_Linen() | Gets a system-defined color that has an ARGB value of #FFFAF0E6. |
static get_Magenta() | Gets a system-defined color that has an ARGB value of #FFFF00FF. |
static get_Maroon() | Gets a system-defined color that has an ARGB value of #FF800000. |
static get_MediumAquamarine() | Gets a system-defined color that has an ARGB value of #FF66CDAA. |
static get_MediumBlue() | Gets a system-defined color that has an ARGB value of #FF0000CD. |
static get_MediumOrchid() | Gets a system-defined color that has an ARGB value of #FFBA55D3. |
static get_MediumPurple() | Gets a system-defined color that has an ARGB value of #FF9370DB. |
static get_MediumSeaGreen() | Gets a system-defined color that has an ARGB value of #FF3CB371. |
static get_MediumSlateBlue() | Gets a system-defined color that has an ARGB value of #FF7B68EE. |
static get_MediumSpringGreen() | Gets a system-defined color that has an ARGB value of #FF00FA9A. |
static get_MediumTurquoise() | Gets a system-defined color that has an ARGB value of #FF48D1CC. |
static get_MediumVioletRed() | Gets a system-defined color that has an ARGB value of #FFC71585. |
static get_MidnightBlue() | Gets a system-defined color that has an ARGB value of #FF191970. |
static get_MintCream() | Gets a system-defined color that has an ARGB value of #FFF5FFFA. |
static get_MistyRose() | Gets a system-defined color that has an ARGB value of #FFFFE4E1. |
static get_Moccasin() | Gets a system-defined color that has an ARGB value of #FFFFE4B5. |
static get_NavajoWhite() | Gets a system-defined color that has an ARGB value of #FFFFDEAD. |
static get_Navy() | Gets a system-defined color that has an ARGB value of #FF000080. |
static get_OldLace() | Gets a system-defined color that has an ARGB value of #FFFDF5E6. |
static get_Olive() | Gets a system-defined color that has an ARGB value of #FF808000. |
static get_OliveDrab() | Gets a system-defined color that has an ARGB value of #FF6B8E23. |
static get_Orange() | Gets a system-defined color that has an ARGB value of #FFFFA500. |
static get_OrangeRed() | Gets a system-defined color that has an ARGB value of #FFFF4500. |
static get_Orchid() | Gets a system-defined color that has an ARGB value of #FFDA70D6. |
static get_PaleGoldenrod() | Gets a system-defined color that has an ARGB value of #FFEEE8AA. |
static get_PaleGreen() | Gets a system-defined color that has an ARGB value of #FF98FB98. |
static get_PaleTurquoise() | Gets a system-defined color that has an ARGB value of #FFAFEEEE. |
static get_PaleVioletRed() | Gets a system-defined color that has an ARGB value of #FFDB7093. |
static get_PapayaWhip() | Gets a system-defined color that has an ARGB value of #FFFFEFD5. |
get_PatternColorSpace() const | Represents a object that indicates the pattern colorspace. |
static get_PeachPuff() | Gets a system-defined color that has an ARGB value of #FFFFDAB9. |
static get_Peru() | Gets a system-defined color that has an ARGB value of #FFCD853F. |
static get_Pink() | Gets a system-defined color that has an ARGB value of #FFFFC0CB. |
static get_Plum() | Gets a system-defined color that has an ARGB value of #FFDDA0DD. |
static get_PowderBlue() | Gets a system-defined color that has an ARGB value of #FFB0E0E6. |
static get_Purple() | Gets a system-defined color that has an ARGB value of #FF800080. |
static get_Red() | Gets a system-defined color that has an ARGB value of #FFFF0000. |
static get_RosyBrown() | Gets a system-defined color that has an ARGB value of #FFBC8F8F. |
static get_RoyalBlue() | Gets a system-defined color that has an ARGB value of #FF4169E1. |
static get_SaddleBrown() | Gets a system-defined color that has an ARGB value of #FF8B4513. |
static get_Salmon() | Gets a system-defined color that has an ARGB value of #FFFA8072. |
static get_SandyBrown() | Gets a system-defined color that has an ARGB value of #FFF4A460. |
static get_SeaGreen() | Gets a system-defined color that has an ARGB value of #FF2E8B57. |
static get_SeaShell() | Gets a system-defined color that has an ARGB value of #FFFFF5EE. |
static get_Sienna() | Gets a system-defined color that has an ARGB value of #FFA0522D. |
static get_Silver() | Gets a system-defined color that has an ARGB value of #FFC0C0C0. |
static get_SkyBlue() | Gets a system-defined color that has an ARGB value of #FF87CEEB. |
static get_SlateBlue() | Gets a system-defined color that has an ARGB value of #FF6A5ACD. |
static get_SlateGray() | Gets a system-defined color that has an ARGB value of #FF708090. |
static get_Snow() | Gets a system-defined color that has an ARGB value of #FFFFFAFA. |
static get_SpringGreen() | Gets a system-defined color that has an ARGB value of #FF00FF7F. |
static get_SteelBlue() | Gets a system-defined color that has an ARGB value of #FF4682B4. |
static get_Tan() | Gets a system-defined color that has an ARGB value of #FFD2B48C. |
static get_Teal() | Gets a system-defined color that has an ARGB value of #FF008080. |
static get_Thistle() | Gets a system-defined color that has an ARGB value of #FFD8BFD8. |
static get_Tomato() | Gets a system-defined color that has an ARGB value of #FFFF6347. |
static get_Transparent() | Gets a system-defined color. |
static get_Turquoise() | Gets a system-defined color that has an ARGB value of #FF40E0D0. |
static get_Violet() | Gets a system-defined color that has an ARGB value of #FFEE82EE. |
static get_Wheat() | Gets a system-defined color that has an ARGB value of #FFF5DEB3. |
static get_White() | Gets a system-defined color that has an ARGB value of #FFFFFFFF. |
static get_WhiteSmoke() | Gets a system-defined color that has an ARGB value of #FFF5F5F5. |
static get_Yellow() | Gets a system-defined color that has an ARGB value of #FFFFFF00. |
static get_YellowGreen() | Gets a system-defined color that has an ARGB value of #FF9ACD32. |
static Parse(System::String) | Extracts color components from the string. |
set_PatternColorSpace(System::SharedPtr<Aspose::Pdf::Drawing::PatternColorSpace>) | Represents a object that indicates the pattern colorspace. |
ToRgb() | Converts color into rgb. |
ToString() const override | Converts to string. |
Fields
Field | Description |
---|---|
static Empty | Represents empty color. |
See Also
- Class Object
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++