зеркало из https://github.com/AvaloniaUI/Avalonia.git
442 строки
19 KiB
C#
442 строки
19 KiB
C#
// -----------------------------------------------------------------------
|
|
// <copyright file="Brushes.cs" company="Steven Kirk">
|
|
// Copyright 2014 MIT Licence. See licence.md for more information.
|
|
// </copyright>
|
|
// -----------------------------------------------------------------------
|
|
|
|
namespace Perspex.Media
|
|
{
|
|
/// <summary>
|
|
/// Predefined brushes.
|
|
/// </summary>
|
|
public static class Brushes
|
|
{
|
|
static Brushes()
|
|
{
|
|
AliceBlue = new SolidColorBrush(Colors.AliceBlue);
|
|
AntiqueWhite = new SolidColorBrush(Colors.AntiqueWhite);
|
|
Aqua = new SolidColorBrush(Colors.Aqua);
|
|
Aquamarine = new SolidColorBrush(Colors.Aquamarine);
|
|
Azure = new SolidColorBrush(Colors.Azure);
|
|
Beige = new SolidColorBrush(Colors.Beige);
|
|
Bisque = new SolidColorBrush(Colors.Bisque);
|
|
Black = new SolidColorBrush(Colors.Black);
|
|
BlanchedAlmond = new SolidColorBrush(Colors.BlanchedAlmond);
|
|
Blue = new SolidColorBrush(Colors.Blue);
|
|
BlueViolet = new SolidColorBrush(Colors.BlueViolet);
|
|
Brown = new SolidColorBrush(Colors.Brown);
|
|
BurlyWood = new SolidColorBrush(Colors.BurlyWood);
|
|
CadetBlue = new SolidColorBrush(Colors.CadetBlue);
|
|
Chartreuse = new SolidColorBrush(Colors.Chartreuse);
|
|
Chocolate = new SolidColorBrush(Colors.Chocolate);
|
|
Coral = new SolidColorBrush(Colors.Coral);
|
|
CornflowerBlue = new SolidColorBrush(Colors.CornflowerBlue);
|
|
Cornsilk = new SolidColorBrush(Colors.Cornsilk);
|
|
Crimson = new SolidColorBrush(Colors.Crimson);
|
|
Cyan = new SolidColorBrush(Colors.Cyan);
|
|
DarkBlue = new SolidColorBrush(Colors.DarkBlue);
|
|
DarkCyan = new SolidColorBrush(Colors.DarkCyan);
|
|
DarkGoldenrod = new SolidColorBrush(Colors.DarkGoldenrod);
|
|
DarkGray = new SolidColorBrush(Colors.DarkGray);
|
|
DarkGreen = new SolidColorBrush(Colors.DarkGreen);
|
|
DarkKhaki = new SolidColorBrush(Colors.DarkKhaki);
|
|
DarkMagenta = new SolidColorBrush(Colors.DarkMagenta);
|
|
DarkOliveGreen = new SolidColorBrush(Colors.DarkOliveGreen);
|
|
DarkOrange = new SolidColorBrush(Colors.DarkOrange);
|
|
DarkOrchid = new SolidColorBrush(Colors.DarkOrchid);
|
|
DarkRed = new SolidColorBrush(Colors.DarkRed);
|
|
DarkSalmon = new SolidColorBrush(Colors.DarkSalmon);
|
|
DarkSeaGreen = new SolidColorBrush(Colors.DarkSeaGreen);
|
|
DarkSlateBlue = new SolidColorBrush(Colors.DarkSlateBlue);
|
|
DarkSlateGray = new SolidColorBrush(Colors.DarkSlateGray);
|
|
DarkTurquoise = new SolidColorBrush(Colors.DarkTurquoise);
|
|
DarkViolet = new SolidColorBrush(Colors.DarkViolet);
|
|
DeepPink = new SolidColorBrush(Colors.DeepPink);
|
|
DeepSkyBlue = new SolidColorBrush(Colors.DeepSkyBlue);
|
|
DimGray = new SolidColorBrush(Colors.DimGray);
|
|
DodgerBlue = new SolidColorBrush(Colors.DodgerBlue);
|
|
Firebrick = new SolidColorBrush(Colors.Firebrick);
|
|
FloralWhite = new SolidColorBrush(Colors.FloralWhite);
|
|
ForestGreen = new SolidColorBrush(Colors.ForestGreen);
|
|
Fuchsia = new SolidColorBrush(Colors.Fuchsia);
|
|
Gainsboro = new SolidColorBrush(Colors.Gainsboro);
|
|
GhostWhite = new SolidColorBrush(Colors.GhostWhite);
|
|
Gold = new SolidColorBrush(Colors.Gold);
|
|
Goldenrod = new SolidColorBrush(Colors.Goldenrod);
|
|
Gray = new SolidColorBrush(Colors.Gray);
|
|
Green = new SolidColorBrush(Colors.Green);
|
|
GreenYellow = new SolidColorBrush(Colors.GreenYellow);
|
|
Honeydew = new SolidColorBrush(Colors.Honeydew);
|
|
HotPink = new SolidColorBrush(Colors.HotPink);
|
|
IndianRed = new SolidColorBrush(Colors.IndianRed);
|
|
Indigo = new SolidColorBrush(Colors.Indigo);
|
|
Ivory = new SolidColorBrush(Colors.Ivory);
|
|
Khaki = new SolidColorBrush(Colors.Khaki);
|
|
Lavender = new SolidColorBrush(Colors.Lavender);
|
|
LavenderBlush = new SolidColorBrush(Colors.LavenderBlush);
|
|
LawnGreen = new SolidColorBrush(Colors.LawnGreen);
|
|
LemonChiffon = new SolidColorBrush(Colors.LemonChiffon);
|
|
LightBlue = new SolidColorBrush(Colors.LightBlue);
|
|
LightCoral = new SolidColorBrush(Colors.LightCoral);
|
|
LightCyan = new SolidColorBrush(Colors.LightCyan);
|
|
LightGoldenrodYellow = new SolidColorBrush(Colors.LightGoldenrodYellow);
|
|
LightGray = new SolidColorBrush(Colors.LightGray);
|
|
LightGreen = new SolidColorBrush(Colors.LightGreen);
|
|
LightPink = new SolidColorBrush(Colors.LightPink);
|
|
LightSalmon = new SolidColorBrush(Colors.LightSalmon);
|
|
LightSeaGreen = new SolidColorBrush(Colors.LightSeaGreen);
|
|
LightSkyBlue = new SolidColorBrush(Colors.LightSkyBlue);
|
|
LightSlateGray = new SolidColorBrush(Colors.LightSlateGray);
|
|
LightSteelBlue = new SolidColorBrush(Colors.LightSteelBlue);
|
|
LightYellow = new SolidColorBrush(Colors.LightYellow);
|
|
Lime = new SolidColorBrush(Colors.Lime);
|
|
LimeGreen = new SolidColorBrush(Colors.LimeGreen);
|
|
Linen = new SolidColorBrush(Colors.Linen);
|
|
Magenta = new SolidColorBrush(Colors.Magenta);
|
|
Maroon = new SolidColorBrush(Colors.Maroon);
|
|
MediumAquamarine = new SolidColorBrush(Colors.MediumAquamarine);
|
|
MediumBlue = new SolidColorBrush(Colors.MediumBlue);
|
|
MediumOrchid = new SolidColorBrush(Colors.MediumOrchid);
|
|
MediumPurple = new SolidColorBrush(Colors.MediumPurple);
|
|
MediumSeaGreen = new SolidColorBrush(Colors.MediumSeaGreen);
|
|
MediumSlateBlue = new SolidColorBrush(Colors.MediumSlateBlue);
|
|
MediumSpringGreen = new SolidColorBrush(Colors.MediumSpringGreen);
|
|
MediumTurquoise = new SolidColorBrush(Colors.MediumTurquoise);
|
|
MediumVioletRed = new SolidColorBrush(Colors.MediumVioletRed);
|
|
MidnightBlue = new SolidColorBrush(Colors.MidnightBlue);
|
|
MintCream = new SolidColorBrush(Colors.MintCream);
|
|
MistyRose = new SolidColorBrush(Colors.MistyRose);
|
|
Moccasin = new SolidColorBrush(Colors.Moccasin);
|
|
NavajoWhite = new SolidColorBrush(Colors.NavajoWhite);
|
|
Navy = new SolidColorBrush(Colors.Navy);
|
|
OldLace = new SolidColorBrush(Colors.OldLace);
|
|
Olive = new SolidColorBrush(Colors.Olive);
|
|
OliveDrab = new SolidColorBrush(Colors.OliveDrab);
|
|
Orange = new SolidColorBrush(Colors.Orange);
|
|
OrangeRed = new SolidColorBrush(Colors.OrangeRed);
|
|
Orchid = new SolidColorBrush(Colors.Orchid);
|
|
PaleGoldenrod = new SolidColorBrush(Colors.PaleGoldenrod);
|
|
PaleGreen = new SolidColorBrush(Colors.PaleGreen);
|
|
PaleTurquoise = new SolidColorBrush(Colors.PaleTurquoise);
|
|
PaleVioletRed = new SolidColorBrush(Colors.PaleVioletRed);
|
|
PapayaWhip = new SolidColorBrush(Colors.PapayaWhip);
|
|
PeachPuff = new SolidColorBrush(Colors.PeachPuff);
|
|
Peru = new SolidColorBrush(Colors.Peru);
|
|
Pink = new SolidColorBrush(Colors.Pink);
|
|
Plum = new SolidColorBrush(Colors.Plum);
|
|
PowderBlue = new SolidColorBrush(Colors.PowderBlue);
|
|
Purple = new SolidColorBrush(Colors.Purple);
|
|
Red = new SolidColorBrush(Colors.Red);
|
|
RosyBrown = new SolidColorBrush(Colors.RosyBrown);
|
|
RoyalBlue = new SolidColorBrush(Colors.RoyalBlue);
|
|
SaddleBrown = new SolidColorBrush(Colors.SaddleBrown);
|
|
Salmon = new SolidColorBrush(Colors.Salmon);
|
|
SandyBrown = new SolidColorBrush(Colors.SandyBrown);
|
|
SeaGreen = new SolidColorBrush(Colors.SeaGreen);
|
|
SeaShell = new SolidColorBrush(Colors.SeaShell);
|
|
Sienna = new SolidColorBrush(Colors.Sienna);
|
|
Silver = new SolidColorBrush(Colors.Silver);
|
|
SkyBlue = new SolidColorBrush(Colors.SkyBlue);
|
|
SlateBlue = new SolidColorBrush(Colors.SlateBlue);
|
|
SlateGray = new SolidColorBrush(Colors.SlateGray);
|
|
Snow = new SolidColorBrush(Colors.Snow);
|
|
SpringGreen = new SolidColorBrush(Colors.SpringGreen);
|
|
SteelBlue = new SolidColorBrush(Colors.SteelBlue);
|
|
Tan = new SolidColorBrush(Colors.Tan);
|
|
Teal = new SolidColorBrush(Colors.Teal);
|
|
Thistle = new SolidColorBrush(Colors.Thistle);
|
|
Tomato = new SolidColorBrush(Colors.Tomato);
|
|
Transparent = new SolidColorBrush(Colors.Transparent);
|
|
Turquoise = new SolidColorBrush(Colors.Turquoise);
|
|
Violet = new SolidColorBrush(Colors.Violet);
|
|
Wheat = new SolidColorBrush(Colors.Wheat);
|
|
White = new SolidColorBrush(Colors.White);
|
|
WhiteSmoke = new SolidColorBrush(Colors.WhiteSmoke);
|
|
Yellow = new SolidColorBrush(Colors.Yellow);
|
|
YellowGreen = new SolidColorBrush(Colors.YellowGreen);
|
|
}
|
|
|
|
public static SolidColorBrush AliceBlue { get; private set; }
|
|
|
|
public static SolidColorBrush AntiqueWhite { get; private set; }
|
|
|
|
public static SolidColorBrush Aqua { get; private set; }
|
|
|
|
public static SolidColorBrush Aquamarine { get; private set; }
|
|
|
|
public static SolidColorBrush Azure { get; private set; }
|
|
|
|
public static SolidColorBrush Beige { get; private set; }
|
|
|
|
public static SolidColorBrush Bisque { get; private set; }
|
|
|
|
public static SolidColorBrush Black { get; private set; }
|
|
|
|
public static SolidColorBrush BlanchedAlmond { get; private set; }
|
|
|
|
public static SolidColorBrush Blue { get; private set; }
|
|
|
|
public static SolidColorBrush BlueViolet { get; private set; }
|
|
|
|
public static SolidColorBrush Brown { get; private set; }
|
|
|
|
public static SolidColorBrush BurlyWood { get; private set; }
|
|
|
|
public static SolidColorBrush CadetBlue { get; private set; }
|
|
|
|
public static SolidColorBrush Chartreuse { get; private set; }
|
|
|
|
public static SolidColorBrush Chocolate { get; private set; }
|
|
|
|
public static SolidColorBrush Coral { get; private set; }
|
|
|
|
public static SolidColorBrush CornflowerBlue { get; private set; }
|
|
|
|
public static SolidColorBrush Cornsilk { get; private set; }
|
|
|
|
public static SolidColorBrush Crimson { get; private set; }
|
|
|
|
public static SolidColorBrush Cyan { get; private set; }
|
|
|
|
public static SolidColorBrush DarkBlue { get; private set; }
|
|
|
|
public static SolidColorBrush DarkCyan { get; private set; }
|
|
|
|
public static SolidColorBrush DarkGoldenrod { get; private set; }
|
|
|
|
public static SolidColorBrush DarkGray { get; private set; }
|
|
|
|
public static SolidColorBrush DarkGreen { get; private set; }
|
|
|
|
public static SolidColorBrush DarkKhaki { get; private set; }
|
|
|
|
public static SolidColorBrush DarkMagenta { get; private set; }
|
|
|
|
public static SolidColorBrush DarkOliveGreen { get; private set; }
|
|
|
|
public static SolidColorBrush DarkOrange { get; private set; }
|
|
|
|
public static SolidColorBrush DarkOrchid { get; private set; }
|
|
|
|
public static SolidColorBrush DarkRed { get; private set; }
|
|
|
|
public static SolidColorBrush DarkSalmon { get; private set; }
|
|
|
|
public static SolidColorBrush DarkSeaGreen { get; private set; }
|
|
|
|
public static SolidColorBrush DarkSlateBlue { get; private set; }
|
|
|
|
public static SolidColorBrush DarkSlateGray { get; private set; }
|
|
|
|
public static SolidColorBrush DarkTurquoise { get; private set; }
|
|
|
|
public static SolidColorBrush DarkViolet { get; private set; }
|
|
|
|
public static SolidColorBrush DeepPink { get; private set; }
|
|
|
|
public static SolidColorBrush DeepSkyBlue { get; private set; }
|
|
|
|
public static SolidColorBrush DimGray { get; private set; }
|
|
|
|
public static SolidColorBrush DodgerBlue { get; private set; }
|
|
|
|
public static SolidColorBrush Firebrick { get; private set; }
|
|
|
|
public static SolidColorBrush FloralWhite { get; private set; }
|
|
|
|
public static SolidColorBrush ForestGreen { get; private set; }
|
|
|
|
public static SolidColorBrush Fuchsia { get; private set; }
|
|
|
|
public static SolidColorBrush Gainsboro { get; private set; }
|
|
|
|
public static SolidColorBrush GhostWhite { get; private set; }
|
|
|
|
public static SolidColorBrush Gold { get; private set; }
|
|
|
|
public static SolidColorBrush Goldenrod { get; private set; }
|
|
|
|
public static SolidColorBrush Gray { get; private set; }
|
|
|
|
public static SolidColorBrush Green { get; private set; }
|
|
|
|
public static SolidColorBrush GreenYellow { get; private set; }
|
|
|
|
public static SolidColorBrush Honeydew { get; private set; }
|
|
|
|
public static SolidColorBrush HotPink { get; private set; }
|
|
|
|
public static SolidColorBrush IndianRed { get; private set; }
|
|
|
|
public static SolidColorBrush Indigo { get; private set; }
|
|
|
|
public static SolidColorBrush Ivory { get; private set; }
|
|
|
|
public static SolidColorBrush Khaki { get; private set; }
|
|
|
|
public static SolidColorBrush Lavender { get; private set; }
|
|
|
|
public static SolidColorBrush LavenderBlush { get; private set; }
|
|
|
|
public static SolidColorBrush LawnGreen { get; private set; }
|
|
|
|
public static SolidColorBrush LemonChiffon { get; private set; }
|
|
|
|
public static SolidColorBrush LightBlue { get; private set; }
|
|
|
|
public static SolidColorBrush LightCoral { get; private set; }
|
|
|
|
public static SolidColorBrush LightCyan { get; private set; }
|
|
|
|
public static SolidColorBrush LightGoldenrodYellow { get; private set; }
|
|
|
|
public static SolidColorBrush LightGray { get; private set; }
|
|
|
|
public static SolidColorBrush LightGreen { get; private set; }
|
|
|
|
public static SolidColorBrush LightPink { get; private set; }
|
|
|
|
public static SolidColorBrush LightSalmon { get; private set; }
|
|
|
|
public static SolidColorBrush LightSeaGreen { get; private set; }
|
|
|
|
public static SolidColorBrush LightSkyBlue { get; private set; }
|
|
|
|
public static SolidColorBrush LightSlateGray { get; private set; }
|
|
|
|
public static SolidColorBrush LightSteelBlue { get; private set; }
|
|
|
|
public static SolidColorBrush LightYellow { get; private set; }
|
|
|
|
public static SolidColorBrush Lime { get; private set; }
|
|
|
|
public static SolidColorBrush LimeGreen { get; private set; }
|
|
|
|
public static SolidColorBrush Linen { get; private set; }
|
|
|
|
public static SolidColorBrush Magenta { get; private set; }
|
|
|
|
public static SolidColorBrush Maroon { get; private set; }
|
|
|
|
public static SolidColorBrush MediumAquamarine { get; private set; }
|
|
|
|
public static SolidColorBrush MediumBlue { get; private set; }
|
|
|
|
public static SolidColorBrush MediumOrchid { get; private set; }
|
|
|
|
public static SolidColorBrush MediumPurple { get; private set; }
|
|
|
|
public static SolidColorBrush MediumSeaGreen { get; private set; }
|
|
|
|
public static SolidColorBrush MediumSlateBlue { get; private set; }
|
|
|
|
public static SolidColorBrush MediumSpringGreen { get; private set; }
|
|
|
|
public static SolidColorBrush MediumTurquoise { get; private set; }
|
|
|
|
public static SolidColorBrush MediumVioletRed { get; private set; }
|
|
|
|
public static SolidColorBrush MidnightBlue { get; private set; }
|
|
|
|
public static SolidColorBrush MintCream { get; private set; }
|
|
|
|
public static SolidColorBrush MistyRose { get; private set; }
|
|
|
|
public static SolidColorBrush Moccasin { get; private set; }
|
|
|
|
public static SolidColorBrush NavajoWhite { get; private set; }
|
|
|
|
public static SolidColorBrush Navy { get; private set; }
|
|
|
|
public static SolidColorBrush OldLace { get; private set; }
|
|
|
|
public static SolidColorBrush Olive { get; private set; }
|
|
|
|
public static SolidColorBrush OliveDrab { get; private set; }
|
|
|
|
public static SolidColorBrush Orange { get; private set; }
|
|
|
|
public static SolidColorBrush OrangeRed { get; private set; }
|
|
|
|
public static SolidColorBrush Orchid { get; private set; }
|
|
|
|
public static SolidColorBrush PaleGoldenrod { get; private set; }
|
|
|
|
public static SolidColorBrush PaleGreen { get; private set; }
|
|
|
|
public static SolidColorBrush PaleTurquoise { get; private set; }
|
|
|
|
public static SolidColorBrush PaleVioletRed { get; private set; }
|
|
|
|
public static SolidColorBrush PapayaWhip { get; private set; }
|
|
|
|
public static SolidColorBrush PeachPuff { get; private set; }
|
|
|
|
public static SolidColorBrush Peru { get; private set; }
|
|
|
|
public static SolidColorBrush Pink { get; private set; }
|
|
|
|
public static SolidColorBrush Plum { get; private set; }
|
|
|
|
public static SolidColorBrush PowderBlue { get; private set; }
|
|
|
|
public static SolidColorBrush Purple { get; private set; }
|
|
|
|
public static SolidColorBrush Red { get; private set; }
|
|
|
|
public static SolidColorBrush RosyBrown { get; private set; }
|
|
|
|
public static SolidColorBrush RoyalBlue { get; private set; }
|
|
|
|
public static SolidColorBrush SaddleBrown { get; private set; }
|
|
|
|
public static SolidColorBrush Salmon { get; private set; }
|
|
|
|
public static SolidColorBrush SandyBrown { get; private set; }
|
|
|
|
public static SolidColorBrush SeaGreen { get; private set; }
|
|
|
|
public static SolidColorBrush SeaShell { get; private set; }
|
|
|
|
public static SolidColorBrush Sienna { get; private set; }
|
|
|
|
public static SolidColorBrush Silver { get; private set; }
|
|
|
|
public static SolidColorBrush SkyBlue { get; private set; }
|
|
|
|
public static SolidColorBrush SlateBlue { get; private set; }
|
|
|
|
public static SolidColorBrush SlateGray { get; private set; }
|
|
|
|
public static SolidColorBrush Snow { get; private set; }
|
|
|
|
public static SolidColorBrush SpringGreen { get; private set; }
|
|
|
|
public static SolidColorBrush SteelBlue { get; private set; }
|
|
|
|
public static SolidColorBrush Tan { get; private set; }
|
|
|
|
public static SolidColorBrush Teal { get; private set; }
|
|
|
|
public static SolidColorBrush Thistle { get; private set; }
|
|
|
|
public static SolidColorBrush Tomato { get; private set; }
|
|
|
|
public static SolidColorBrush Transparent { get; private set; }
|
|
|
|
public static SolidColorBrush Turquoise { get; private set; }
|
|
|
|
public static SolidColorBrush Violet { get; private set; }
|
|
|
|
public static SolidColorBrush Wheat { get; private set; }
|
|
|
|
public static SolidColorBrush White { get; private set; }
|
|
|
|
public static SolidColorBrush WhiteSmoke { get; private set; }
|
|
|
|
public static SolidColorBrush Yellow { get; private set; }
|
|
|
|
public static SolidColorBrush YellowGreen { get; private set; }
|
|
}
|
|
}
|