ImageAttributes.SetGamma
SetGamma(float)
Sets the gamma value for the default category.
public void SetGamma(float gamma)
Parameter | Type | Description |
---|---|---|
gamma | Single | The gamma correction value. |
See Also
- class ImageAttributes
- namespace Aspose.Drawing.Imaging
- assembly Aspose.Drawing.Common
SetGamma(float, ColorAdjustType)
Sets the gamma value for a specified category.
public void SetGamma(float gamma, ColorAdjustType type)
Parameter | Type | Description |
---|---|---|
gamma | Single | The gamma correction value. |
type | ColorAdjustType | An element of the ColorAdjustType enumeration that specifies the category for which the gamma value is set. |
See Also
- enum ColorAdjustType
- class ImageAttributes
- namespace Aspose.Drawing.Imaging
- assembly Aspose.Drawing.Common