SKImageFilter.CreateBlur(Single, Single, SKImageFilter, SKImageFilter+CropRect) Method

Definition

Creates an image filter that applies a blur.

public static SkiaSharp.SKImageFilter CreateBlur (float sigmaX, float sigmaY, SkiaSharp.SKImageFilter input = null, SkiaSharp.SKImageFilter.CropRect cropRect = null);

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