## SetGamma(float) {#setgamma}

Establece el valor gamma para la categoría predeterminada.

```csharp
public void SetGamma(float gamma)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| gamma | Single | El valor de corrección gamma. |

### Ver también

* class [ImageAttributes](../../imageattributes)
* espacio de nombres [Aspose.Imaging](../../imageattributes)
* asamblea [Aspose.Imaging](../../../)

---

## SetGamma(float, ColorAdjustType) {#setgamma_1}

Establece el valor gamma para una categoría específica.

```csharp
public void SetGamma(float gamma, ColorAdjustType type)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| gamma | Single | El valor de corrección gamma. |
| type | ColorAdjustType | un elemento de la[`ColorAdjustType`](../../coloradjusttype) enumeración que especifica la categoría para la que se establece el valor gamma. |

### Ver también

* enum [ColorAdjustType](../../coloradjusttype)
* class [ImageAttributes](../../imageattributes)
* espacio de nombres [Aspose.Imaging](../../imageattributes)
* asamblea [Aspose.Imaging](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Imaging.dll -->
