ImageAttributes.SetGamma
SetGamma(float)
设置默认类别的伽马值。
public void SetGamma(float gamma)
| 参数 | 类型 | 描述 |
|---|---|---|
| gamma | 单精度 | 伽马校正值。 |
另请参见
- class ImageAttributes
- namespace Aspose.Imaging
- assembly Aspose.Imaging
SetGamma(float, ColorAdjustType)
设置指定类别的伽马值。
public void SetGamma(float gamma, ColorAdjustType type)
| 参数 | 类型 | 描述 |
|---|---|---|
| gamma | 单精度 | 伽马校正值。 |
| type | ColorAdjustType | 枚举ColorAdjustType的一个元素,指定设置 gamma 值的类别。 |
另请参见
- enum ColorAdjustType
- class ImageAttributes
- namespace Aspose.Imaging
- assembly Aspose.Imaging