CmxImageSpec
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec
public class CmxImageSpec implements ICmxObjectSpec
Represents info specified for raster images.
Constructors
Constructor | Description |
---|---|
CmxImageSpec() |
Methods
Method | Description |
---|---|
getBoundBox() | Gets the bound box. |
setBoundBox(RectangleF value) | Sets the bound box. |
getCropBox() | Gets the crop box. |
setCropBox(RectangleF value) | Sets the crop box. |
getMatrix() | Gets the transformation matrix. |
setMatrix(Matrix value) | Sets the transformation matrix. |
getImageType() | Gets the type of the image. |
setImageType(int value) | Sets the type of the image. |
getImages() | Gets the images. |
setImages(CmxRasterImage[] value) | Sets the images. |
isCmx3Image() | Gets a value indicating whether this instance is CMX3 image. |
setCmx3Image(boolean value) | Sets a value indicating whether this instance is CMX3 image. |
toString() | Returns a String that represents this instance. |
toArray() | |
equals(Object o) | Check if objects are equal. |
hashCode() | Get hash code of the current object. |
CmxImageSpec()
public CmxImageSpec()
getBoundBox()
public final RectangleF getBoundBox()
Gets the bound box.
Returns: RectangleF - the bound box.
setBoundBox(RectangleF value)
public final void setBoundBox(RectangleF value)
Sets the bound box.
Parameters:
Parameter | Type | Description |
---|---|---|
value | RectangleF | the bound box. |
getCropBox()
public final RectangleF getCropBox()
Gets the crop box.
Returns: RectangleF - the crop box.
setCropBox(RectangleF value)
public final void setCropBox(RectangleF value)
Sets the crop box.
Parameters:
Parameter | Type | Description |
---|---|---|
value | RectangleF | the crop box. |
getMatrix()
public final Matrix getMatrix()
Gets the transformation matrix.
Returns: Matrix - the transformation matrix.
setMatrix(Matrix value)
public final void setMatrix(Matrix value)
Sets the transformation matrix.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Matrix | the transformation matrix. |
getImageType()
public final int getImageType()
Gets the type of the image.
Returns: int - the type of the image.
setImageType(int value)
public final void setImageType(int value)
Sets the type of the image.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the type of the image. |
getImages()
public final CmxRasterImage[] getImages()
Gets the images.
Returns: com.aspose.imaging.fileformats.cmx.objectmodel.specs.CmxRasterImage[] - the images.
setImages(CmxRasterImage[] value)
public final void setImages(CmxRasterImage[] value)
Sets the images.
Parameters:
Parameter | Type | Description |
---|---|---|
value | CmxRasterImage[] | the images. |
isCmx3Image()
public final boolean isCmx3Image()
Gets a value indicating whether this instance is CMX3 image.
Value: true
if this instance is CMX3 image; otherwise, false
.
Returns: boolean - a value indicating whether this instance is CMX3 image.
setCmx3Image(boolean value)
public final void setCmx3Image(boolean value)
Sets a value indicating whether this instance is CMX3 image.
Value: true
if this instance is CMX3 image; otherwise, false
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether this instance is CMX3 image. |
toString()
public String toString()
Returns a String that represents this instance.
Returns: java.lang.String - A String that represents this instance.
toArray()
public CmxRasterImage[] toArray()
Returns: com.aspose.imaging.fileformats.cmx.objectmodel.specs.CmxRasterImage[]
equals(Object o)
public boolean equals(Object o)
Check if objects are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object | The other object. |
Returns: boolean - The equality comparison result.
hashCode()
public int hashCode()
Get hash code of the current object.
Returns: int - The hash code.