RawDataSettings

Inheritance: java.lang.Object

public class RawDataSettings

The raw data settings

Constructors

Constructor Description
RawDataSettings()

Methods

Method Description
getPixelDataFormat() Gets the pixel data format
setPixelDataFormat(PixelDataFormat value) Sets the pixel data format
getColorPalette() Gets the color palette
setColorPalette(IColorPalette value) Sets the color palette
getDitheringMethod() Gets the dithering method to use for raw data conversion
setDitheringMethod(int value) Sets the dithering method to use for raw data conversion
getIndexedColorConverter() Gets the indexed color converter
setIndexedColorConverter(IIndexedColorConverter value) Sets the indexed color converter
getCustomColorConverter() Gets the custom color converter
setCustomColorConverter(IColorConverter value) Sets the custom color converter
getFallbackIndex() Gets the fallback index to use when palette index is out of bounds
setFallbackIndex(int value) Sets the fallback index to use when palette index is out of bounds
getLineSize() Gets the pixels line size in bytes for raw data processing
setLineSize(int value) Sets the pixels line size in bytes for raw data processing

RawDataSettings()

public RawDataSettings()

getPixelDataFormat()

public PixelDataFormat getPixelDataFormat()

Gets the pixel data format

Returns: PixelDataFormat - The pixel data format

setPixelDataFormat(PixelDataFormat value)

public void setPixelDataFormat(PixelDataFormat value)

Sets the pixel data format

Parameters:

Parameter Type Description
value PixelDataFormat The pixel data format

getColorPalette()

public IColorPalette getColorPalette()

Gets the color palette

Returns: IColorPalette - The color palette

setColorPalette(IColorPalette value)

public void setColorPalette(IColorPalette value)

Sets the color palette

Parameters:

Parameter Type Description
value IColorPalette The color palette

getDitheringMethod()

public int getDitheringMethod()

Gets the dithering method to use for raw data conversion

Returns: int - The dithering method to use for raw data conversion

setDitheringMethod(int value)

public void setDitheringMethod(int value)

Sets the dithering method to use for raw data conversion

Parameters:

Parameter Type Description
value int The dithering method to use for raw data conversion

getIndexedColorConverter()

public IIndexedColorConverter getIndexedColorConverter()

Gets the indexed color converter

Returns: IIndexedColorConverter - The indexed color converter

setIndexedColorConverter(IIndexedColorConverter value)

public void setIndexedColorConverter(IIndexedColorConverter value)

Sets the indexed color converter

Parameters:

Parameter Type Description
value IIndexedColorConverter The indexed color converter

getCustomColorConverter()

public IColorConverter getCustomColorConverter()

Gets the custom color converter

Returns: IColorConverter - The custom color converter

setCustomColorConverter(IColorConverter value)

public void setCustomColorConverter(IColorConverter value)

Sets the custom color converter

Parameters:

Parameter Type Description
value IColorConverter The custom color converter

getFallbackIndex()

public int getFallbackIndex()

Gets the fallback index to use when palette index is out of bounds

Returns: int - The fallback index to use when palette index is out of bounds

setFallbackIndex(int value)

public void setFallbackIndex(int value)

Sets the fallback index to use when palette index is out of bounds

Parameters:

Parameter Type Description
value int The fallback index to use when palette index is out of bounds

getLineSize()

public int getLineSize()

Gets the pixels line size in bytes for raw data processing

Returns: int - The pixels line size in bytes for raw data processing

setLineSize(int value)

public void setLineSize(int value)

Sets the pixels line size in bytes for raw data processing

Parameters:

Parameter Type Description
value int The pixels line size in bytes for raw data processing