RawDataSettings

The raw data settings

Constructors

ConstructorDescription
RawDataSettings()

Methods

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

RawDataSettings()

public RawDataSettings()

getPixelDataFormat()

public PixelDataFormat getPixelDataFormat()

Gets or sets the pixel data format

Returns: PixelDataFormat - The pixel data format

setPixelDataFormat(PixelDataFormat value)

public void setPixelDataFormat(PixelDataFormat value)

Gets or sets the pixel data format

Parameters:

ParameterTypeDescription
valuePixelDataFormatThe pixel data format

getColorPalette()

public com.aspose.cad.IColorPalette getColorPalette()

Gets or sets the color palette

Returns: com.aspose.cad.IColorPalette - The color palette

setColorPalette(com.aspose.cad.IColorPalette value)

public void setColorPalette(com.aspose.cad.IColorPalette value)

Gets or sets the color palette

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.IColorPaletteThe color palette

getDitheringMethod()

public int getDitheringMethod()

Gets or sets 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)

Gets or 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 or sets the indexed color converter

Returns: IIndexedColorConverter - The indexed color converter

setIndexedColorConverter(IIndexedColorConverter value)

public void setIndexedColorConverter(IIndexedColorConverter value)

Gets or sets the indexed color converter

Parameters:

ParameterTypeDescription
valueIIndexedColorConverterThe indexed color converter

getCustomColorConverter()

public IColorConverter getCustomColorConverter()

Gets or sets the custom color converter

Returns: IColorConverter - The custom color converter

setCustomColorConverter(IColorConverter value)

public void setCustomColorConverter(IColorConverter value)

Gets or sets the custom color converter

Parameters:

ParameterTypeDescription
valueIColorConverterThe custom color converter

getFallbackIndex()

public int getFallbackIndex()

Gets or sets 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)

Gets or 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 or sets 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)

Gets or sets the pixels line size in bytes for raw data processing

Parameters:

ParameterTypeDescription
valueintThe pixels line size in bytes for raw data processing