Table of Contents

Class BackdropSaturateLayerEffect

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

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

public sealed class BackdropSaturateLayerEffect : BackdropColorMatrixLayerEffect
Inheritance
BackdropSaturateLayerEffect
Inherited Members

Constructors

BackdropSaturateLayerEffect(float)

Initializes a new instance of the BackdropSaturateLayerEffect class.

public BackdropSaturateLayerEffect(float amount)

Parameters

amount float

The saturation amount: 0 is fully desaturated, 1 leaves the backdrop unchanged, and values above 1 over-saturate.

Properties

Amount

Gets the saturation amount.

public float Amount { get; }

Property Value

float