public class CmxImageSpec extends Object implements ICmxObjectSpec
Represents info specified for raster images.
Constructor and Description |
---|
CmxImageSpec() |
Modifier and Type | Method and Description |
---|---|
RectangleF |
getBoundBox()
Gets the bound box.
|
int[] |
getColorPalette()
Gets the color palette array.
|
long |
getCompressedSize()
Gets the compressed size of the image.
|
int |
getCompression()
Gets the compression.
|
RectangleF |
getCropBox()
Gets the crop box.
|
long |
getHeight()
Gets the height of the image.
|
int |
getImageType()
Gets the type of the image.
|
Matrix |
getMatrix()
Gets the transformation matrix.
|
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.
|
void |
setBoundBox(RectangleF value)
Sets the bound box.
|
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 |
setCropBox(RectangleF value)
Sets the crop box.
|
void |
setHeight(long value)
Sets the height of the image.
|
void |
setImageType(int value)
Sets the type of the image.
|
void |
setMatrix(Matrix value)
Sets the transformation matrix.
|
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 RectangleF getBoundBox()
Gets the bound box.
public final void setBoundBox(RectangleF value)
Sets the bound box.
value
- the bound box.public final RectangleF getCropBox()
Gets the crop box.
public final void setCropBox(RectangleF value)
Sets the crop box.
value
- the crop box.public final Matrix getMatrix()
Gets the transformation matrix.
public final void setMatrix(Matrix value)
Sets the transformation matrix.
value
- the transformation matrix.public final int getImageType()
Gets the type of the image.
public final void setImageType(int value)
Sets the type of the image.
value
- the type of the image.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 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.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.