---
title: "BrightnessContrast Constructor (Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Transforms_BrightnessContrast_ctor_2_d0ff301f.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# BrightnessContrast Constructor (Single, Single)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Initializes a new instance of the [AddNoise](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_AddNoise.htm.md) class using the specified brightness and contrast modifiers.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public BrightnessContrast(float brightness,float contrast
)
```
 
### Parameters
 
 - brightness
     - Type: System.Single
The brightness modifier in range [-1, 1]. You can change this value later through the [Brightness](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_BrightnessContrast_Brightness.htm.md) property.

 - contrast
     - Type: System.Single
The contrast modifier in range [-1, 1]. You can change this value later through the [Contrast](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_BrightnessContrast_Contrast.htm.md) property.
   
## See Also

### Reference

- [BrightnessContrast Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_BrightnessContrast.htm.md)
- [BrightnessContrast Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_BrightnessContrast_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
