Click or drag to resize

BrightnessContrastCommand Constructor (Double, Double, BrightnessContrastCurveType)

Initializes a new instance of BrightnessContrastCommand specifying the brightness, contrast, and curve shape.

Namespace:  Atalasoft.Imaging.ImageProcessing.Effects
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public BrightnessContrastCommand(
	double newBrightness,
	double newContrast,
	BrightnessContrastCurveType curveShape
)

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
ExceptionCondition
Thrown if the newBrightness or newContrast values are less than -100 or greater than 100.
See Also