Table of Contents

Class BackdropLayerEffect

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

Describes an effect applied to the backdrop of a compositing layer: the pixels already on the canvas beneath the layer's region are filtered when the layer is opened, and the layer's content then renders above the filtered backdrop. This is the CSS backdrop-filter model; the filtered result is clipped to the layer's region.

public abstract class BackdropLayerEffect : LayerEffect
Inheritance
BackdropLayerEffect
Derived
Inherited Members

Constructors

BackdropLayerEffect(BackdropLayerEffect)

Initializes a new instance of the BackdropLayerEffect class with the observable behavior of another backdrop effect when this effect is not executed natively.

protected BackdropLayerEffect(BackdropLayerEffect fallbackEffect)

Parameters

fallbackEffect BackdropLayerEffect

The backdrop effect whose behavior is used as the fallback.

BackdropLayerEffect(Action<IImageProcessingContext>)

Initializes a new instance of the BackdropLayerEffect class.

protected BackdropLayerEffect(Action<IImageProcessingContext> operation)

Parameters

operation Action<IImageProcessingContext>

The operation that implements the effect.

Properties

Reach

Gets the output reach. Backdrop effects filter the pixels already beneath the layer clipped to the region, so their output never extends past it.

public override sealed int Reach { get; }

Property Value

int