public class CmxRasterImage extends Object implements ICmxObjectSpec
Represents the data specified for raster images.
Constructor and Description |
---|
CmxRasterImage() |
Modifier and Type | Method and Description |
---|---|
long |
getBitsPerPixel()
Gets the bits per pixel.
|
long |
getBytesPerLine()
Gets the size of the line.
|
long |
getColorModel()
Gets the color model.
|
int[] |
getColorPalette()
Gets the color palette array.
|
long |
getCompressedSize()
Gets the compressed size of the image.
|
int |
getCompression()
Gets the compression.
|
long |
getHeight()
Gets the height of the image.
|
byte[] |
getRawData()
Gets the raw byte data of the image.
|
long |
getSize()
Gets the size of the image.
|
int |
getType()
Gets the type of the image.
|
long |
getWidth()
Gets the width of the image.
|
boolean |
isMask()
Gets a value indicating whether this instance is mask.
|
void |
setBitsPerPixel(long value)
Sets the bits per pixel.
|
void |
setBytesPerLine(long value)
Sets the size of the line.
|
void |
setColorModel(long value)
Sets the color model.
|
void |
setColorPalette(int[] value)
Sets the color palette array.
|
void |
setCompressedSize(long value)
Sets the compressed size of the image.
|
void |
setCompression(int value)
Sets the compression.
|
void |
setHeight(long value)
Sets the height of the image.
|
void |
setMask(boolean value)
Sets a value indicating whether this instance is mask.
|
void |
setRawData(byte[] value)
Sets the raw byte data of the image.
|
void |
setSize(long value)
Sets the size of the image.
|
void |
setType(int value)
Sets the type of the image.
|
void |
setWidth(long value)
Sets the width of the image.
|
String |
toString()
Returns a
String that represents this instance. |
public final int getType()
Gets the type of the image.
public final void setType(int value)
Sets the type of the image.
value
- the type of the image.public final int getCompression()
Gets the compression.
public final void setCompression(int value)
Sets the compression.
value
- the compression.public final long getSize()
Gets the size of the image. Measures in bytes.
public final void setSize(long value)
Sets the size of the image. Measures in bytes.
value
- the size of the image.public final long getCompressedSize()
Gets the compressed size of the image. Measures in bytes.
public final void setCompressedSize(long value)
Sets the compressed size of the image. Measures in bytes.
value
- the compressed size of the image.public final boolean isMask()
Gets a value indicating whether this instance is mask.
public final void setMask(boolean value)
Sets a value indicating whether this instance is mask.
value
- a value indicating whether this instance is mask.public final long getColorModel()
Gets the color model.
public final void setColorModel(long value)
Sets the color model.
value
- the color model.public final long getWidth()
Gets the width of the image. Measures in pixels.
public final void setWidth(long value)
Sets the width of the image. Measures in pixels.
value
- the width of the image.public final long getHeight()
Gets the height of the image. Measures in pixels.
public final void setHeight(long value)
Sets the height of the image. Measures in pixels.
value
- the height of the image.public final long getBitsPerPixel()
Gets the bits per pixel.
public final void setBitsPerPixel(long value)
Sets the bits per pixel.
value
- the bits per pixel.public final long getBytesPerLine()
Gets the size of the line. Measures in bytes.
public final void setBytesPerLine(long value)
Sets the size of the line. Measures in bytes.
value
- the size of the line.public final int[] getColorPalette()
Gets the color palette array.
Elements is ARGB color values represents in int
public final void setColorPalette(int[] value)
Sets the color palette array.
Elements is ARGB color values represents in int
value
- the color palette array.public final byte[] getRawData()
Gets the raw byte data of the image.
public final void setRawData(byte[] value)
Sets the raw byte data of the image.
value
- the raw byte data of the image.