Class LightnessProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Filters
- Assembly
- SixLabors.ImageSharp.dll
Applies a lightness filter matrix using the given amount.
public sealed class LightnessProcessor : FilterProcessor, IImageProcessor
- Inheritance
-
LightnessProcessor
- Implements
- Inherited Members
Constructors
LightnessProcessor(float)
Initializes a new instance of the LightnessProcessor class.
public LightnessProcessor(float amount)
Parameters
amountfloatThe proportion of the conversion. Must be greater than or equal to 0.
Remarks
A value of
Properties
Amount
Gets the proportion of the conversion
public float Amount { get; }