SKMaskFilter.CreateBlur Method

Definition

Overloads

CreateBlur(SKBlurStyle, Single)

Creates a mask filter that applies a blur.

CreateBlur(SKBlurStyle, Single, SKBlurMaskFilterFlags)
Obsolete.

Creates a mask filter that applies a blur.

CreateBlur(SKBlurStyle, Single, SKRect)
Obsolete.

Creates a mask filter that applies a blur.

CreateBlur(SKBlurStyle, Single, Boolean)
CreateBlur(SKBlurStyle, Single, SKRect, SKBlurMaskFilterFlags)
Obsolete.
Obsolete.

Creates a mask filter that applies a blur.

CreateBlur(SKBlurStyle, Single, SKRect, Boolean)
Obsolete.

Creates a mask filter that applies a blur.

CreateBlur(SKBlurStyle, Single)

Creates a mask filter that applies a blur.

public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma);

Parameters

blurStyle
SKBlurStyle

The style of blurring.

sigma
Single

The standard deviation (greater than 0) of the Gaussian blur to apply.

Returns

Returns the new SKMaskFilter, or null on error.

Applies to

CreateBlur(SKBlurStyle, Single, SKBlurMaskFilterFlags)

Caution

Use CreateBlur(SKBlurStyle, float) instead.

Creates a mask filter that applies a blur.

public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKBlurMaskFilterFlags flags);
[System.Obsolete("Use CreateBlur(SKBlurStyle, float) instead.")]
public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKBlurMaskFilterFlags flags);

Parameters

blurStyle
SKBlurStyle

The style of blurring.

sigma
Single

The standard deviation (greater than 0) of the Gaussian blur to apply.

flags
SKBlurMaskFilterFlags

The flags to apply when blurring.

Returns

Returns the new SKMaskFilter, or null on error.

Attributes

Applies to

CreateBlur(SKBlurStyle, Single, SKRect)

Caution

Use CreateBlur(SKBlurStyle, float) instead.

Creates a mask filter that applies a blur.

public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKRect occluder);
[System.Obsolete("Use CreateBlur(SKBlurStyle, float) instead.")]
public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKRect occluder);

Parameters

blurStyle
SKBlurStyle

The style of blurring.

sigma
Single

The standard deviation (greater than 0) of the Gaussian blur to apply.

occluder
SKRect

The rectangle for which no pixels need be drawn (because it will be overdrawn with some opaque object).

Returns

Returns the new SKMaskFilter, or null on error.

Attributes

Applies to

CreateBlur(SKBlurStyle, Single, Boolean)

public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, bool respectCTM);

Parameters

blurStyle
SKBlurStyle
sigma
Single
respectCTM
Boolean

Returns

Applies to

CreateBlur(SKBlurStyle, Single, SKRect, SKBlurMaskFilterFlags)

Caution

Use CreateBlur(SKBlurStyle, float, SKRect) instead.

Caution

Use CreateBlur(SKBlurStyle, float) instead.

Creates a mask filter that applies a blur.

public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKRect occluder, SkiaSharp.SKBlurMaskFilterFlags flags);
[System.Obsolete("Use CreateBlur(SKBlurStyle, float, SKRect) instead.")]
public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKRect occluder, SkiaSharp.SKBlurMaskFilterFlags flags);
[System.Obsolete("Use CreateBlur(SKBlurStyle, float) instead.")]
public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKRect occluder, SkiaSharp.SKBlurMaskFilterFlags flags);

Parameters

blurStyle
SKBlurStyle

The style of blurring.

sigma
Single

The standard deviation (greater than 0) of the Gaussian blur to apply.

occluder
SKRect

The rectangle for which no pixels need be drawn (because it will be overdrawn with some opaque object).

flags
SKBlurMaskFilterFlags

The flags to apply when blurring.

Returns

Returns the new SKMaskFilter, or null on error.

Attributes

Applies to

CreateBlur(SKBlurStyle, Single, SKRect, Boolean)

Caution

Use CreateBlur(SKBlurStyle, float, bool) instead.

Creates a mask filter that applies a blur.

public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKRect occluder, bool respectCTM);
[System.Obsolete("Use CreateBlur(SKBlurStyle, float, bool) instead.")]
public static SkiaSharp.SKMaskFilter CreateBlur (SkiaSharp.SKBlurStyle blurStyle, float sigma, SkiaSharp.SKRect occluder, bool respectCTM);

Parameters

blurStyle
SKBlurStyle

The style of blurring.

sigma
Single

The standard deviation (greater than 0) of the Gaussian blur to apply.

occluder
SKRect

The rectangle for which no pixels need be drawn (because it will be overdrawn with some opaque object).

respectCTM
Boolean

Whether or not the blur's sigma is modified by the CTM.

Returns

Returns the new SKMaskFilter, or null on error.

Attributes

Applies to