Class BackdropInvertLayerEffect
- Namespace
- SixLabors.ImageSharp.Drawing.Processing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Inverts the colours of the backdrop beneath a compositing layer. The CSS equivalent is
backdrop-filter: invert().
public sealed class BackdropInvertLayerEffect : BackdropColorMatrixLayerEffect
- Inheritance
-
BackdropInvertLayerEffect
- Inherited Members
Constructors
BackdropInvertLayerEffect(float)
Initializes a new instance of the BackdropInvertLayerEffect class.
public BackdropInvertLayerEffect(float amount)
Parameters
amountfloatThe inversion amount between 0 and 1: 0 leaves the backdrop unchanged and 1 fully inverts.
Properties
Amount
Gets the inversion amount.
public float Amount { get; }