diff --git a/Perspex.Base/Contract.cs b/Perspex.Base/Contract.cs
index 721d9f17bd..416c32cf4b 100644
--- a/Perspex.Base/Contract.cs
+++ b/Perspex.Base/Contract.cs
@@ -8,8 +8,23 @@ namespace Perspex
{
using System;
+ ///
+ /// A stub of Code Contract's Contract class.
+ ///
+ ///
+ /// It would be nice to use Code Contracts on Perspex but last time I tried it slowed things
+ /// to a crawl and often crashed. Instead use the same signature for checking preconditions
+ /// in the hope that it might become usable at some point.
+ ///
public static class Contract
{
+ ///
+ /// Specifies a precondition.
+ ///
+ ///
+ /// The exception to throw if is false.
+ ///
+ /// The precondition.
public static void Requires(bool condition) where TException : Exception, new()
{
#if DEBUG
diff --git a/Perspex.Controls/ToolTip.cs b/Perspex.Controls/ToolTip.cs
index 3e00c0c595..8ea050a60a 100644
--- a/Perspex.Controls/ToolTip.cs
+++ b/Perspex.Controls/ToolTip.cs
@@ -48,7 +48,7 @@ namespace Perspex.Controls
private static Subject show = new Subject();
///
- /// Statically constructs the tooltip class.
+ /// Initializes static members of the class.
///
static ToolTip()
{
diff --git a/Perspex.SceneGraph/Animation/PageSlide.cs b/Perspex.SceneGraph/Animation/PageSlide.cs
index 6eccaeb296..19f607912a 100644
--- a/Perspex.SceneGraph/Animation/PageSlide.cs
+++ b/Perspex.SceneGraph/Animation/PageSlide.cs
@@ -11,17 +11,41 @@ namespace Perspex.Animation
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using Perspex.Media;
- using Perspex.VisualTree;
+ ///
+ /// Transitions between two pages by sliding them horizontally.
+ ///
public class PageSlide : IPageTransition
{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The duration of the animation.
public PageSlide(TimeSpan duration)
{
this.Duration = duration;
}
+ ///
+ /// Gets the duration of the animation.
+ ///
public TimeSpan Duration { get; }
+ ///
+ /// Starts the animation.
+ ///
+ ///
+ /// The control that is being transitioned away from. May be null.
+ ///
+ ///
+ /// The control that is being transitioned to. May be null.
+ ///
+ ///
+ /// If true, the new page is slid in from the right, or if false from the left.
+ ///
+ ///
+ /// A that tracks the progress of the animation.
+ ///
public async Task Start(IVisual from, IVisual to, bool forward)
{
var tasks = new List();
@@ -63,6 +87,18 @@ namespace Perspex.Animation
}
}
+ ///
+ /// Gets the common visual parent of the two control.
+ ///
+ /// The from control.
+ /// The to control.
+ /// The common parent.
+ ///
+ /// The two controls do not share a common parent.
+ ///
+ ///
+ /// Any one of the parameters may be null, but not both.
+ ///
private static IVisual GetVisualParent(IVisual from, IVisual to)
{
var p1 = (from ?? to).VisualParent;
diff --git a/Perspex.SceneGraph/Media/Brushes.cs b/Perspex.SceneGraph/Media/Brushes.cs
index f7c2bd0eb5..9b04a9ffaf 100644
--- a/Perspex.SceneGraph/Media/Brushes.cs
+++ b/Perspex.SceneGraph/Media/Brushes.cs
@@ -11,6 +11,9 @@ namespace Perspex.Media
///
public static class Brushes
{
+ ///
+ /// Initializes static members of the class.
+ ///
static Brushes()
{
AliceBlue = new SolidColorBrush(Colors.AliceBlue);
@@ -156,286 +159,709 @@ namespace Perspex.Media
YellowGreen = new SolidColorBrush(Colors.YellowGreen);
}
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush AliceBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush AntiqueWhite { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Aqua { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Aquamarine { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Azure { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Beige { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Bisque { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Black { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush BlanchedAlmond { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Blue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush BlueViolet { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Brown { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush BurlyWood { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush CadetBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Chartreuse { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Chocolate { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Coral { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush CornflowerBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Cornsilk { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Crimson { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Cyan { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkCyan { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkGoldenrod { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkGray { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkKhaki { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkMagenta { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkOliveGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkOrange { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkOrchid { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkRed { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkSalmon { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkSeaGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkSlateBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkSlateGray { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkTurquoise { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DarkViolet { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DeepPink { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DeepSkyBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DimGray { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush DodgerBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Firebrick { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush FloralWhite { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush ForestGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Fuchsia { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Gainsboro { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush GhostWhite { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Gold { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Goldenrod { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Gray { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Green { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush GreenYellow { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Honeydew { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush HotPink { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush IndianRed { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Indigo { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Ivory { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Khaki { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Lavender { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LavenderBlush { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LawnGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LemonChiffon { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightCoral { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightCyan { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightGoldenrodYellow { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightGray { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightPink { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightSalmon { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightSeaGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightSkyBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightSlateGray { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightSteelBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LightYellow { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Lime { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush LimeGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Linen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Magenta { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Maroon { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumAquamarine { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumOrchid { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumPurple { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumSeaGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumSlateBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumSpringGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumTurquoise { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MediumVioletRed { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MidnightBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MintCream { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush MistyRose { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Moccasin { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush NavajoWhite { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Navy { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush OldLace { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Olive { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush OliveDrab { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Orange { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush OrangeRed { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Orchid { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush PaleGoldenrod { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush PaleGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush PaleTurquoise { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush PaleVioletRed { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush PapayaWhip { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush PeachPuff { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Peru { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Pink { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Plum { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush PowderBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Purple { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Red { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush RosyBrown { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush RoyalBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SaddleBrown { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Salmon { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SandyBrown { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SeaGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SeaShell { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Sienna { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Silver { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SkyBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SlateBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SlateGray { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Snow { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SpringGreen { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush SteelBlue { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Tan { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Teal { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Thistle { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Tomato { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Transparent { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Turquoise { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Violet { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Wheat { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush White { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush WhiteSmoke { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush Yellow { get; private set; }
+ ///
+ /// Gets an colored brush.
+ ///
public static SolidColorBrush YellowGreen { get; private set; }
}
}
diff --git a/Perspex.SceneGraph/Media/Colors.cs b/Perspex.SceneGraph/Media/Colors.cs
index 6a48e4226c..d3cb04f909 100644
--- a/Perspex.SceneGraph/Media/Colors.cs
+++ b/Perspex.SceneGraph/Media/Colors.cs
@@ -1,713 +1,1139 @@
// -----------------------------------------------------------------------
//
-// Copyright 2014 MIT Licence. See licence.md for more information.
+// Copyright 2015 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Media
{
+ ///
+ /// Defines a set of predefined colors.
+ ///
public sealed class Colors
{
+ ///
+ /// Gets a color with an ARGB value of #fff0f8ff.
+ ///
public static Color AliceBlue
{
get { return Color.FromUInt32(0xfff0f8ff); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffaebd7.
+ ///
public static Color AntiqueWhite
{
get { return Color.FromUInt32(0xfffaebd7); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00ffff.
+ ///
public static Color Aqua
{
get { return Color.FromUInt32(0xff00ffff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff7fffd4.
+ ///
public static Color Aquamarine
{
get { return Color.FromUInt32(0xff7fffd4); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff0ffff.
+ ///
public static Color Azure
{
get { return Color.FromUInt32(0xfff0ffff); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff5f5dc.
+ ///
public static Color Beige
{
get { return Color.FromUInt32(0xfff5f5dc); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffe4c4.
+ ///
public static Color Bisque
{
get { return Color.FromUInt32(0xffffe4c4); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff000000.
+ ///
public static Color Black
{
get { return Color.FromUInt32(0xff000000); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffebcd.
+ ///
public static Color BlanchedAlmond
{
get { return Color.FromUInt32(0xffffebcd); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff0000ff.
+ ///
public static Color Blue
{
get { return Color.FromUInt32(0xff0000ff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff8a2be2.
+ ///
public static Color BlueViolet
{
get { return Color.FromUInt32(0xff8a2be2); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffa52a2a.
+ ///
public static Color Brown
{
get { return Color.FromUInt32(0xffa52a2a); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffdeb887.
+ ///
public static Color BurlyWood
{
get { return Color.FromUInt32(0xffdeb887); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff5f9ea0.
+ ///
public static Color CadetBlue
{
get { return Color.FromUInt32(0xff5f9ea0); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff7fff00.
+ ///
public static Color Chartreuse
{
get { return Color.FromUInt32(0xff7fff00); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffd2691e.
+ ///
public static Color Chocolate
{
get { return Color.FromUInt32(0xffd2691e); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff7f50.
+ ///
public static Color Coral
{
get { return Color.FromUInt32(0xffff7f50); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff6495ed.
+ ///
public static Color CornflowerBlue
{
get { return Color.FromUInt32(0xff6495ed); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffff8dc.
+ ///
public static Color Cornsilk
{
get { return Color.FromUInt32(0xfffff8dc); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffdc143c.
+ ///
public static Color Crimson
{
get { return Color.FromUInt32(0xffdc143c); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00ffff.
+ ///
public static Color Cyan
{
get { return Color.FromUInt32(0xff00ffff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00008b.
+ ///
public static Color DarkBlue
{
get { return Color.FromUInt32(0xff00008b); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff008b8b.
+ ///
public static Color DarkCyan
{
get { return Color.FromUInt32(0xff008b8b); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffb8860b.
+ ///
public static Color DarkGoldenrod
{
get { return Color.FromUInt32(0xffb8860b); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffa9a9a9.
+ ///
public static Color DarkGray
{
get { return Color.FromUInt32(0xffa9a9a9); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff006400.
+ ///
public static Color DarkGreen
{
get { return Color.FromUInt32(0xff006400); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffbdb76b.
+ ///
public static Color DarkKhaki
{
get { return Color.FromUInt32(0xffbdb76b); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff8b008b.
+ ///
public static Color DarkMagenta
{
get { return Color.FromUInt32(0xff8b008b); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff556b2f.
+ ///
public static Color DarkOliveGreen
{
get { return Color.FromUInt32(0xff556b2f); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff8c00.
+ ///
public static Color DarkOrange
{
get { return Color.FromUInt32(0xffff8c00); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff9932cc.
+ ///
public static Color DarkOrchid
{
get { return Color.FromUInt32(0xff9932cc); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff8b0000.
+ ///
public static Color DarkRed
{
get { return Color.FromUInt32(0xff8b0000); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffe9967a.
+ ///
public static Color DarkSalmon
{
get { return Color.FromUInt32(0xffe9967a); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff8fbc8f.
+ ///
public static Color DarkSeaGreen
{
get { return Color.FromUInt32(0xff8fbc8f); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff483d8b.
+ ///
public static Color DarkSlateBlue
{
get { return Color.FromUInt32(0xff483d8b); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff2f4f4f.
+ ///
public static Color DarkSlateGray
{
get { return Color.FromUInt32(0xff2f4f4f); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00ced1.
+ ///
public static Color DarkTurquoise
{
get { return Color.FromUInt32(0xff00ced1); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff9400d3.
+ ///
public static Color DarkViolet
{
get { return Color.FromUInt32(0xff9400d3); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff1493.
+ ///
public static Color DeepPink
{
get { return Color.FromUInt32(0xffff1493); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00bfff.
+ ///
public static Color DeepSkyBlue
{
get { return Color.FromUInt32(0xff00bfff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff696969.
+ ///
public static Color DimGray
{
get { return Color.FromUInt32(0xff696969); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff1e90ff.
+ ///
public static Color DodgerBlue
{
get { return Color.FromUInt32(0xff1e90ff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffb22222.
+ ///
public static Color Firebrick
{
get { return Color.FromUInt32(0xffb22222); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffffaf0.
+ ///
public static Color FloralWhite
{
get { return Color.FromUInt32(0xfffffaf0); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff228b22.
+ ///
public static Color ForestGreen
{
get { return Color.FromUInt32(0xff228b22); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff00ff.
+ ///
public static Color Fuchsia
{
get { return Color.FromUInt32(0xffff00ff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffdcdcdc.
+ ///
public static Color Gainsboro
{
get { return Color.FromUInt32(0xffdcdcdc); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff8f8ff.
+ ///
public static Color GhostWhite
{
get { return Color.FromUInt32(0xfff8f8ff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffd700.
+ ///
public static Color Gold
{
get { return Color.FromUInt32(0xffffd700); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffdaa520.
+ ///
public static Color Goldenrod
{
get { return Color.FromUInt32(0xffdaa520); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff808080.
+ ///
public static Color Gray
{
get { return Color.FromUInt32(0xff808080); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff008000.
+ ///
public static Color Green
{
get { return Color.FromUInt32(0xff008000); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffadff2f.
+ ///
public static Color GreenYellow
{
get { return Color.FromUInt32(0xffadff2f); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff0fff0.
+ ///
public static Color Honeydew
{
get { return Color.FromUInt32(0xfff0fff0); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff69b4.
+ ///
public static Color HotPink
{
get { return Color.FromUInt32(0xffff69b4); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffcd5c5c.
+ ///
public static Color IndianRed
{
get { return Color.FromUInt32(0xffcd5c5c); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff4b0082.
+ ///
public static Color Indigo
{
get { return Color.FromUInt32(0xff4b0082); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffffff0.
+ ///
public static Color Ivory
{
get { return Color.FromUInt32(0xfffffff0); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff0e68c.
+ ///
public static Color Khaki
{
get { return Color.FromUInt32(0xfff0e68c); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffe6e6fa.
+ ///
public static Color Lavender
{
get { return Color.FromUInt32(0xffe6e6fa); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffff0f5.
+ ///
public static Color LavenderBlush
{
get { return Color.FromUInt32(0xfffff0f5); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff7cfc00.
+ ///
public static Color LawnGreen
{
get { return Color.FromUInt32(0xff7cfc00); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffffacd.
+ ///
public static Color LemonChiffon
{
get { return Color.FromUInt32(0xfffffacd); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffadd8e6.
+ ///
public static Color LightBlue
{
get { return Color.FromUInt32(0xffadd8e6); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff08080.
+ ///
public static Color LightCoral
{
get { return Color.FromUInt32(0xfff08080); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffe0ffff.
+ ///
public static Color LightCyan
{
get { return Color.FromUInt32(0xffe0ffff); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffafad2.
+ ///
public static Color LightGoldenrodYellow
{
get { return Color.FromUInt32(0xfffafad2); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffd3d3d3.
+ ///
public static Color LightGray
{
get { return Color.FromUInt32(0xffd3d3d3); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff90ee90.
+ ///
public static Color LightGreen
{
get { return Color.FromUInt32(0xff90ee90); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffb6c1.
+ ///
public static Color LightPink
{
get { return Color.FromUInt32(0xffffb6c1); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffa07a.
+ ///
public static Color LightSalmon
{
get { return Color.FromUInt32(0xffffa07a); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff20b2aa.
+ ///
public static Color LightSeaGreen
{
get { return Color.FromUInt32(0xff20b2aa); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff87cefa.
+ ///
public static Color LightSkyBlue
{
get { return Color.FromUInt32(0xff87cefa); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff778899.
+ ///
public static Color LightSlateGray
{
get { return Color.FromUInt32(0xff778899); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffb0c4de.
+ ///
public static Color LightSteelBlue
{
get { return Color.FromUInt32(0xffb0c4de); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffffe0.
+ ///
public static Color LightYellow
{
get { return Color.FromUInt32(0xffffffe0); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00ff00.
+ ///
public static Color Lime
{
get { return Color.FromUInt32(0xff00ff00); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff32cd32.
+ ///
public static Color LimeGreen
{
get { return Color.FromUInt32(0xff32cd32); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffaf0e6.
+ ///
public static Color Linen
{
get { return Color.FromUInt32(0xfffaf0e6); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff00ff.
+ ///
public static Color Magenta
{
get { return Color.FromUInt32(0xffff00ff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff800000.
+ ///
public static Color Maroon
{
get { return Color.FromUInt32(0xff800000); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff66cdaa.
+ ///
public static Color MediumAquamarine
{
get { return Color.FromUInt32(0xff66cdaa); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff0000cd.
+ ///
public static Color MediumBlue
{
get { return Color.FromUInt32(0xff0000cd); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffba55d3.
+ ///
public static Color MediumOrchid
{
get { return Color.FromUInt32(0xffba55d3); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff9370db.
+ ///
public static Color MediumPurple
{
get { return Color.FromUInt32(0xff9370db); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff3cb371.
+ ///
public static Color MediumSeaGreen
{
get { return Color.FromUInt32(0xff3cb371); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff7b68ee.
+ ///
public static Color MediumSlateBlue
{
get { return Color.FromUInt32(0xff7b68ee); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00fa9a.
+ ///
public static Color MediumSpringGreen
{
get { return Color.FromUInt32(0xff00fa9a); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff48d1cc.
+ ///
public static Color MediumTurquoise
{
get { return Color.FromUInt32(0xff48d1cc); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffc71585.
+ ///
public static Color MediumVioletRed
{
get { return Color.FromUInt32(0xffc71585); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff191970.
+ ///
public static Color MidnightBlue
{
get { return Color.FromUInt32(0xff191970); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff5fffa.
+ ///
public static Color MintCream
{
get { return Color.FromUInt32(0xfff5fffa); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffe4e1.
+ ///
public static Color MistyRose
{
get { return Color.FromUInt32(0xffffe4e1); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffe4b5.
+ ///
public static Color Moccasin
{
get { return Color.FromUInt32(0xffffe4b5); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffdead.
+ ///
public static Color NavajoWhite
{
get { return Color.FromUInt32(0xffffdead); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff000080.
+ ///
public static Color Navy
{
get { return Color.FromUInt32(0xff000080); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffdf5e6.
+ ///
public static Color OldLace
{
get { return Color.FromUInt32(0xfffdf5e6); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff808000.
+ ///
public static Color Olive
{
get { return Color.FromUInt32(0xff808000); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff6b8e23.
+ ///
public static Color OliveDrab
{
get { return Color.FromUInt32(0xff6b8e23); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffa500.
+ ///
public static Color Orange
{
get { return Color.FromUInt32(0xffffa500); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff4500.
+ ///
public static Color OrangeRed
{
get { return Color.FromUInt32(0xffff4500); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffda70d6.
+ ///
public static Color Orchid
{
get { return Color.FromUInt32(0xffda70d6); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffeee8aa.
+ ///
public static Color PaleGoldenrod
{
get { return Color.FromUInt32(0xffeee8aa); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff98fb98.
+ ///
public static Color PaleGreen
{
get { return Color.FromUInt32(0xff98fb98); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffafeeee.
+ ///
public static Color PaleTurquoise
{
get { return Color.FromUInt32(0xffafeeee); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffdb7093.
+ ///
public static Color PaleVioletRed
{
get { return Color.FromUInt32(0xffdb7093); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffefd5.
+ ///
public static Color PapayaWhip
{
get { return Color.FromUInt32(0xffffefd5); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffdab9.
+ ///
public static Color PeachPuff
{
get { return Color.FromUInt32(0xffffdab9); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffcd853f.
+ ///
public static Color Peru
{
get { return Color.FromUInt32(0xffcd853f); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffc0cb.
+ ///
public static Color Pink
{
get { return Color.FromUInt32(0xffffc0cb); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffdda0dd.
+ ///
public static Color Plum
{
get { return Color.FromUInt32(0xffdda0dd); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffb0e0e6.
+ ///
public static Color PowderBlue
{
get { return Color.FromUInt32(0xffb0e0e6); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff800080.
+ ///
public static Color Purple
{
get { return Color.FromUInt32(0xff800080); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff0000.
+ ///
public static Color Red
{
get { return Color.FromUInt32(0xffff0000); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffbc8f8f.
+ ///
public static Color RosyBrown
{
get { return Color.FromUInt32(0xffbc8f8f); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff4169e1.
+ ///
public static Color RoyalBlue
{
get { return Color.FromUInt32(0xff4169e1); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff8b4513.
+ ///
public static Color SaddleBrown
{
get { return Color.FromUInt32(0xff8b4513); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffa8072.
+ ///
public static Color Salmon
{
get { return Color.FromUInt32(0xfffa8072); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff4a460.
+ ///
public static Color SandyBrown
{
get { return Color.FromUInt32(0xfff4a460); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff2e8b57.
+ ///
public static Color SeaGreen
{
get { return Color.FromUInt32(0xff2e8b57); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffff5ee.
+ ///
public static Color SeaShell
{
get { return Color.FromUInt32(0xfffff5ee); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffa0522d.
+ ///
public static Color Sienna
{
get { return Color.FromUInt32(0xffa0522d); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffc0c0c0.
+ ///
public static Color Silver
{
get { return Color.FromUInt32(0xffc0c0c0); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff87ceeb.
+ ///
public static Color SkyBlue
{
get { return Color.FromUInt32(0xff87ceeb); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff6a5acd.
+ ///
public static Color SlateBlue
{
get { return Color.FromUInt32(0xff6a5acd); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff708090.
+ ///
public static Color SlateGray
{
get { return Color.FromUInt32(0xff708090); }
}
+ ///
+ /// Gets a color with an ARGB value of #fffffafa.
+ ///
public static Color Snow
{
get { return Color.FromUInt32(0xfffffafa); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff00ff7f.
+ ///
public static Color SpringGreen
{
get { return Color.FromUInt32(0xff00ff7f); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff4682b4.
+ ///
public static Color SteelBlue
{
get { return Color.FromUInt32(0xff4682b4); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffd2b48c.
+ ///
public static Color Tan
{
get { return Color.FromUInt32(0xffd2b48c); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff008080.
+ ///
public static Color Teal
{
get { return Color.FromUInt32(0xff008080); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffd8bfd8.
+ ///
public static Color Thistle
{
get { return Color.FromUInt32(0xffd8bfd8); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffff6347.
+ ///
public static Color Tomato
{
get { return Color.FromUInt32(0xffff6347); }
}
+ ///
+ /// Gets a color with an ARGB value of #00ffffff.
+ ///
public static Color Transparent
{
get { return Color.FromUInt32(0x00ffffff); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff40e0d0.
+ ///
public static Color Turquoise
{
get { return Color.FromUInt32(0xff40e0d0); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffee82ee.
+ ///
public static Color Violet
{
get { return Color.FromUInt32(0xffee82ee); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff5deb3.
+ ///
public static Color Wheat
{
get { return Color.FromUInt32(0xfff5deb3); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffffff.
+ ///
public static Color White
{
get { return Color.FromUInt32(0xffffffff); }
}
+ ///
+ /// Gets a color with an ARGB value of #fff5f5f5.
+ ///
public static Color WhiteSmoke
{
get { return Color.FromUInt32(0xfff5f5f5); }
}
+ ///
+ /// Gets a color with an ARGB value of #ffffff00.
+ ///
public static Color Yellow
{
get { return Color.FromUInt32(0xffffff00); }
}
+ ///
+ /// Gets a color with an ARGB value of #ff9acd32.
+ ///
public static Color YellowGreen
{
get { return Color.FromUInt32(0xff9acd32); }