Class BrightnessProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Filters
- Assembly
- SixLabors.ImageSharp.dll
Applies a brightness filter matrix using the given amount.
public sealed class BrightnessProcessor : FilterProcessor, IImageProcessor
- Inheritance
-
BrightnessProcessor
- Implements
- Inherited Members
Constructors
BrightnessProcessor(float)
Initializes a new instance of the BrightnessProcessor class.
public BrightnessProcessor(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; }