ImageAttributes.SetThreshold
SetThreshold(float)
为默认类别设置阈值(透明度范围)。
public void SetThreshold(float threshold)
| 参数 | 类型 | 描述 |
|---|---|---|
| threshold | 单精度 | 指定阈值的实数。 |
另请参见
- class ImageAttributes
- namespace Aspose.Imaging
- assembly Aspose.Imaging
SetThreshold(float, ColorAdjustType)
为指定类别设置阈值(透明度范围)。
public void SetThreshold(float threshold, ColorAdjustType type)
| 参数 | 类型 | 描述 |
|---|---|---|
| threshold | 单精度 | 阈值范围为 0.0 到 1.0,用作分界点,以对将映射到最大值或最小值的颜色进行排序。 |
| type | ColorAdjustType | ColorAdjustType的一个元素,指定设置颜色阈值的类别。 |
另请参见
- enum ColorAdjustType
- class ImageAttributes
- namespace Aspose.Imaging
- assembly Aspose.Imaging