Table of Contents

Class BackdropAcrylicLayerEffect

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

Blurs and tints the backdrop beneath a compositing layer, producing a frosted-glass acrylic material. This is the tinted extension of BackdropBlurLayerEffect and has no CSS equivalent; CSS composes the tint from the element's own translucent background instead.

public sealed class BackdropAcrylicLayerEffect : BackdropLayerEffect
Inheritance
BackdropAcrylicLayerEffect
Inherited Members

Constructors

BackdropAcrylicLayerEffect(float, Color)

Initializes a new instance of the BackdropAcrylicLayerEffect class.

public BackdropAcrylicLayerEffect(float sigma, Color tint)

Parameters

sigma float

The Gaussian blur sigma, in pixels.

tint Color

The tint blended over the blurred backdrop. Its alpha controls the tint strength, so an opaque tint hides the backdrop entirely.

Properties

Sigma

Gets the Gaussian blur sigma, in pixels.

public float Sigma { get; }

Property Value

float

Tint

Gets the tint blended over the blurred backdrop.

public Color Tint { get; }

Property Value

Color