Click or drag to resize

BrightnessContrastCommand Constructor (Double, Double)

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

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
)

Parameters

newBrightness
Type: SystemDouble
The percent to increase or decrease brightness. (-100 to 100)
newContrast
Type: SystemDouble
The percent to increate or decrease the contrast. (-100 to 100)
Exceptions
ExceptionCondition
Thrown if either argument is less than -100 or greater than 100.
See Also