CdrBmp

Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.fileformats.cdr.objects.CdrObject, com.aspose.imaging.fileformats.cdr.objects.CdrDictionaryItem

public class CdrBmp extends CdrDictionaryItem

he cdr bmp

Constructors

ConstructorDescription
CdrBmp()

Methods

MethodDescription
getColorModel()Gets the color model.
setColorModel(int value)Sets the color model.
getWidth()Gets the width.
setWidth(int value)Sets the width.
getHeight()Gets the height.
setHeight(int value)Sets the height.
getBpp()Gets the BPP.
setBpp(int value)Sets the BPP.
getBytesPerLine()Gets the bytes per line.
setBytesPerLine(int value)Sets the bytes per line.
getPalette()Gets the palette.
setPalette(int[] value)Sets the palette.

CdrBmp()

public CdrBmp()

getColorModel()

public final int getColorModel()

Gets the color model.

Returns: int - the color model.

setColorModel(int value)

public final void setColorModel(int value)

Sets the color model.

Parameters:

ParameterTypeDescription
valueintthe color model.

getWidth()

public final int getWidth()

Gets the width.

Returns: int - the width.

setWidth(int value)

public final void setWidth(int value)

Sets the width.

Parameters:

ParameterTypeDescription
valueintthe width.

getHeight()

public final int getHeight()

Gets the height.

Returns: int - the height.

setHeight(int value)

public final void setHeight(int value)

Sets the height.

Parameters:

ParameterTypeDescription
valueintthe height.

getBpp()

public final int getBpp()

Gets the BPP.

Returns: int - the BPP.

setBpp(int value)

public final void setBpp(int value)

Sets the BPP.

Parameters:

ParameterTypeDescription
valueintthe BPP.

getBytesPerLine()

public final int getBytesPerLine()

Gets the bytes per line.

Returns: int - the bytes per line.

setBytesPerLine(int value)

public final void setBytesPerLine(int value)

Sets the bytes per line.

Parameters:

ParameterTypeDescription
valueintthe bytes per line.

getPalette()

public final int[] getPalette()

Gets the palette.

Returns: int[] - the palette.

setPalette(int[] value)

public final void setPalette(int[] value)

Sets the palette.

Parameters:

ParameterTypeDescription
valueint[]the palette.