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
CreateBlur(Single, Single, SKImageFilter, SKImageFilter+CropRect) |
Creates an image filter that applies a blur. |
CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter, SKImageFilter+CropRect) |
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);
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.
Applies to
CreateBlur(Single, Single, SKShaderTileMode, SKImageFilter, SKImageFilter+CropRect)
public static SkiaSharp.SKImageFilter CreateBlur (float sigmaX, float sigmaY, SkiaSharp.SKShaderTileMode tileMode, SkiaSharp.SKImageFilter input = default, SkiaSharp.SKImageFilter.CropRect cropRect = default);
Parameters
- sigmaX
- Single
- sigmaY
- Single
- tileMode
- SKShaderTileMode
- input
- SKImageFilter
- cropRect
- SKImageFilter.CropRect
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
SkiaSharp