#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, // and/or sell copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. #endregion #if GDI using System.Drawing; #endif #if WPF using System.Windows.Media; #endif namespace PdfSharp.Drawing { /// /// Represents a set of 141 pre-defined RGB colors. Incidentally the values are the same /// as in System.Drawing.Color. /// public static class XColors { ///Gets a predefined color. public static XColor AliceBlue { get { return new XColor(XKnownColor.AliceBlue); } } ///Gets a predefined color. public static XColor AntiqueWhite { get { return new XColor(XKnownColor.AntiqueWhite); } } ///Gets a predefined color. public static XColor Aqua { get { return new XColor(XKnownColor.Aqua); } } ///Gets a predefined color. public static XColor Aquamarine { get { return new XColor(XKnownColor.Aquamarine); } } ///Gets a predefined color. public static XColor Azure { get { return new XColor(XKnownColor.Azure); } } ///Gets a predefined color. public static XColor Beige { get { return new XColor(XKnownColor.Beige); } } ///Gets a predefined color. public static XColor Bisque { get { return new XColor(XKnownColor.Bisque); } } ///Gets a predefined color. public static XColor Black { get { return new XColor(XKnownColor.Black); } } ///Gets a predefined color. public static XColor BlanchedAlmond { get { return new XColor(XKnownColor.BlanchedAlmond); } } ///Gets a predefined color. public static XColor Blue { get { return new XColor(XKnownColor.Blue); } } ///Gets a predefined color. public static XColor BlueViolet { get { return new XColor(XKnownColor.BlueViolet); } } ///Gets a predefined color. public static XColor Brown { get { return new XColor(XKnownColor.Brown); } } ///Gets a predefined color. public static XColor BurlyWood { get { return new XColor(XKnownColor.BurlyWood); } } ///Gets a predefined color. public static XColor CadetBlue { get { return new XColor(XKnownColor.CadetBlue); } } ///Gets a predefined color. public static XColor Chartreuse { get { return new XColor(XKnownColor.Chartreuse); } } ///Gets a predefined color. public static XColor Chocolate { get { return new XColor(XKnownColor.Chocolate); } } ///Gets a predefined color. public static XColor Coral { get { return new XColor(XKnownColor.Coral); } } ///Gets a predefined color. public static XColor CornflowerBlue { get { return new XColor(XKnownColor.CornflowerBlue); } } ///Gets a predefined color. public static XColor Cornsilk { get { return new XColor(XKnownColor.Cornsilk); } } ///Gets a predefined color. public static XColor Crimson { get { return new XColor(XKnownColor.Crimson); } } ///Gets a predefined color. public static XColor Cyan { get { return new XColor(XKnownColor.Cyan); } } ///Gets a predefined color. public static XColor DarkBlue { get { return new XColor(XKnownColor.DarkBlue); } } ///Gets a predefined color. public static XColor DarkCyan { get { return new XColor(XKnownColor.DarkCyan); } } ///Gets a predefined color. public static XColor DarkGoldenrod { get { return new XColor(XKnownColor.DarkGoldenrod); } } ///Gets a predefined color. public static XColor DarkGray { get { return new XColor(XKnownColor.DarkGray); } } ///Gets a predefined color. public static XColor DarkGreen { get { return new XColor(XKnownColor.DarkGreen); } } ///Gets a predefined color. public static XColor DarkKhaki { get { return new XColor(XKnownColor.DarkKhaki); } } ///Gets a predefined color. public static XColor DarkMagenta { get { return new XColor(XKnownColor.DarkMagenta); } } ///Gets a predefined color. public static XColor DarkOliveGreen { get { return new XColor(XKnownColor.DarkOliveGreen); } } ///Gets a predefined color. public static XColor DarkOrange { get { return new XColor(XKnownColor.DarkOrange); } } ///Gets a predefined color. public static XColor DarkOrchid { get { return new XColor(XKnownColor.DarkOrchid); } } ///Gets a predefined color. public static XColor DarkRed { get { return new XColor(XKnownColor.DarkRed); } } ///Gets a predefined color. public static XColor DarkSalmon { get { return new XColor(XKnownColor.DarkSalmon); } } ///Gets a predefined color. public static XColor DarkSeaGreen { get { return new XColor(XKnownColor.DarkSeaGreen); } } ///Gets a predefined color. public static XColor DarkSlateBlue { get { return new XColor(XKnownColor.DarkSlateBlue); } } ///Gets a predefined color. public static XColor DarkSlateGray { get { return new XColor(XKnownColor.DarkSlateGray); } } ///Gets a predefined color. public static XColor DarkTurquoise { get { return new XColor(XKnownColor.DarkTurquoise); } } ///Gets a predefined color. public static XColor DarkViolet { get { return new XColor(XKnownColor.DarkViolet); } } ///Gets a predefined color. public static XColor DeepPink { get { return new XColor(XKnownColor.DeepPink); } } ///Gets a predefined color. public static XColor DeepSkyBlue { get { return new XColor(XKnownColor.DeepSkyBlue); } } ///Gets a predefined color. public static XColor DimGray { get { return new XColor(XKnownColor.DimGray); } } ///Gets a predefined color. public static XColor DodgerBlue { get { return new XColor(XKnownColor.DodgerBlue); } } ///Gets a predefined color. public static XColor Firebrick { get { return new XColor(XKnownColor.Firebrick); } } ///Gets a predefined color. public static XColor FloralWhite { get { return new XColor(XKnownColor.FloralWhite); } } ///Gets a predefined color. public static XColor ForestGreen { get { return new XColor(XKnownColor.ForestGreen); } } ///Gets a predefined color. public static XColor Fuchsia { get { return new XColor(XKnownColor.Fuchsia); } } ///Gets a predefined color. public static XColor Gainsboro { get { return new XColor(XKnownColor.Gainsboro); } } ///Gets a predefined color. public static XColor GhostWhite { get { return new XColor(XKnownColor.GhostWhite); } } ///Gets a predefined color. public static XColor Gold { get { return new XColor(XKnownColor.Gold); } } ///Gets a predefined color. public static XColor Goldenrod { get { return new XColor(XKnownColor.Goldenrod); } } ///Gets a predefined color. public static XColor Gray { get { return new XColor(XKnownColor.Gray); } } ///Gets a predefined color. public static XColor Green { get { return new XColor(XKnownColor.Green); } } ///Gets a predefined color. public static XColor GreenYellow { get { return new XColor(XKnownColor.GreenYellow); } } ///Gets a predefined color. public static XColor Honeydew { get { return new XColor(XKnownColor.Honeydew); } } ///Gets a predefined color. public static XColor HotPink { get { return new XColor(XKnownColor.HotPink); } } ///Gets a predefined color. public static XColor IndianRed { get { return new XColor(XKnownColor.IndianRed); } } ///Gets a predefined color. public static XColor Indigo { get { return new XColor(XKnownColor.Indigo); } } ///Gets a predefined color. public static XColor Ivory { get { return new XColor(XKnownColor.Ivory); } } ///Gets a predefined color. public static XColor Khaki { get { return new XColor(XKnownColor.Khaki); } } ///Gets a predefined color. public static XColor Lavender { get { return new XColor(XKnownColor.Lavender); } } ///Gets a predefined color. public static XColor LavenderBlush { get { return new XColor(XKnownColor.LavenderBlush); } } ///Gets a predefined color. public static XColor LawnGreen { get { return new XColor(XKnownColor.LawnGreen); } } ///Gets a predefined color. public static XColor LemonChiffon { get { return new XColor(XKnownColor.LemonChiffon); } } ///Gets a predefined color. public static XColor LightBlue { get { return new XColor(XKnownColor.LightBlue); } } ///Gets a predefined color. public static XColor LightCoral { get { return new XColor(XKnownColor.LightCoral); } } ///Gets a predefined color. public static XColor LightCyan { get { return new XColor(XKnownColor.LightCyan); } } ///Gets a predefined color. public static XColor LightGoldenrodYellow { get { return new XColor(XKnownColor.LightGoldenrodYellow); } } ///Gets a predefined color. public static XColor LightGray { get { return new XColor(XKnownColor.LightGray); } } ///Gets a predefined color. public static XColor LightGreen { get { return new XColor(XKnownColor.LightGreen); } } ///Gets a predefined color. public static XColor LightPink { get { return new XColor(XKnownColor.LightPink); } } ///Gets a predefined color. public static XColor LightSalmon { get { return new XColor(XKnownColor.LightSalmon); } } ///Gets a predefined color. public static XColor LightSeaGreen { get { return new XColor(XKnownColor.LightSeaGreen); } } ///Gets a predefined color. public static XColor LightSkyBlue { get { return new XColor(XKnownColor.LightSkyBlue); } } ///Gets a predefined color. public static XColor LightSlateGray { get { return new XColor(XKnownColor.LightSlateGray); } } ///Gets a predefined color. public static XColor LightSteelBlue { get { return new XColor(XKnownColor.LightSteelBlue); } } ///Gets a predefined color. public static XColor LightYellow { get { return new XColor(XKnownColor.LightYellow); } } ///Gets a predefined color. public static XColor Lime { get { return new XColor(XKnownColor.Lime); } } ///Gets a predefined color. public static XColor LimeGreen { get { return new XColor(XKnownColor.LimeGreen); } } ///Gets a predefined color. public static XColor Linen { get { return new XColor(XKnownColor.Linen); } } ///Gets a predefined color. public static XColor Magenta { get { return new XColor(XKnownColor.Magenta); } } ///Gets a predefined color. public static XColor Maroon { get { return new XColor(XKnownColor.Maroon); } } ///Gets a predefined color. public static XColor MediumAquamarine { get { return new XColor(XKnownColor.MediumAquamarine); } } ///Gets a predefined color. public static XColor MediumBlue { get { return new XColor(XKnownColor.MediumBlue); } } ///Gets a predefined color. public static XColor MediumOrchid { get { return new XColor(XKnownColor.MediumOrchid); } } ///Gets a predefined color. public static XColor MediumPurple { get { return new XColor(XKnownColor.MediumPurple); } } ///Gets a predefined color. public static XColor MediumSeaGreen { get { return new XColor(XKnownColor.MediumSeaGreen); } } ///Gets a predefined color. public static XColor MediumSlateBlue { get { return new XColor(XKnownColor.MediumSlateBlue); } } ///Gets a predefined color. public static XColor MediumSpringGreen { get { return new XColor(XKnownColor.MediumSpringGreen); } } ///Gets a predefined color. public static XColor MediumTurquoise { get { return new XColor(XKnownColor.MediumTurquoise); } } ///Gets a predefined color. public static XColor MediumVioletRed { get { return new XColor(XKnownColor.MediumVioletRed); } } ///Gets a predefined color. public static XColor MidnightBlue { get { return new XColor(XKnownColor.MidnightBlue); } } ///Gets a predefined color. public static XColor MintCream { get { return new XColor(XKnownColor.MintCream); } } ///Gets a predefined color. public static XColor MistyRose { get { return new XColor(XKnownColor.MistyRose); } } ///Gets a predefined color. public static XColor Moccasin { get { return new XColor(XKnownColor.Moccasin); } } ///Gets a predefined color. public static XColor NavajoWhite { get { return new XColor(XKnownColor.NavajoWhite); } } ///Gets a predefined color. public static XColor Navy { get { return new XColor(XKnownColor.Navy); } } ///Gets a predefined color. public static XColor OldLace { get { return new XColor(XKnownColor.OldLace); } } ///Gets a predefined color. public static XColor Olive { get { return new XColor(XKnownColor.Olive); } } ///Gets a predefined color. public static XColor OliveDrab { get { return new XColor(XKnownColor.OliveDrab); } } ///Gets a predefined color. public static XColor Orange { get { return new XColor(XKnownColor.Orange); } } ///Gets a predefined color. public static XColor OrangeRed { get { return new XColor(XKnownColor.OrangeRed); } } ///Gets a predefined color. public static XColor Orchid { get { return new XColor(XKnownColor.Orchid); } } ///Gets a predefined color. public static XColor PaleGoldenrod { get { return new XColor(XKnownColor.PaleGoldenrod); } } ///Gets a predefined color. public static XColor PaleGreen { get { return new XColor(XKnownColor.PaleGreen); } } ///Gets a predefined color. public static XColor PaleTurquoise { get { return new XColor(XKnownColor.PaleTurquoise); } } ///Gets a predefined color. public static XColor PaleVioletRed { get { return new XColor(XKnownColor.PaleVioletRed); } } ///Gets a predefined color. public static XColor PapayaWhip { get { return new XColor(XKnownColor.PapayaWhip); } } ///Gets a predefined color. public static XColor PeachPuff { get { return new XColor(XKnownColor.PeachPuff); } } ///Gets a predefined color. public static XColor Peru { get { return new XColor(XKnownColor.Peru); } } ///Gets a predefined color. public static XColor Pink { get { return new XColor(XKnownColor.Pink); } } ///Gets a predefined color. public static XColor Plum { get { return new XColor(XKnownColor.Plum); } } ///Gets a predefined color. public static XColor PowderBlue { get { return new XColor(XKnownColor.PowderBlue); } } ///Gets a predefined color. public static XColor Purple { get { return new XColor(XKnownColor.Purple); } } ///Gets a predefined color. public static XColor Red { get { return new XColor(XKnownColor.Red); } } ///Gets a predefined color. public static XColor RosyBrown { get { return new XColor(XKnownColor.RosyBrown); } } ///Gets a predefined color. public static XColor RoyalBlue { get { return new XColor(XKnownColor.RoyalBlue); } } ///Gets a predefined color. public static XColor SaddleBrown { get { return new XColor(XKnownColor.SaddleBrown); } } ///Gets a predefined color. public static XColor Salmon { get { return new XColor(XKnownColor.Salmon); } } ///Gets a predefined color. public static XColor SandyBrown { get { return new XColor(XKnownColor.SandyBrown); } } ///Gets a predefined color. public static XColor SeaGreen { get { return new XColor(XKnownColor.SeaGreen); } } ///Gets a predefined color. public static XColor SeaShell { get { return new XColor(XKnownColor.SeaShell); } } ///Gets a predefined color. public static XColor Sienna { get { return new XColor(XKnownColor.Sienna); } } ///Gets a predefined color. public static XColor Silver { get { return new XColor(XKnownColor.Silver); } } ///Gets a predefined color. public static XColor SkyBlue { get { return new XColor(XKnownColor.SkyBlue); } } ///Gets a predefined color. public static XColor SlateBlue { get { return new XColor(XKnownColor.SlateBlue); } } ///Gets a predefined color. public static XColor SlateGray { get { return new XColor(XKnownColor.SlateGray); } } ///Gets a predefined color. public static XColor Snow { get { return new XColor(XKnownColor.Snow); } } ///Gets a predefined color. public static XColor SpringGreen { get { return new XColor(XKnownColor.SpringGreen); } } ///Gets a predefined color. public static XColor SteelBlue { get { return new XColor(XKnownColor.SteelBlue); } } ///Gets a predefined color. public static XColor Tan { get { return new XColor(XKnownColor.Tan); } } ///Gets a predefined color. public static XColor Teal { get { return new XColor(XKnownColor.Teal); } } ///Gets a predefined color. public static XColor Thistle { get { return new XColor(XKnownColor.Thistle); } } ///Gets a predefined color. public static XColor Tomato { get { return new XColor(XKnownColor.Tomato); } } ///Gets a predefined color. public static XColor Transparent { get { return new XColor(XKnownColor.Transparent); } } ///Gets a predefined color. public static XColor Turquoise { get { return new XColor(XKnownColor.Turquoise); } } ///Gets a predefined color. public static XColor Violet { get { return new XColor(XKnownColor.Violet); } } ///Gets a predefined color. public static XColor Wheat { get { return new XColor(XKnownColor.Wheat); } } ///Gets a predefined color. public static XColor White { get { return new XColor(XKnownColor.White); } } ///Gets a predefined color. public static XColor WhiteSmoke { get { return new XColor(XKnownColor.WhiteSmoke); } } ///Gets a predefined color. public static XColor Yellow { get { return new XColor(XKnownColor.Yellow); } } ///Gets a predefined color. public static XColor YellowGreen { get { return new XColor(XKnownColor.YellowGreen); } } } }