@@ -19,15 +19,6 @@ public static class BokehBlurExtensions
1919 public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source )
2020 => source . ApplyProcessor ( new BokehBlurProcessor ( ) ) ;
2121
22- /// <summary>
23- /// Applies a bokeh blur to the image.
24- /// </summary>
25- /// <param name="source">The image this method extends.</param>
26- /// <param name="executionMode">The execution mode to use when applying the processor.</param>
27- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
28- public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source , BokehBlurExecutionMode executionMode )
29- => source . ApplyProcessor ( new BokehBlurProcessor ( executionMode ) ) ;
30-
3122 /// <summary>
3223 /// Applies a bokeh blur to the image.
3324 /// </summary>
@@ -39,18 +30,6 @@ public static IImageProcessingContext BokehBlur(this IImageProcessingContext sou
3930 public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source , int radius , int components , float gamma )
4031 => source . ApplyProcessor ( new BokehBlurProcessor ( radius , components , gamma ) ) ;
4132
42- /// <summary>
43- /// Applies a bokeh blur to the image.
44- /// </summary>
45- /// <param name="source">The image this method extends.</param>
46- /// <param name="radius">The 'radius' value representing the size of the area to sample.</param>
47- /// <param name="components">The 'components' value representing the number of kernels to use to approximate the bokeh effect.</param>
48- /// <param name="gamma">The gamma highlight factor to use to emphasize bright spots in the source image</param>
49- /// <param name="executionMode">The execution mode to use when applying the processor.</param>
50- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
51- public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source , int radius , int components , float gamma , BokehBlurExecutionMode executionMode )
52- => source . ApplyProcessor ( new BokehBlurProcessor ( radius , components , gamma , executionMode ) ) ;
53-
5433 /// <summary>
5534 /// Applies a bokeh blur to the image.
5635 /// </summary>
@@ -62,18 +41,6 @@ public static IImageProcessingContext BokehBlur(this IImageProcessingContext sou
6241 public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source , Rectangle rectangle )
6342 => source . ApplyProcessor ( new BokehBlurProcessor ( ) , rectangle ) ;
6443
65- /// <summary>
66- /// Applies a bokeh blur to the image.
67- /// </summary>
68- /// <param name="source">The image this method extends.</param>
69- /// <param name="rectangle">
70- /// The <see cref="Rectangle"/> structure that specifies the portion of the image object to alter.
71- /// </param>
72- /// <param name="executionMode">The execution mode to use when applying the processor.</param>
73- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
74- public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source , Rectangle rectangle , BokehBlurExecutionMode executionMode )
75- => source . ApplyProcessor ( new BokehBlurProcessor ( executionMode ) , rectangle ) ;
76-
7744 /// <summary>
7845 /// Applies a bokeh blur to the image.
7946 /// </summary>
@@ -87,20 +54,5 @@ public static IImageProcessingContext BokehBlur(this IImageProcessingContext sou
8754 /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
8855 public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source , int radius , int components , float gamma , Rectangle rectangle )
8956 => source . ApplyProcessor ( new BokehBlurProcessor ( radius , components , gamma ) , rectangle ) ;
90-
91- /// <summary>
92- /// Applies a bokeh blur to the image.
93- /// </summary>
94- /// <param name="source">The image this method extends.</param>
95- /// <param name="radius">The 'radius' value representing the size of the area to sample.</param>
96- /// <param name="components">The 'components' value representing the number of kernels to use to approximate the bokeh effect.</param>
97- /// <param name="gamma">The gamma highlight factor to use to emphasize bright spots in the source image</param>
98- /// <param name="executionMode">The execution mode to use when applying the processor.</param>
99- /// <param name="rectangle">
100- /// The <see cref="Rectangle"/> structure that specifies the portion of the image object to alter.
101- /// </param>
102- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
103- public static IImageProcessingContext BokehBlur ( this IImageProcessingContext source , int radius , int components , float gamma , BokehBlurExecutionMode executionMode , Rectangle rectangle )
104- => source . ApplyProcessor ( new BokehBlurProcessor ( radius , components , gamma , executionMode ) , rectangle ) ;
10557 }
10658}
0 commit comments