Class BackdropContrastLayerEffect
- Namespace
- SixLabors.ImageSharp.Drawing.Processing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Adjusts the contrast of the backdrop beneath a compositing layer. The CSS equivalent is
backdrop-filter: contrast().
public sealed class BackdropContrastLayerEffect : BackdropColorMatrixLayerEffect
- Inheritance
-
BackdropContrastLayerEffect
- Inherited Members
Constructors
BackdropContrastLayerEffect(float)
Initializes a new instance of the BackdropContrastLayerEffect class.
public BackdropContrastLayerEffect(float amount)
Parameters
amountfloatThe contrast amount: 0 is fully grey, 1 leaves the backdrop unchanged, and values above 1 increase contrast.
Properties
Amount
Gets the contrast amount.
public float Amount { get; }