@@ -93,130 +93,131 @@ public static class Brushes
9393 /// </summary>
9494 /// <param name="color">The color.</param>
9595 /// <returns>A New <see cref="PatternBrush"/></returns>
96- public static SolidBrush Solid ( Color color ) => new SolidBrush ( color ) ;
96+ public static SolidBrush Solid ( Color color ) => new ( color ) ;
9797
9898 /// <summary>
9999 /// Create as brush that will paint a Percent10 Hatch Pattern with the specified colors
100100 /// </summary>
101101 /// <param name="foreColor">Color of the foreground.</param>
102102 /// <returns>A New <see cref="PatternBrush"/></returns>
103- public static PatternBrush Percent10 ( Color foreColor ) =>
104- new PatternBrush ( foreColor , Color . Transparent , Percent10Pattern ) ;
103+ public static PatternBrush Percent10 ( Color foreColor )
104+ => new ( foreColor , Color . Transparent , Percent10Pattern ) ;
105105
106106 /// <summary>
107107 /// Create as brush that will paint a Percent10 Hatch Pattern with the specified colors
108108 /// </summary>
109109 /// <param name="foreColor">Color of the foreground.</param>
110110 /// <param name="backColor">Color of the background.</param>
111111 /// <returns>A New <see cref="PatternBrush"/></returns>
112- public static PatternBrush Percent10 ( Color foreColor , Color backColor ) =>
113- new PatternBrush ( foreColor , backColor , Percent10Pattern ) ;
112+ public static PatternBrush Percent10 ( Color foreColor , Color backColor )
113+ => new ( foreColor , backColor , Percent10Pattern ) ;
114114
115115 /// <summary>
116116 /// Create as brush that will paint a Percent20 Hatch Pattern with the specified foreground color and a
117117 /// transparent background.
118118 /// </summary>
119119 /// <param name="foreColor">Color of the foreground.</param>
120120 /// <returns>A New <see cref="PatternBrush"/></returns>
121- public static PatternBrush Percent20 ( Color foreColor ) =>
122- new PatternBrush ( foreColor , Color . Transparent , Percent20Pattern ) ;
121+ public static PatternBrush Percent20 ( Color foreColor )
122+ => new ( foreColor , Color . Transparent , Percent20Pattern ) ;
123123
124124 /// <summary>
125125 /// Create as brush that will paint a Percent20 Hatch Pattern with the specified colors
126126 /// </summary>
127127 /// <param name="foreColor">Color of the foreground.</param>
128128 /// <param name="backColor">Color of the background.</param>
129129 /// <returns>A New <see cref="PatternBrush"/></returns>
130- public static PatternBrush Percent20 ( Color foreColor , Color backColor ) =>
131- new PatternBrush ( foreColor , backColor , Percent20Pattern ) ;
130+ public static PatternBrush Percent20 ( Color foreColor , Color backColor )
131+ => new ( foreColor , backColor , Percent20Pattern ) ;
132132
133133 /// <summary>
134134 /// Create as brush that will paint a Horizontal Hatch Pattern with the specified foreground color and a
135135 /// transparent background.
136136 /// </summary>
137137 /// <param name="foreColor">Color of the foreground.</param>
138138 /// <returns>A New <see cref="PatternBrush"/></returns>
139- public static PatternBrush Horizontal ( Color foreColor ) =>
140- new PatternBrush ( foreColor , Color . Transparent , HorizontalPattern ) ;
139+ public static PatternBrush Horizontal ( Color foreColor )
140+ => new ( foreColor , Color . Transparent , HorizontalPattern ) ;
141141
142142 /// <summary>
143143 /// Create as brush that will paint a Horizontal Hatch Pattern with the specified colors
144144 /// </summary>
145145 /// <param name="foreColor">Color of the foreground.</param>
146146 /// <param name="backColor">Color of the background.</param>
147147 /// <returns>A New <see cref="PatternBrush"/></returns>
148- public static PatternBrush Horizontal ( Color foreColor , Color backColor ) =>
149- new PatternBrush ( foreColor , backColor , HorizontalPattern ) ;
148+ public static PatternBrush Horizontal ( Color foreColor , Color backColor )
149+ => new ( foreColor , backColor , HorizontalPattern ) ;
150150
151151 /// <summary>
152152 /// Create as brush that will paint a Min Hatch Pattern with the specified foreground color and a
153153 /// transparent background.
154154 /// </summary>
155155 /// <param name="foreColor">Color of the foreground.</param>
156156 /// <returns>A New <see cref="PatternBrush"/></returns>
157- public static PatternBrush Min ( Color foreColor ) => new PatternBrush ( foreColor , Color . Transparent , MinPattern ) ;
157+ public static PatternBrush Min ( Color foreColor )
158+ => new ( foreColor , Color . Transparent , MinPattern ) ;
158159
159160 /// <summary>
160161 /// Create as brush that will paint a Min Hatch Pattern with the specified colors
161162 /// </summary>
162163 /// <param name="foreColor">Color of the foreground.</param>
163164 /// <param name="backColor">Color of the background.</param>
164165 /// <returns>A New <see cref="PatternBrush"/></returns>
165- public static PatternBrush Min ( Color foreColor , Color backColor ) =>
166- new PatternBrush ( foreColor , backColor , MinPattern ) ;
166+ public static PatternBrush Min ( Color foreColor , Color backColor )
167+ => new ( foreColor , backColor , MinPattern ) ;
167168
168169 /// <summary>
169170 /// Create as brush that will paint a Vertical Hatch Pattern with the specified foreground color and a
170171 /// transparent background.
171172 /// </summary>
172173 /// <param name="foreColor">Color of the foreground.</param>
173174 /// <returns>A New <see cref="PatternBrush"/></returns>
174- public static PatternBrush Vertical ( Color foreColor ) =>
175- new PatternBrush ( foreColor , Color . Transparent , VerticalPattern ) ;
175+ public static PatternBrush Vertical ( Color foreColor )
176+ => new ( foreColor , Color . Transparent , VerticalPattern ) ;
176177
177178 /// <summary>
178179 /// Create as brush that will paint a Vertical Hatch Pattern with the specified colors
179180 /// </summary>
180181 /// <param name="foreColor">Color of the foreground.</param>
181182 /// <param name="backColor">Color of the background.</param>
182183 /// <returns>A New <see cref="PatternBrush"/></returns>
183- public static PatternBrush Vertical ( Color foreColor , Color backColor ) =>
184- new PatternBrush ( foreColor , backColor , VerticalPattern ) ;
184+ public static PatternBrush Vertical ( Color foreColor , Color backColor )
185+ => new ( foreColor , backColor , VerticalPattern ) ;
185186
186187 /// <summary>
187188 /// Create as brush that will paint a Forward Diagonal Hatch Pattern with the specified foreground color and a
188189 /// transparent background.
189190 /// </summary>
190191 /// <param name="foreColor">Color of the foreground.</param>
191192 /// <returns>A New <see cref="PatternBrush"/></returns>
192- public static PatternBrush ForwardDiagonal ( Color foreColor ) =>
193- new PatternBrush ( foreColor , Color . Transparent , ForwardDiagonalPattern ) ;
193+ public static PatternBrush ForwardDiagonal ( Color foreColor )
194+ => new ( foreColor , Color . Transparent , ForwardDiagonalPattern ) ;
194195
195196 /// <summary>
196197 /// Create as brush that will paint a Forward Diagonal Hatch Pattern with the specified colors
197198 /// </summary>
198199 /// <param name="foreColor">Color of the foreground.</param>
199200 /// <param name="backColor">Color of the background.</param>
200201 /// <returns>A New <see cref="PatternBrush"/></returns>
201- public static PatternBrush ForwardDiagonal ( Color foreColor , Color backColor ) =>
202- new PatternBrush ( foreColor , backColor , ForwardDiagonalPattern ) ;
202+ public static PatternBrush ForwardDiagonal ( Color foreColor , Color backColor )
203+ => new ( foreColor , backColor , ForwardDiagonalPattern ) ;
203204
204205 /// <summary>
205206 /// Create as brush that will paint a Backward Diagonal Hatch Pattern with the specified foreground color and a
206207 /// transparent background.
207208 /// </summary>
208209 /// <param name="foreColor">Color of the foreground.</param>
209210 /// <returns>A New <see cref="PatternBrush"/></returns>
210- public static PatternBrush BackwardDiagonal ( Color foreColor ) =>
211- new PatternBrush ( foreColor , Color . Transparent , BackwardDiagonalPattern ) ;
211+ public static PatternBrush BackwardDiagonal ( Color foreColor )
212+ => new ( foreColor , Color . Transparent , BackwardDiagonalPattern ) ;
212213
213214 /// <summary>
214215 /// Create as brush that will paint a Backward Diagonal Hatch Pattern with the specified colors
215216 /// </summary>
216217 /// <param name="foreColor">Color of the foreground.</param>
217218 /// <param name="backColor">Color of the background.</param>
218219 /// <returns>A New <see cref="PatternBrush"/></returns>
219- public static PatternBrush BackwardDiagonal ( Color foreColor , Color backColor ) =>
220- new PatternBrush ( foreColor , backColor , BackwardDiagonalPattern ) ;
220+ public static PatternBrush BackwardDiagonal ( Color foreColor , Color backColor )
221+ => new ( foreColor , backColor , BackwardDiagonalPattern ) ;
221222 }
222223}
0 commit comments