SKImageFilter.CreateBlur Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter) |
Creates an image filter that applies a Gaussian blur. |
| CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter, SKRect) |
Creates an image filter that applies a Gaussian blur. |
| CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter, SKImageFilter+CropRect) |
Creates an image filter that applies a Gaussian blur. |
| CreateBlur(Single, Single, SKImageFilter, SKRect) |
Creates an image filter that applies a Gaussian blur. |
| CreateBlur(Single, Single) |
Creates an image filter that applies a Gaussian blur. |
| CreateBlur(Single, Single, SKShaderTileMode) |
Creates an image filter that applies a Gaussian blur. |
| CreateBlur(Single, Single, SKImageFilter) |
Creates an image filter that applies a Gaussian blur. |
| CreateBlur(Single, Single, SKImageFilter, SKImageFilter+CropRect) |
Creates an image filter that applies a blur. |
CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter)
Creates an image filter that applies a Gaussian blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode, SkiaSharp.SKImageFilter input);
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode, SkiaSharp.SKImageFilter? input);
Parameters
- sigmaX
- Single
The Gaussian blur standard deviation in the X direction.
- sigmaY
- Single
The Gaussian blur standard deviation in the Y direction.
- tileMode
- SKShaderTileMode
The tile mode for edge handling.
- input
- SKImageFilter
The input filter to use, or null to use the source bitmap.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter, SKRect)
Creates an image filter that applies a Gaussian blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode, SkiaSharp.SKImageFilter input, SkiaSharp.SKRect cropRect);
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode, SkiaSharp.SKImageFilter? input, SkiaSharp.SKRect cropRect);
Parameters
- sigmaX
- Single
The Gaussian blur standard deviation in the X direction.
- sigmaY
- Single
The Gaussian blur standard deviation in the Y direction.
- tileMode
- SKShaderTileMode
The tile mode for edge handling.
- input
- SKImageFilter
The input filter to use, or null to use the source bitmap.
- cropRect
- SKRect
The rectangle to which the output processing will be limited.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter, SKImageFilter+CropRect)
Creates an image filter that applies a Gaussian blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode, SkiaSharp.SKImageFilter input = default, SkiaSharp.SKImageFilter.CropRect cropRect = default);
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode, SkiaSharp.SKImageFilter input, SkiaSharp.SKImageFilter.CropRect cropRect);
Parameters
- sigmaX
- Single
The Gaussian blur standard deviation in the X direction.
- sigmaY
- Single
The Gaussian blur standard deviation in the Y direction.
- tileMode
- SKShaderTileMode
The tile mode for edge handling.
- input
- SKImageFilter
The input filter to use, or null to use the source bitmap.
- cropRect
- SKImageFilter.CropRect
The rectangle to which the output processing will be limited.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateBlur(Single, Single, SKImageFilter, SKRect)
Creates an image filter that applies a Gaussian blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKImageFilter input, SkiaSharp.SKRect cropRect);
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKImageFilter? input, SkiaSharp.SKRect cropRect);
Parameters
- sigmaX
- Single
The Gaussian blur standard deviation in the X direction.
- sigmaY
- Single
The Gaussian blur standard deviation in the Y direction.
- input
- SKImageFilter
The input filter to use, or null to use the source bitmap.
- cropRect
- SKRect
The rectangle to which the output processing will be limited.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateBlur(Single, Single)
Creates an image filter that applies a Gaussian blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY);
Parameters
- sigmaX
- Single
The Gaussian blur standard deviation in the X direction.
- sigmaY
- Single
The Gaussian blur standard deviation in the Y direction.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateBlur(Single, Single, SKShaderTileMode)
Creates an image filter that applies a Gaussian blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode);
Parameters
- sigmaX
- Single
The Gaussian blur standard deviation in the X direction.
- sigmaY
- Single
The Gaussian blur standard deviation in the Y direction.
- tileMode
- SKShaderTileMode
The tile mode for edge handling.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateBlur(Single, Single, SKImageFilter)
Creates an image filter that applies a Gaussian blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKImageFilter input);
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKImageFilter? input);
Parameters
- sigmaX
- Single
The Gaussian blur standard deviation in the X direction.
- sigmaY
- Single
The Gaussian blur standard deviation in the Y direction.
- input
- SKImageFilter
The input filter to use, or null to use the source bitmap.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateBlur(Single, Single, SKImageFilter, SKImageFilter+CropRect)
Creates an image filter that applies a blur.
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKImageFilter input = default, SkiaSharp.SKImageFilter.CropRect cropRect = default);
public static SkiaSharp.SKImageFilter CreateBlur(float sigmaX, float sigmaY, SkiaSharp.SKImageFilter input, SkiaSharp.SKImageFilter.CropRect cropRect);
Parameters
- sigmaX
- Single
The standard deviation of the Gaussian blur to apply (greater than 0) in the horizontal direction.
- sigmaY
- Single
The standard deviation of the Gaussian blur to apply (greater than 0) in the vertical direction.
- input
- SKImageFilter
The input filter to use.
- cropRect
- SKImageFilter.CropRect
The rectangle to which the output processing will be limited.
Returns
Returns the new SKImageFilter, or null on error.