Table of Contents

Class BackdropBrightnessLayerEffect

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

Adjusts the brightness of the backdrop beneath a compositing layer. The CSS equivalent is backdrop-filter: brightness().

public sealed class BackdropBrightnessLayerEffect : BackdropColorMatrixLayerEffect
Inheritance
BackdropBrightnessLayerEffect
Inherited Members

Constructors

BackdropBrightnessLayerEffect(float)

Initializes a new instance of the BackdropBrightnessLayerEffect class.

public BackdropBrightnessLayerEffect(float amount)

Parameters

amount float

The brightness amount: 0 is black, 1 leaves the backdrop unchanged, and values above 1 brighten.

Properties

Amount

Gets the brightness amount.

public float Amount { get; }

Property Value

float