Class LightnessProcessor
Applies a lightness filter matrix using the given amount.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors.Filters
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class LightnessProcessor : FilterProcessor, IImageProcessor
Constructors
| Edit this page View SourceLightnessProcessor(float)
Initializes a new instance of the LightnessProcessor class.
Declaration
public LightnessProcessor(float amount)
Parameters
Type | Name | Description |
---|---|---|
float | amount | The proportion of the conversion. Must be greater than or equal to 0. |
Remarks
A value of
Properties
| Edit this page View SourceAmount
Gets the proportion of the conversion
Declaration
public float Amount { get; }
Property Value
Type | Description |
---|---|
float |