RawDataSettings

Inheritance: java.lang.Object

public class RawDataSettings

The raw data settings

Constructors

ConstructorDescription
RawDataSettings()

Methods

MethodDescription
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:

ParameterTypeDescription
valuePixelDataFormatThe 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:

ParameterTypeDescription
valueIColorPaletteThe 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:

ParameterTypeDescription
valueintThe 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:

ParameterTypeDescription
valueIIndexedColorConverterThe 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:

ParameterTypeDescription
valueIColorConverterThe 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:

ParameterTypeDescription
valueintThe 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:

ParameterTypeDescription
valueintThe pixels line size in bytes for raw data processing