Table of Contents

Class BackdropBlurLayerEffect

Namespace
SixLabors.ImageSharp.Drawing.Processing
Assembly
SixLabors.ImageSharp.Drawing.dll

Blurs the backdrop beneath a compositing layer. The CSS equivalent is backdrop-filter: blur().

public sealed class BackdropBlurLayerEffect : BackdropLayerEffect
Inheritance
BackdropBlurLayerEffect
Inherited Members

Constructors

BackdropBlurLayerEffect(float)

Initializes a new instance of the BackdropBlurLayerEffect class.

public BackdropBlurLayerEffect(float sigma)

Parameters

sigma float

The Gaussian blur sigma, in pixels; zero leaves the backdrop unchanged.

Properties

IsPassThrough

Gets a value indicating whether the effect leaves the layer content unchanged, in which case its application is skipped entirely.

public override bool IsPassThrough { get; }

Property Value

bool

Sigma

Gets the Gaussian blur sigma, in pixels.

public float Sigma { get; }

Property Value

float