Modifier

Partager via


SKImageFilter.CreateBlur Method

Definition

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

Returns

Applies to