Browse Source

More documentation.

pull/81/head
Steven Kirk 11 years ago
parent
commit
731b517d96
  1. 15
      Perspex.Base/Contract.cs
  2. 2
      Perspex.Controls/ToolTip.cs
  3. 38
      Perspex.SceneGraph/Animation/PageSlide.cs
  4. 426
      Perspex.SceneGraph/Media/Brushes.cs
  5. 428
      Perspex.SceneGraph/Media/Colors.cs

15
Perspex.Base/Contract.cs

@ -8,8 +8,23 @@ namespace Perspex
{
using System;
/// <summary>
/// A stub of Code Contract's Contract class.
/// </summary>
/// <remarks>
/// 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.
/// </remarks>
public static class Contract
{
/// <summary>
/// Specifies a precondition.
/// </summary>
/// <typeparam name="TException">
/// The exception to throw if <paramref name="condition"/> is false.
/// </typeparam>
/// <param name="condition">The precondition.</param>
public static void Requires<TException>(bool condition) where TException : Exception, new()
{
#if DEBUG

2
Perspex.Controls/ToolTip.cs

@ -48,7 +48,7 @@ namespace Perspex.Controls
private static Subject<Control> show = new Subject<Control>();
/// <summary>
/// Statically constructs the tooltip class.
/// Initializes static members of the <see cref="ToolTip"/> class.
/// </summary>
static ToolTip()
{

38
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;
/// <summary>
/// Transitions between two pages by sliding them horizontally.
/// </summary>
public class PageSlide : IPageTransition
{
/// <summary>
/// Initializes a new instance of the <see cref="PageSlide"/> class.
/// </summary>
/// <param name="duration">The duration of the animation.</param>
public PageSlide(TimeSpan duration)
{
this.Duration = duration;
}
/// <summary>
/// Gets the duration of the animation.
/// </summary>
public TimeSpan Duration { get; }
/// <summary>
/// Starts the animation.
/// </summary>
/// <param name="from">
/// The control that is being transitioned away from. May be null.
/// </param>
/// <param name="to">
/// The control that is being transitioned to. May be null.
/// </param>
/// <param name="forward">
/// If true, the new page is slid in from the right, or if false from the left.
/// </param>
/// <returns>
/// A <see cref="Task"/> that tracks the progress of the animation.
/// </returns>
public async Task Start(IVisual from, IVisual to, bool forward)
{
var tasks = new List<Task>();
@ -63,6 +87,18 @@ namespace Perspex.Animation
}
}
/// <summary>
/// Gets the common visual parent of the two control.
/// </summary>
/// <param name="from">The from control.</param>
/// <param name="to">The to control.</param>
/// <returns>The common parent.</returns>
/// <exception cref="ArgumentException">
/// The two controls do not share a common parent.
/// </exception>
/// <remarks>
/// Any one of the parameters may be null, but not both.
/// </remarks>
private static IVisual GetVisualParent(IVisual from, IVisual to)
{
var p1 = (from ?? to).VisualParent;

426
Perspex.SceneGraph/Media/Brushes.cs

@ -11,6 +11,9 @@ namespace Perspex.Media
/// </summary>
public static class Brushes
{
/// <summary>
/// Initializes static members of the <see cref="Brushes"/> class.
/// </summary>
static Brushes()
{
AliceBlue = new SolidColorBrush(Colors.AliceBlue);
@ -156,286 +159,709 @@ namespace Perspex.Media
YellowGreen = new SolidColorBrush(Colors.YellowGreen);
}
/// <summary>
/// Gets an <see cref="Colors.AliceBlue"/> colored brush.
/// </summary>
public static SolidColorBrush AliceBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.AntiqueWhite"/> colored brush.
/// </summary>
public static SolidColorBrush AntiqueWhite { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.AliceBlue"/> colored brush.
/// </summary>
public static SolidColorBrush Aqua { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Aquamarine"/> colored brush.
/// </summary>
public static SolidColorBrush Aquamarine { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Azure"/> colored brush.
/// </summary>
public static SolidColorBrush Azure { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Beige"/> colored brush.
/// </summary>
public static SolidColorBrush Beige { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Bisque"/> colored brush.
/// </summary>
public static SolidColorBrush Bisque { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Black"/> colored brush.
/// </summary>
public static SolidColorBrush Black { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.BlanchedAlmond"/> colored brush.
/// </summary>
public static SolidColorBrush BlanchedAlmond { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Blue"/> colored brush.
/// </summary>
public static SolidColorBrush Blue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.BlueViolet"/> colored brush.
/// </summary>
public static SolidColorBrush BlueViolet { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Brown"/> colored brush.
/// </summary>
public static SolidColorBrush Brown { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.BurlyWood"/> colored brush.
/// </summary>
public static SolidColorBrush BurlyWood { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.CadetBlue"/> colored brush.
/// </summary>
public static SolidColorBrush CadetBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Chartreuse"/> colored brush.
/// </summary>
public static SolidColorBrush Chartreuse { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Chocolate"/> colored brush.
/// </summary>
public static SolidColorBrush Chocolate { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Coral"/> colored brush.
/// </summary>
public static SolidColorBrush Coral { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.CornflowerBlue"/> colored brush.
/// </summary>
public static SolidColorBrush CornflowerBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Cornsilk"/> colored brush.
/// </summary>
public static SolidColorBrush Cornsilk { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Crimson"/> colored brush.
/// </summary>
public static SolidColorBrush Crimson { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Cyan"/> colored brush.
/// </summary>
public static SolidColorBrush Cyan { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkBlue"/> colored brush.
/// </summary>
public static SolidColorBrush DarkBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkCyan"/> colored brush.
/// </summary>
public static SolidColorBrush DarkCyan { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkGoldenrod"/> colored brush.
/// </summary>
public static SolidColorBrush DarkGoldenrod { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkGray"/> colored brush.
/// </summary>
public static SolidColorBrush DarkGray { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkGreen"/> colored brush.
/// </summary>
public static SolidColorBrush DarkGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkKhaki"/> colored brush.
/// </summary>
public static SolidColorBrush DarkKhaki { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkMagenta"/> colored brush.
/// </summary>
public static SolidColorBrush DarkMagenta { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkOliveGreen"/> colored brush.
/// </summary>
public static SolidColorBrush DarkOliveGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkOrange"/> colored brush.
/// </summary>
public static SolidColorBrush DarkOrange { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkOrchid"/> colored brush.
/// </summary>
public static SolidColorBrush DarkOrchid { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkRed"/> colored brush.
/// </summary>
public static SolidColorBrush DarkRed { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkSalmon"/> colored brush.
/// </summary>
public static SolidColorBrush DarkSalmon { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkSeaGreen"/> colored brush.
/// </summary>
public static SolidColorBrush DarkSeaGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkSlateBlue"/> colored brush.
/// </summary>
public static SolidColorBrush DarkSlateBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkSlateGray"/> colored brush.
/// </summary>
public static SolidColorBrush DarkSlateGray { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkTurquoise"/> colored brush.
/// </summary>
public static SolidColorBrush DarkTurquoise { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DarkViolet"/> colored brush.
/// </summary>
public static SolidColorBrush DarkViolet { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DeepPink"/> colored brush.
/// </summary>
public static SolidColorBrush DeepPink { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DeepSkyBlue"/> colored brush.
/// </summary>
public static SolidColorBrush DeepSkyBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DimGray"/> colored brush.
/// </summary>
public static SolidColorBrush DimGray { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.DodgerBlue"/> colored brush.
/// </summary>
public static SolidColorBrush DodgerBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Firebrick"/> colored brush.
/// </summary>
public static SolidColorBrush Firebrick { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.FloralWhite"/> colored brush.
/// </summary>
public static SolidColorBrush FloralWhite { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.ForestGreen"/> colored brush.
/// </summary>
public static SolidColorBrush ForestGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Fuchsia"/> colored brush.
/// </summary>
public static SolidColorBrush Fuchsia { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Gainsboro"/> colored brush.
/// </summary>
public static SolidColorBrush Gainsboro { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.GhostWhite"/> colored brush.
/// </summary>
public static SolidColorBrush GhostWhite { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Gold"/> colored brush.
/// </summary>
public static SolidColorBrush Gold { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Goldenrod"/> colored brush.
/// </summary>
public static SolidColorBrush Goldenrod { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Gray"/> colored brush.
/// </summary>
public static SolidColorBrush Gray { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Green"/> colored brush.
/// </summary>
public static SolidColorBrush Green { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.GreenYellow"/> colored brush.
/// </summary>
public static SolidColorBrush GreenYellow { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Honeydew"/> colored brush.
/// </summary>
public static SolidColorBrush Honeydew { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.HotPink"/> colored brush.
/// </summary>
public static SolidColorBrush HotPink { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.IndianRed"/> colored brush.
/// </summary>
public static SolidColorBrush IndianRed { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Indigo"/> colored brush.
/// </summary>
public static SolidColorBrush Indigo { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Ivory"/> colored brush.
/// </summary>
public static SolidColorBrush Ivory { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Khaki"/> colored brush.
/// </summary>
public static SolidColorBrush Khaki { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Lavender"/> colored brush.
/// </summary>
public static SolidColorBrush Lavender { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LavenderBlush"/> colored brush.
/// </summary>
public static SolidColorBrush LavenderBlush { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LawnGreen"/> colored brush.
/// </summary>
public static SolidColorBrush LawnGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LemonChiffon"/> colored brush.
/// </summary>
public static SolidColorBrush LemonChiffon { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightBlue"/> colored brush.
/// </summary>
public static SolidColorBrush LightBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightCoral"/> colored brush.
/// </summary>
public static SolidColorBrush LightCoral { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightCyan"/> colored brush.
/// </summary>
public static SolidColorBrush LightCyan { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightGoldenrodYellow"/> colored brush.
/// </summary>
public static SolidColorBrush LightGoldenrodYellow { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightGray"/> colored brush.
/// </summary>
public static SolidColorBrush LightGray { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightGreen"/> colored brush.
/// </summary>
public static SolidColorBrush LightGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightPink"/> colored brush.
/// </summary>
public static SolidColorBrush LightPink { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightSalmon"/> colored brush.
/// </summary>
public static SolidColorBrush LightSalmon { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightSeaGreen"/> colored brush.
/// </summary>
public static SolidColorBrush LightSeaGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightSkyBlue"/> colored brush.
/// </summary>
public static SolidColorBrush LightSkyBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightSlateGray"/> colored brush.
/// </summary>
public static SolidColorBrush LightSlateGray { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightSteelBlue"/> colored brush.
/// </summary>
public static SolidColorBrush LightSteelBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LightYellow"/> colored brush.
/// </summary>
public static SolidColorBrush LightYellow { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Lime"/> colored brush.
/// </summary>
public static SolidColorBrush Lime { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.LimeGreen"/> colored brush.
/// </summary>
public static SolidColorBrush LimeGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Linen"/> colored brush.
/// </summary>
public static SolidColorBrush Linen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Magenta"/> colored brush.
/// </summary>
public static SolidColorBrush Magenta { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Maroon"/> colored brush.
/// </summary>
public static SolidColorBrush Maroon { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumAquamarine"/> colored brush.
/// </summary>
public static SolidColorBrush MediumAquamarine { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumBlue"/> colored brush.
/// </summary>
public static SolidColorBrush MediumBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumOrchid"/> colored brush.
/// </summary>
public static SolidColorBrush MediumOrchid { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumPurple"/> colored brush.
/// </summary>
public static SolidColorBrush MediumPurple { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumSeaGreen"/> colored brush.
/// </summary>
public static SolidColorBrush MediumSeaGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumSlateBlue"/> colored brush.
/// </summary>
public static SolidColorBrush MediumSlateBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumSpringGreen"/> colored brush.
/// </summary>
public static SolidColorBrush MediumSpringGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumTurquoise"/> colored brush.
/// </summary>
public static SolidColorBrush MediumTurquoise { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MediumVioletRed"/> colored brush.
/// </summary>
public static SolidColorBrush MediumVioletRed { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MidnightBlue"/> colored brush.
/// </summary>
public static SolidColorBrush MidnightBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MintCream"/> colored brush.
/// </summary>
public static SolidColorBrush MintCream { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.MistyRose"/> colored brush.
/// </summary>
public static SolidColorBrush MistyRose { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Moccasin"/> colored brush.
/// </summary>
public static SolidColorBrush Moccasin { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.NavajoWhite"/> colored brush.
/// </summary>
public static SolidColorBrush NavajoWhite { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Navy"/> colored brush.
/// </summary>
public static SolidColorBrush Navy { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.OldLace"/> colored brush.
/// </summary>
public static SolidColorBrush OldLace { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Olive"/> colored brush.
/// </summary>
public static SolidColorBrush Olive { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.OliveDrab"/> colored brush.
/// </summary>
public static SolidColorBrush OliveDrab { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Orange"/> colored brush.
/// </summary>
public static SolidColorBrush Orange { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.OrangeRed"/> colored brush.
/// </summary>
public static SolidColorBrush OrangeRed { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Orchid"/> colored brush.
/// </summary>
public static SolidColorBrush Orchid { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.PaleGoldenrod"/> colored brush.
/// </summary>
public static SolidColorBrush PaleGoldenrod { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.PaleGreen"/> colored brush.
/// </summary>
public static SolidColorBrush PaleGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.PaleTurquoise"/> colored brush.
/// </summary>
public static SolidColorBrush PaleTurquoise { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.PaleVioletRed"/> colored brush.
/// </summary>
public static SolidColorBrush PaleVioletRed { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.PapayaWhip"/> colored brush.
/// </summary>
public static SolidColorBrush PapayaWhip { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.PeachPuff"/> colored brush.
/// </summary>
public static SolidColorBrush PeachPuff { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Peru"/> colored brush.
/// </summary>
public static SolidColorBrush Peru { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Pink"/> colored brush.
/// </summary>
public static SolidColorBrush Pink { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Plum"/> colored brush.
/// </summary>
public static SolidColorBrush Plum { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.PowderBlue"/> colored brush.
/// </summary>
public static SolidColorBrush PowderBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Purple"/> colored brush.
/// </summary>
public static SolidColorBrush Purple { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Red"/> colored brush.
/// </summary>
public static SolidColorBrush Red { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.RosyBrown"/> colored brush.
/// </summary>
public static SolidColorBrush RosyBrown { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.RoyalBlue"/> colored brush.
/// </summary>
public static SolidColorBrush RoyalBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SaddleBrown"/> colored brush.
/// </summary>
public static SolidColorBrush SaddleBrown { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Salmon"/> colored brush.
/// </summary>
public static SolidColorBrush Salmon { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SandyBrown"/> colored brush.
/// </summary>
public static SolidColorBrush SandyBrown { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SeaGreen"/> colored brush.
/// </summary>
public static SolidColorBrush SeaGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SeaShell"/> colored brush.
/// </summary>
public static SolidColorBrush SeaShell { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Sienna"/> colored brush.
/// </summary>
public static SolidColorBrush Sienna { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Silver"/> colored brush.
/// </summary>
public static SolidColorBrush Silver { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SkyBlue"/> colored brush.
/// </summary>
public static SolidColorBrush SkyBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SlateBlue"/> colored brush.
/// </summary>
public static SolidColorBrush SlateBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SlateGray"/> colored brush.
/// </summary>
public static SolidColorBrush SlateGray { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Snow"/> colored brush.
/// </summary>
public static SolidColorBrush Snow { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SpringGreen"/> colored brush.
/// </summary>
public static SolidColorBrush SpringGreen { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.SteelBlue"/> colored brush.
/// </summary>
public static SolidColorBrush SteelBlue { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Tan"/> colored brush.
/// </summary>
public static SolidColorBrush Tan { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Teal"/> colored brush.
/// </summary>
public static SolidColorBrush Teal { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Thistle"/> colored brush.
/// </summary>
public static SolidColorBrush Thistle { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Tomato"/> colored brush.
/// </summary>
public static SolidColorBrush Tomato { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Transparent"/> colored brush.
/// </summary>
public static SolidColorBrush Transparent { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Turquoise"/> colored brush.
/// </summary>
public static SolidColorBrush Turquoise { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Violet"/> colored brush.
/// </summary>
public static SolidColorBrush Violet { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Wheat"/> colored brush.
/// </summary>
public static SolidColorBrush Wheat { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.White"/> colored brush.
/// </summary>
public static SolidColorBrush White { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.WhiteSmoke"/> colored brush.
/// </summary>
public static SolidColorBrush WhiteSmoke { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.Yellow"/> colored brush.
/// </summary>
public static SolidColorBrush Yellow { get; private set; }
/// <summary>
/// Gets an <see cref="Colors.YellowGreen"/> colored brush.
/// </summary>
public static SolidColorBrush YellowGreen { get; private set; }
}
}

428
Perspex.SceneGraph/Media/Colors.cs

File diff suppressed because it is too large
Loading…
Cancel
Save