DitheringMode
Inheritance: java.lang.Object
public class DitheringMode
保存时要应用于图像的抖动设置。
构造函数
| 构造函数 | 描述 |
|---|---|
| DitheringMode() |
方法
| 方法 | 描述 |
|---|---|
| getMethod() | 抖动算法选择。 |
| setMethod(int value) | 抖动算法选择。 |
| getBits() | 抖动图像的采样因子。 |
| setBits(int value) | 抖动图像的采样因子。 |
| getCustomPalette() | 抖动的自定义调色板。 |
| setCustomPalette(IColorPalette value) | 抖动的自定义调色板。 |
DitheringMode()
public DitheringMode()
getMethod()
public int getMethod()
抖动算法选择。
Returns: int
setMethod(int value)
public void setMethod(int value)
抖动算法选择。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | int |
getBits()
public int getBits()
抖动图像的采样因子。
Returns: int
setBits(int value)
public void setBits(int value)
抖动图像的采样因子。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | int |
getCustomPalette()
public IColorPalette getCustomPalette()
抖动的自定义调色板。
Returns: IColorPalette
setCustomPalette(IColorPalette value)
public void setCustomPalette(IColorPalette value)
抖动的自定义调色板。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | IColorPalette |