CdrBmp
Contents
[
Hide
]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
| Constructor | Description |
|---|---|
| CdrBmp() |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| value | int | the 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:
| Parameter | Type | Description |
|---|---|---|
| value | int | the 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:
| Parameter | Type | Description |
|---|---|---|
| value | int | the 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:
| Parameter | Type | Description |
|---|---|---|
| value | int | the 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:
| Parameter | Type | Description |
|---|---|---|
| value | int | the 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:
| Parameter | Type | Description |
|---|---|---|
| value | int[] | the palette. |