@@ -19,13 +19,13 @@ public void LinearGradientBrushWithEqualColorsReturnsUnicolorImage()
1919 string path = TestEnvironment . CreateOutputDirectory ( "Fill" , "LinearGradientBrush" ) ;
2020 using ( var image = new Image < Rgba32 > ( 10 , 10 ) )
2121 {
22- LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
22+ LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
2323 new LinearGradientBrush < Rgba32 > (
2424 new SixLabors . Primitives . Point ( 0 , 0 ) ,
2525 new SixLabors . Primitives . Point ( 10 , 0 ) ,
2626 new LinearGradientBrush < Rgba32 > . ColorStop ( 0 , Rgba32 . Red ) ,
2727 new LinearGradientBrush < Rgba32 > . ColorStop ( 1 , Rgba32 . Red ) ) ;
28-
28+
2929 image . Mutate ( x => x . Fill ( unicolorLinearGradientBrush ) ) ;
3030 image . Save ( $ "{ path } /UnicolorGradient.png") ;
3131
@@ -38,7 +38,7 @@ public void LinearGradientBrushWithEqualColorsReturnsUnicolorImage()
3838 }
3939 }
4040 }
41-
41+
4242 [ Fact ]
4343 public void HorizontalLinearGradientBrushReturnsUnicolorColumns ( )
4444 {
@@ -49,13 +49,13 @@ public void HorizontalLinearGradientBrushReturnsUnicolorColumns()
4949 string path = TestEnvironment . CreateOutputDirectory ( "Fill" , "LinearGradientBrush" ) ;
5050 using ( var image = new Image < Rgba32 > ( width , height ) )
5151 {
52- LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
52+ LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
5353 new LinearGradientBrush < Rgba32 > (
5454 new SixLabors . Primitives . Point ( 0 , 0 ) ,
5555 new SixLabors . Primitives . Point ( 500 , 0 ) ,
5656 new LinearGradientBrush < Rgba32 > . ColorStop ( 0 , Rgba32 . Red ) ,
5757 new LinearGradientBrush < Rgba32 > . ColorStop ( 1 , Rgba32 . Yellow ) ) ;
58-
58+
5959 image . Mutate ( x => x . Fill ( unicolorLinearGradientBrush ) ) ;
6060 image . Save ( $ "{ path } /horizontalRedToYellow.png") ;
6161
@@ -64,13 +64,13 @@ public void HorizontalLinearGradientBrushReturnsUnicolorColumns()
6464 Rgba32 columnColor23 = sourcePixels [ 23 , 0 ] ;
6565 Rgba32 columnColor42 = sourcePixels [ 42 , 0 ] ;
6666 Rgba32 columnColor333 = sourcePixels [ 333 , 0 ] ;
67-
67+
6868 for ( int i = 0 ; i < height ; i ++ )
6969 {
7070 // check first and last column, these are known:
7171 Assert . Equal ( Rgba32 . Red , sourcePixels [ 0 , i ] ) ;
7272 Assert . Equal ( Rgba32 . Yellow , sourcePixels [ lastColumnIndex , i ] ) ;
73-
73+
7474 // check the random colors:
7575 Assert . Equal ( columnColor23 , sourcePixels [ 23 , i ] ) ;
7676 Assert . Equal ( columnColor42 , sourcePixels [ 42 , i ] ) ;
@@ -89,7 +89,7 @@ public void LinearGradientsWithDoubledStopsProduceDashedPatterns(
8989 {
9090 int width = 20 ;
9191 int height = 10 ;
92-
92+
9393 // ensure the input data is valid
9494 Assert . True ( pattern . Length > 0 ) ;
9595
@@ -109,7 +109,7 @@ public void LinearGradientsWithDoubledStopsProduceDashedPatterns(
109109 string path = TestEnvironment . CreateOutputDirectory ( "Fill" , "LinearGradientBrush" ) ;
110110 using ( var image = new Image < Rgba32 > ( width , height ) )
111111 {
112- LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
112+ LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
113113 new LinearGradientBrush < Rgba32 > (
114114 new SixLabors . Primitives . Point ( 0 , 0 ) ,
115115 new SixLabors . Primitives . Point ( width , 0 ) ,
@@ -138,7 +138,7 @@ public void VerticalLinearGradientBrushReturnsUnicolorColumns()
138138 string path = TestEnvironment . CreateOutputDirectory ( "Fill" , "LinearGradientBrush" ) ;
139139 using ( var image = new Image < Rgba32 > ( width , height ) )
140140 {
141- LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
141+ LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
142142 new LinearGradientBrush < Rgba32 > (
143143 new SixLabors . Primitives . Point ( 0 , 0 ) ,
144144 new SixLabors . Primitives . Point ( 0 , 500 ) ,
@@ -182,7 +182,7 @@ public void DiagonalLinearGradientBrushReturnsUnicolorColumns(
182182 string path = TestEnvironment . CreateOutputDirectory ( "Fill" , "LinearGradientBrush" ) ;
183183 using ( var image = new Image < Rgba32 > ( size , size ) )
184184 {
185- LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
185+ LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
186186 new LinearGradientBrush < Rgba32 > (
187187 new SixLabors . Primitives . Point ( startX , startY ) ,
188188 new SixLabors . Primitives . Point ( endX , endY ) ,
@@ -239,7 +239,7 @@ public void ArbitraryLinearGradientsProduceImagesVisualCheckOnly(
239239 string path = TestEnvironment . CreateOutputDirectory ( "Fill" , "LinearGradientBrush" ) ;
240240 using ( var image = new Image < Rgba32 > ( size , size ) )
241241 {
242- LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
242+ LinearGradientBrush < Rgba32 > unicolorLinearGradientBrush =
243243 new LinearGradientBrush < Rgba32 > (
244244 new SixLabors . Primitives . Point ( startX , startY ) ,
245245 new SixLabors . Primitives . Point ( endX , endY ) ,
0 commit comments