1- // Copyright (c) Six Labors.
1+ // Copyright (c) Six Labors.
22// Licensed under the Apache License, Version 2.0.
33
44using BenchmarkDotNet . Attributes ;
55using SixLabors . ImageSharp . Drawing . Processing ;
66using SixLabors . ImageSharp . PixelFormats ;
77using SixLabors . ImageSharp . Processing ;
88
9- namespace SixLabors . ImageSharp . Drawing . Benchmarks . Drawing
9+ namespace SixLabors . ImageSharp . Drawing . Benchmarks
1010{
1111 public class FillPathGradientBrush
1212 {
@@ -23,11 +23,8 @@ public void FillGradientBrush_ImageSharp()
2323 {
2424 var star = new Star ( 50 , 50 , 5 , 20 , 45 ) ;
2525 PointF [ ] points = star . Points . ToArray ( ) ;
26- Color [ ] colors =
27- {
28- Color . Red , Color . Yellow , Color . Green , Color . Blue , Color . Purple ,
29- Color . Red , Color . Yellow , Color . Green , Color . Blue , Color . Purple
30- } ;
26+ Color [ ] colors = { Color . Red , Color . Yellow , Color . Green , Color . Blue , Color . Purple ,
27+ Color . Red , Color . Yellow , Color . Green , Color . Blue , Color . Purple } ;
3128
3229 var brush = new PathGradientBrush ( points , colors , Color . White ) ;
3330
0 commit comments