DitheringMode
Contents
[
Hide
]Inheritance: java.lang.Object
public class DitheringMode
Dithering settings to be applied to image upon saving.
Constructors
Constructor | Description |
---|---|
DitheringMode() |
Methods
Method | Description |
---|---|
getMethod() | Dithering algorithm selection. |
setMethod(int value) | Dithering algorithm selection. |
getBits() | The sampling factor of dithered image. |
setBits(int value) | The sampling factor of dithered image. |
getCustomPalette() | The custom palette for dithering. |
setCustomPalette(IColorPalette value) | The custom palette for dithering. |
DitheringMode()
public DitheringMode()
getMethod()
public int getMethod()
Dithering algorithm selection.
Returns: int
setMethod(int value)
public void setMethod(int value)
Dithering algorithm selection.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getBits()
public int getBits()
The sampling factor of dithered image.
Returns: int
setBits(int value)
public void setBits(int value)
The sampling factor of dithered image.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getCustomPalette()
public IColorPalette getCustomPalette()
The custom palette for dithering.
Returns: IColorPalette
setCustomPalette(IColorPalette value)
public void setCustomPalette(IColorPalette value)
The custom palette for dithering.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IColorPalette |