BrightnessContrastCommand Constructor (Double, Double, BrightnessContrastCurveType) |
Namespace:
Atalasoft.Imaging.ImageProcessing.Effects
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public BrightnessContrastCommand(
double newBrightness,
double newContrast,
BrightnessContrastCurveType curveShape
)
Public Sub New (
newBrightness As Double,
newContrast As Double,
curveShape As BrightnessContrastCurveType
)
Parameters
- newBrightness
- Type: SystemDouble
The percent to increase or decrease brightness. (-100 to 100) - newContrast
- Type: SystemDouble
The percent to increase or decrease contrast. (-100 to 100) - curveShape
- Type: Atalasoft.Imaging.ImageProcessing.EffectsBrightnessContrastCurveType
The curve shape.
Exceptions Exception | Condition |
---|
| Thrown if the newBrightness or newContrast values are less than -100 or greater than 100. |
See Also