2 // System.Windows.Drawing.Brushes.cs
5 // Dennis Hayes (dennish@Raytek.com)
7 // Peter Bartok (pbartok@novell.com)
9 // (C) Ximian, Inc., 2002 http://www.ximian.com
10 // (C) Novell, Inc., 2004 http://www.novell.com
14 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
16 // Permission is hereby granted, free of charge, to any person obtaining
17 // a copy of this software and associated documentation files (the
18 // "Software"), to deal in the Software without restriction, including
19 // without limitation the rights to use, copy, modify, merge, publish,
20 // distribute, sublicense, and/or sell copies of the Software, and to
21 // permit persons to whom the Software is furnished to do so, subject to
22 // the following conditions:
24 // The above copyright notice and this permission notice shall be
25 // included in all copies or substantial portions of the Software.
27 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
29 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
30 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
31 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
32 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
33 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38 namespace System
.Drawing
40 public sealed class Brushes
42 static SolidBrush aliceBlue
;
43 static SolidBrush antiqueWhite
;
44 static SolidBrush aqua
;
45 static SolidBrush aquamarine
;
46 static SolidBrush azure
;
47 static SolidBrush beige
;
48 static SolidBrush bisque
;
49 static SolidBrush black
;
50 static SolidBrush blanchedAlmond
;
51 static SolidBrush blue
;
52 static SolidBrush blueViolet
;
53 static SolidBrush brown
;
54 static SolidBrush burlyWood
;
55 static SolidBrush cadetBlue
;
56 static SolidBrush chartreuse
;
57 static SolidBrush chocolate
;
58 static SolidBrush coral
;
59 static SolidBrush cornflowerBlue
;
60 static SolidBrush cornsilk
;
61 static SolidBrush crimson
;
62 static SolidBrush cyan
;
63 static SolidBrush darkBlue
;
64 static SolidBrush darkCyan
;
65 static SolidBrush darkGoldenrod
;
66 static SolidBrush darkGray
;
67 static SolidBrush darkGreen
;
68 static SolidBrush darkKhaki
;
69 static SolidBrush darkMagenta
;
70 static SolidBrush darkOliveGreen
;
71 static SolidBrush darkOrange
;
72 static SolidBrush darkOrchid
;
73 static SolidBrush darkRed
;
74 static SolidBrush darkSalmon
;
75 static SolidBrush darkSeaGreen
;
76 static SolidBrush darkSlateBlue
;
77 static SolidBrush darkSlateGray
;
78 static SolidBrush darkTurquoise
;
79 static SolidBrush darkViolet
;
80 static SolidBrush deepPink
;
81 static SolidBrush deepSkyBlue
;
82 static SolidBrush dimGray
;
83 static SolidBrush dodgerBlue
;
84 static SolidBrush firebrick
;
85 static SolidBrush floralWhite
;
86 static SolidBrush forestGreen
;
87 static SolidBrush fuchsia
;
88 static SolidBrush gainsboro
;
89 static SolidBrush ghostWhite
;
90 static SolidBrush gold
;
91 static SolidBrush goldenrod
;
92 static SolidBrush gray
;
93 static SolidBrush green
;
94 static SolidBrush greenYellow
;
95 static SolidBrush honeydew
;
96 static SolidBrush hotPink
;
97 static SolidBrush indianRed
;
98 static SolidBrush indigo
;
99 static SolidBrush ivory
;
100 static SolidBrush khaki
;
101 static SolidBrush lavender
;
102 static SolidBrush lavenderBlush
;
103 static SolidBrush lawnGreen
;
104 static SolidBrush lemonChiffon
;
105 static SolidBrush lightBlue
;
106 static SolidBrush lightCoral
;
107 static SolidBrush lightCyan
;
108 static SolidBrush lightGoldenrodYellow
;
109 static SolidBrush lightGray
;
110 static SolidBrush lightGreen
;
111 static SolidBrush lightPink
;
112 static SolidBrush lightSalmon
;
113 static SolidBrush lightSeaGreen
;
114 static SolidBrush lightSkyBlue
;
115 static SolidBrush lightSlateGray
;
116 static SolidBrush lightSteelBlue
;
117 static SolidBrush lightYellow
;
118 static SolidBrush lime
;
119 static SolidBrush limeGreen
;
120 static SolidBrush linen
;
121 static SolidBrush magenta
;
122 static SolidBrush maroon
;
123 static SolidBrush mediumAquamarine
;
124 static SolidBrush mediumBlue
;
125 static SolidBrush mediumOrchid
;
126 static SolidBrush mediumPurple
;
127 static SolidBrush mediumSeaGreen
;
128 static SolidBrush mediumSlateBlue
;
129 static SolidBrush mediumSpringGreen
;
130 static SolidBrush mediumTurquoise
;
131 static SolidBrush mediumVioletRed
;
132 static SolidBrush midnightBlue
;
133 static SolidBrush mintCream
;
134 static SolidBrush mistyRose
;
135 static SolidBrush moccasin
;
136 static SolidBrush navajoWhite
;
137 static SolidBrush navy
;
138 static SolidBrush oldLace
;
139 static SolidBrush olive
;
140 static SolidBrush oliveDrab
;
141 static SolidBrush orange
;
142 static SolidBrush orangeRed
;
143 static SolidBrush orchid
;
144 static SolidBrush paleGoldenrod
;
145 static SolidBrush paleGreen
;
146 static SolidBrush paleTurquoise
;
147 static SolidBrush paleVioletRed
;
148 static SolidBrush papayaWhip
;
149 static SolidBrush peachPuff
;
150 static SolidBrush peru
;
151 static SolidBrush pink
;
152 static SolidBrush plum
;
153 static SolidBrush powderBlue
;
154 static SolidBrush purple
;
155 static SolidBrush red
;
156 static SolidBrush rosyBrown
;
157 static SolidBrush royalBlue
;
158 static SolidBrush saddleBrown
;
159 static SolidBrush salmon
;
160 static SolidBrush sandyBrown
;
161 static SolidBrush seaGreen
;
162 static SolidBrush seaShell
;
163 static SolidBrush sienna
;
164 static SolidBrush silver
;
165 static SolidBrush skyBlue
;
166 static SolidBrush slateBlue
;
167 static SolidBrush slateGray
;
168 static SolidBrush snow
;
169 static SolidBrush springGreen
;
170 static SolidBrush steelBlue
;
171 static SolidBrush tan
;
172 static SolidBrush teal
;
173 static SolidBrush thistle
;
174 static SolidBrush tomato
;
175 static SolidBrush transparent
;
176 static SolidBrush turquoise
;
177 static SolidBrush violet
;
178 static SolidBrush wheat
;
179 static SolidBrush white
;
180 static SolidBrush whiteSmoke
;
181 static SolidBrush yellow
;
182 static SolidBrush yellowGreen
;
184 // We intentionally do not set the is_modifiable=false flag on
185 // the brushes, to stay Microsoft compatible
187 private Brushes () { }
189 public static Brush AliceBlue
{
191 if (aliceBlue
==null) {
192 aliceBlue
=new SolidBrush(Color
.AliceBlue
);
198 public static Brush AntiqueWhite
{
200 if (antiqueWhite
==null) {
201 antiqueWhite
=new SolidBrush(Color
.AntiqueWhite
);
203 return(antiqueWhite
);
207 public static Brush Aqua
{
210 aqua
=new SolidBrush(Color
.Aqua
);
216 public static Brush Aquamarine
{
218 if (aquamarine
==null) {
219 aquamarine
=new SolidBrush(Color
.Aquamarine
);
225 public static Brush Azure
{
228 azure
=new SolidBrush(Color
.Azure
);
234 public static Brush Beige
{
237 beige
=new SolidBrush(Color
.Beige
);
243 public static Brush Bisque
{
246 bisque
=new SolidBrush(Color
.Bisque
);
252 public static Brush Black
{
255 black
=new SolidBrush(Color
.Black
);
261 public static Brush BlanchedAlmond
{
263 if (blanchedAlmond
==null) {
264 blanchedAlmond
=new SolidBrush(Color
.BlanchedAlmond
);
266 return(blanchedAlmond
);
270 public static Brush Blue
{
273 blue
=new SolidBrush(Color
.Blue
);
279 public static Brush BlueViolet
{
281 if (blueViolet
==null) {
282 blueViolet
=new SolidBrush(Color
.BlueViolet
);
288 public static Brush Brown
{
291 brown
=new SolidBrush(Color
.Brown
);
297 public static Brush BurlyWood
{
299 if (burlyWood
==null) {
300 burlyWood
=new SolidBrush(Color
.BurlyWood
);
306 public static Brush CadetBlue
{
308 if (cadetBlue
==null) {
309 cadetBlue
=new SolidBrush(Color
.CadetBlue
);
315 public static Brush Chartreuse
{
317 if (chartreuse
==null) {
318 chartreuse
=new SolidBrush(Color
.Chartreuse
);
324 public static Brush Chocolate
{
326 if (chocolate
==null) {
327 chocolate
=new SolidBrush(Color
.Chocolate
);
333 public static Brush Coral
{
336 coral
=new SolidBrush(Color
.Coral
);
342 public static Brush CornflowerBlue
{
344 if (cornflowerBlue
==null) {
345 cornflowerBlue
=new SolidBrush(Color
.CornflowerBlue
);
347 return(cornflowerBlue
);
351 public static Brush Cornsilk
{
353 if (cornsilk
==null) {
354 cornsilk
=new SolidBrush(Color
.Cornsilk
);
360 public static Brush Crimson
{
363 crimson
=new SolidBrush(Color
.Crimson
);
369 public static Brush Cyan
{
372 cyan
=new SolidBrush(Color
.Cyan
);
378 public static Brush DarkBlue
{
380 if (darkBlue
==null) {
381 darkBlue
=new SolidBrush(Color
.DarkBlue
);
387 public static Brush DarkCyan
{
389 if (darkCyan
==null) {
390 darkCyan
=new SolidBrush(Color
.DarkCyan
);
396 public static Brush DarkGoldenrod
{
398 if (darkGoldenrod
==null) {
399 darkGoldenrod
=new SolidBrush(Color
.DarkGoldenrod
);
401 return(darkGoldenrod
);
405 public static Brush DarkGray
{
407 if (darkGray
==null) {
408 darkGray
=new SolidBrush(Color
.DarkGray
);
414 public static Brush DarkGreen
{
416 if (darkGreen
==null) {
417 darkGreen
=new SolidBrush(Color
.DarkGreen
);
423 public static Brush DarkKhaki
{
425 if (darkKhaki
==null) {
426 darkKhaki
=new SolidBrush(Color
.DarkKhaki
);
432 public static Brush DarkMagenta
{
434 if (darkMagenta
==null) {
435 darkMagenta
=new SolidBrush(Color
.DarkMagenta
);
441 public static Brush DarkOliveGreen
{
443 if (darkOliveGreen
==null) {
444 darkOliveGreen
=new SolidBrush(Color
.DarkOliveGreen
);
446 return(darkOliveGreen
);
450 public static Brush DarkOrange
{
452 if (darkOrange
==null) {
453 darkOrange
=new SolidBrush(Color
.DarkOrange
);
459 public static Brush DarkOrchid
{
461 if (darkOrchid
==null) {
462 darkOrchid
=new SolidBrush(Color
.DarkOrchid
);
468 public static Brush DarkRed
{
471 darkRed
=new SolidBrush(Color
.DarkRed
);
477 public static Brush DarkSalmon
{
479 if (darkSalmon
==null) {
480 darkSalmon
=new SolidBrush(Color
.DarkSalmon
);
486 public static Brush DarkSeaGreen
{
488 if (darkSeaGreen
==null) {
489 darkSeaGreen
=new SolidBrush(Color
.DarkSeaGreen
);
491 return(darkSeaGreen
);
495 public static Brush DarkSlateBlue
{
497 if (darkSlateBlue
==null) {
498 darkSlateBlue
=new SolidBrush(Color
.DarkSlateBlue
);
500 return(darkSlateBlue
);
504 public static Brush DarkSlateGray
{
506 if (darkSlateGray
==null) {
507 darkSlateGray
=new SolidBrush(Color
.DarkSlateGray
);
509 return(darkSlateGray
);
513 public static Brush DarkTurquoise
{
515 if (darkTurquoise
==null) {
516 darkTurquoise
=new SolidBrush(Color
.DarkTurquoise
);
518 return(darkTurquoise
);
522 public static Brush DarkViolet
{
524 if (darkViolet
==null) {
525 darkViolet
=new SolidBrush(Color
.DarkViolet
);
531 public static Brush DeepPink
{
533 if (deepPink
==null) {
534 deepPink
=new SolidBrush(Color
.DeepPink
);
540 public static Brush DeepSkyBlue
{
542 if (deepSkyBlue
==null) {
543 deepSkyBlue
=new SolidBrush(Color
.DeepSkyBlue
);
549 public static Brush DimGray
{
552 dimGray
=new SolidBrush(Color
.DimGray
);
558 public static Brush DodgerBlue
{
560 if (dodgerBlue
==null) {
561 dodgerBlue
=new SolidBrush(Color
.DodgerBlue
);
567 public static Brush Firebrick
{
569 if (firebrick
==null) {
570 firebrick
=new SolidBrush(Color
.Firebrick
);
576 public static Brush FloralWhite
{
578 if (floralWhite
==null) {
579 floralWhite
=new SolidBrush(Color
.FloralWhite
);
585 public static Brush ForestGreen
{
587 if (forestGreen
==null) {
588 forestGreen
=new SolidBrush(Color
.ForestGreen
);
594 public static Brush Fuchsia
{
597 fuchsia
=new SolidBrush(Color
.Fuchsia
);
603 public static Brush Gainsboro
{
605 if (gainsboro
==null) {
606 gainsboro
=new SolidBrush(Color
.Gainsboro
);
612 public static Brush GhostWhite
{
614 if (ghostWhite
==null) {
615 ghostWhite
=new SolidBrush(Color
.GhostWhite
);
621 public static Brush Gold
{
624 gold
=new SolidBrush(Color
.Gold
);
630 public static Brush Goldenrod
{
632 if (goldenrod
==null) {
633 goldenrod
=new SolidBrush(Color
.Goldenrod
);
639 public static Brush Gray
{
642 gray
=new SolidBrush(Color
.Gray
);
648 public static Brush Green
{
651 green
=new SolidBrush(Color
.Green
);
657 public static Brush GreenYellow
{
659 if (greenYellow
==null) {
660 greenYellow
=new SolidBrush(Color
.GreenYellow
);
666 public static Brush Honeydew
{
668 if (honeydew
==null) {
669 honeydew
=new SolidBrush(Color
.Honeydew
);
675 public static Brush HotPink
{
678 hotPink
=new SolidBrush(Color
.HotPink
);
684 public static Brush IndianRed
{
686 if (indianRed
==null) {
687 indianRed
=new SolidBrush(Color
.IndianRed
);
693 public static Brush Indigo
{
696 indigo
=new SolidBrush(Color
.Indigo
);
702 public static Brush Ivory
{
705 ivory
=new SolidBrush(Color
.Ivory
);
711 public static Brush Khaki
{
714 khaki
=new SolidBrush(Color
.Khaki
);
720 public static Brush Lavender
{
722 if (lavender
==null) {
723 lavender
=new SolidBrush(Color
.Lavender
);
729 public static Brush LavenderBlush
{
731 if (lavenderBlush
==null) {
732 lavenderBlush
=new SolidBrush(Color
.LavenderBlush
);
734 return(lavenderBlush
);
738 public static Brush LawnGreen
{
740 if (lawnGreen
==null) {
741 lawnGreen
=new SolidBrush(Color
.LawnGreen
);
747 public static Brush LemonChiffon
{
749 if (lemonChiffon
==null) {
750 lemonChiffon
=new SolidBrush(Color
.LemonChiffon
);
752 return(lemonChiffon
);
756 public static Brush LightBlue
{
758 if (lightBlue
==null) {
759 lightBlue
=new SolidBrush(Color
.LightBlue
);
765 public static Brush LightCoral
{
767 if (lightCoral
==null) {
768 lightCoral
=new SolidBrush(Color
.LightCoral
);
774 public static Brush LightCyan
{
776 if (lightCyan
==null) {
777 lightCyan
=new SolidBrush(Color
.LightCyan
);
783 public static Brush LightGoldenrodYellow
{
785 if (lightGoldenrodYellow
==null) {
786 lightGoldenrodYellow
=new SolidBrush(Color
.LightGoldenrodYellow
);
788 return(lightGoldenrodYellow
);
792 public static Brush LightGray
{
794 if (lightGray
==null) {
795 lightGray
=new SolidBrush(Color
.LightGray
);
801 public static Brush LightGreen
{
803 if (lightGreen
==null) {
804 lightGreen
=new SolidBrush(Color
.LightGreen
);
810 public static Brush LightPink
{
812 if (lightPink
==null) {
813 lightPink
=new SolidBrush(Color
.LightPink
);
819 public static Brush LightSalmon
{
821 if (lightSalmon
==null) {
822 lightSalmon
=new SolidBrush(Color
.LightSalmon
);
828 public static Brush LightSeaGreen
{
830 if (lightSeaGreen
==null) {
831 lightSeaGreen
=new SolidBrush(Color
.LightSeaGreen
);
833 return(lightSeaGreen
);
837 public static Brush LightSkyBlue
{
839 if (lightSkyBlue
==null) {
840 lightSkyBlue
=new SolidBrush(Color
.LightSkyBlue
);
842 return(lightSkyBlue
);
846 public static Brush LightSlateGray
{
848 if (lightSlateGray
==null) {
849 lightSlateGray
=new SolidBrush(Color
.LightSlateGray
);
851 return(lightSlateGray
);
855 public static Brush LightSteelBlue
{
857 if (lightSteelBlue
==null) {
858 lightSteelBlue
=new SolidBrush(Color
.LightSteelBlue
);
860 return(lightSteelBlue
);
864 public static Brush LightYellow
{
866 if (lightYellow
==null) {
867 lightYellow
=new SolidBrush(Color
.LightYellow
);
873 public static Brush Lime
{
876 lime
=new SolidBrush(Color
.Lime
);
882 public static Brush LimeGreen
{
884 if (limeGreen
==null) {
885 limeGreen
=new SolidBrush(Color
.LimeGreen
);
891 public static Brush Linen
{
894 linen
=new SolidBrush(Color
.Linen
);
900 public static Brush Magenta
{
903 magenta
=new SolidBrush(Color
.Magenta
);
909 public static Brush Maroon
{
912 maroon
=new SolidBrush(Color
.Maroon
);
918 public static Brush MediumAquamarine
{
920 if (mediumAquamarine
==null) {
921 mediumAquamarine
=new SolidBrush(Color
.MediumAquamarine
);
923 return(mediumAquamarine
);
927 public static Brush MediumBlue
{
929 if (mediumBlue
==null) {
930 mediumBlue
=new SolidBrush(Color
.MediumBlue
);
936 public static Brush MediumOrchid
{
938 if (mediumOrchid
==null) {
939 mediumOrchid
=new SolidBrush(Color
.MediumOrchid
);
941 return(mediumOrchid
);
945 public static Brush MediumPurple
{
947 if (mediumPurple
==null) {
948 mediumPurple
=new SolidBrush(Color
.MediumPurple
);
950 return(mediumPurple
);
954 public static Brush MediumSeaGreen
{
956 if (mediumSeaGreen
==null) {
957 mediumSeaGreen
=new SolidBrush(Color
.MediumSeaGreen
);
959 return(mediumSeaGreen
);
963 public static Brush MediumSlateBlue
{
965 if (mediumSlateBlue
==null) {
966 mediumSlateBlue
=new SolidBrush(Color
.MediumSlateBlue
);
968 return(mediumSlateBlue
);
972 public static Brush MediumSpringGreen
{
974 if (mediumSpringGreen
==null) {
975 mediumSpringGreen
=new SolidBrush(Color
.MediumSpringGreen
);
977 return(mediumSpringGreen
);
981 public static Brush MediumTurquoise
{
983 if (mediumTurquoise
==null) {
984 mediumTurquoise
=new SolidBrush(Color
.MediumTurquoise
);
986 return(mediumTurquoise
);
990 public static Brush MediumVioletRed
{
992 if (mediumVioletRed
==null) {
993 mediumVioletRed
=new SolidBrush(Color
.MediumVioletRed
);
995 return(mediumVioletRed
);
999 public static Brush MidnightBlue
{
1001 if (midnightBlue
==null) {
1002 midnightBlue
=new SolidBrush(Color
.MidnightBlue
);
1004 return(midnightBlue
);
1008 public static Brush MintCream
{
1010 if (mintCream
==null) {
1011 mintCream
=new SolidBrush(Color
.MintCream
);
1017 public static Brush MistyRose
{
1019 if (mistyRose
==null) {
1020 mistyRose
=new SolidBrush(Color
.MistyRose
);
1026 public static Brush Moccasin
{
1028 if (moccasin
==null) {
1029 moccasin
=new SolidBrush(Color
.Moccasin
);
1035 public static Brush NavajoWhite
{
1037 if (navajoWhite
==null) {
1038 navajoWhite
=new SolidBrush(Color
.NavajoWhite
);
1040 return(navajoWhite
);
1044 public static Brush Navy
{
1047 navy
=new SolidBrush(Color
.Navy
);
1053 public static Brush OldLace
{
1055 if (oldLace
==null) {
1056 oldLace
=new SolidBrush(Color
.OldLace
);
1062 public static Brush Olive
{
1065 olive
=new SolidBrush(Color
.Olive
);
1071 public static Brush OliveDrab
{
1073 if (oliveDrab
==null) {
1074 oliveDrab
=new SolidBrush(Color
.OliveDrab
);
1080 public static Brush Orange
{
1083 orange
=new SolidBrush(Color
.Orange
);
1089 public static Brush OrangeRed
{
1091 if (orangeRed
==null) {
1092 orangeRed
=new SolidBrush(Color
.OrangeRed
);
1098 public static Brush Orchid
{
1101 orchid
=new SolidBrush(Color
.Orchid
);
1107 public static Brush PaleGoldenrod
{
1109 if (paleGoldenrod
==null) {
1110 paleGoldenrod
=new SolidBrush(Color
.PaleGoldenrod
);
1112 return(paleGoldenrod
);
1116 public static Brush PaleGreen
{
1118 if (paleGreen
==null) {
1119 paleGreen
=new SolidBrush(Color
.PaleGreen
);
1125 public static Brush PaleTurquoise
{
1127 if (paleTurquoise
==null) {
1128 paleTurquoise
=new SolidBrush(Color
.PaleTurquoise
);
1130 return(paleTurquoise
);
1134 public static Brush PaleVioletRed
{
1136 if (paleVioletRed
==null) {
1137 paleVioletRed
=new SolidBrush(Color
.PaleVioletRed
);
1139 return(paleVioletRed
);
1143 public static Brush PapayaWhip
{
1145 if (papayaWhip
==null) {
1146 papayaWhip
=new SolidBrush(Color
.PapayaWhip
);
1152 public static Brush PeachPuff
{
1154 if (peachPuff
==null) {
1155 peachPuff
=new SolidBrush(Color
.PeachPuff
);
1161 public static Brush Peru
{
1164 peru
=new SolidBrush(Color
.Peru
);
1170 public static Brush Pink
{
1173 pink
=new SolidBrush(Color
.Pink
);
1179 public static Brush Plum
{
1182 plum
=new SolidBrush(Color
.Plum
);
1188 public static Brush PowderBlue
{
1190 if (powderBlue
==null) {
1191 powderBlue
=new SolidBrush(Color
.PowderBlue
);
1197 public static Brush Purple
{
1200 purple
=new SolidBrush(Color
.Purple
);
1206 public static Brush Red
{
1209 red
=new SolidBrush(Color
.Red
);
1215 public static Brush RosyBrown
{
1217 if (rosyBrown
==null) {
1218 rosyBrown
=new SolidBrush(Color
.RosyBrown
);
1224 public static Brush RoyalBlue
{
1226 if (royalBlue
==null) {
1227 royalBlue
=new SolidBrush(Color
.RoyalBlue
);
1233 public static Brush SaddleBrown
{
1235 if (saddleBrown
==null) {
1236 saddleBrown
=new SolidBrush(Color
.SaddleBrown
);
1238 return(saddleBrown
);
1242 public static Brush Salmon
{
1245 salmon
=new SolidBrush(Color
.Salmon
);
1251 public static Brush SandyBrown
{
1253 if (sandyBrown
==null) {
1254 sandyBrown
=new SolidBrush(Color
.SandyBrown
);
1260 public static Brush SeaGreen
{
1262 if (seaGreen
==null) {
1263 seaGreen
=new SolidBrush(Color
.SeaGreen
);
1269 public static Brush SeaShell
{
1271 if (seaShell
==null) {
1272 seaShell
=new SolidBrush(Color
.SeaShell
);
1278 public static Brush Sienna
{
1281 sienna
=new SolidBrush(Color
.Sienna
);
1287 public static Brush Silver
{
1290 silver
=new SolidBrush(Color
.Silver
);
1296 public static Brush SkyBlue
{
1298 if (skyBlue
==null) {
1299 skyBlue
=new SolidBrush(Color
.SkyBlue
);
1305 public static Brush SlateBlue
{
1307 if (slateBlue
==null) {
1308 slateBlue
=new SolidBrush(Color
.SlateBlue
);
1314 public static Brush SlateGray
{
1316 if (slateGray
==null) {
1317 slateGray
=new SolidBrush(Color
.SlateGray
);
1323 public static Brush Snow
{
1326 snow
=new SolidBrush(Color
.Snow
);
1332 public static Brush SpringGreen
{
1334 if (springGreen
==null) {
1335 springGreen
=new SolidBrush(Color
.SpringGreen
);
1337 return(springGreen
);
1341 public static Brush SteelBlue
{
1343 if (steelBlue
==null) {
1344 steelBlue
=new SolidBrush(Color
.SteelBlue
);
1350 public static Brush Tan
{
1353 tan
=new SolidBrush(Color
.Tan
);
1359 public static Brush Teal
{
1362 teal
=new SolidBrush(Color
.Teal
);
1368 public static Brush Thistle
{
1370 if (thistle
==null) {
1371 thistle
=new SolidBrush(Color
.Thistle
);
1377 public static Brush Tomato
{
1380 tomato
=new SolidBrush(Color
.Tomato
);
1386 public static Brush Transparent
{
1388 if (transparent
==null) {
1389 transparent
=new SolidBrush(Color
.Transparent
);
1391 return(transparent
);
1395 public static Brush Turquoise
{
1397 if (turquoise
==null) {
1398 turquoise
=new SolidBrush(Color
.Turquoise
);
1404 public static Brush Violet
{
1407 violet
=new SolidBrush(Color
.Violet
);
1413 public static Brush Wheat
{
1416 wheat
=new SolidBrush(Color
.Wheat
);
1422 public static Brush White
{
1425 white
=new SolidBrush(Color
.White
);
1431 public static Brush WhiteSmoke
{
1433 if (whiteSmoke
==null) {
1434 whiteSmoke
=new SolidBrush(Color
.WhiteSmoke
);
1440 public static Brush Yellow
{
1443 yellow
=new SolidBrush(Color
.Yellow
);
1449 public static Brush YellowGreen
{
1451 if (yellowGreen
==null) {
1452 yellowGreen
=new SolidBrush(Color
.YellowGreen
);
1454 return(yellowGreen
);