Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes object.
|
byte[] |
getBinaryData()
Returns the copy of an image's data.
|
java.lang.String |
getContentType()
Returns a MIME type of an image, encoded in
BinaryData (getBinaryData() ). |
int |
getHeight()
Returns a height of an image.
|
ISvgImage |
getSvgImage()
Returns or sets ISvgImage object
ISvgImage |
java.awt.image.BufferedImage |
getSystemImage()
Returns the copy of an image.
|
int |
getWidth()
Returns a width of an image.
|
int |
getX()
Returns a X-offset of an image.
|
int |
getY()
Returns a Y-offset of an image.
|
int |
hashCode()
Returns the hash code of an image.
|
void |
replaceImage(byte[] newImageData)
Replaces image data.
|
void |
replaceImage(IPPImage newImage)
Replaces image data.
|
void |
setSvgImage(ISvgImage value)
Returns or sets ISvgImage object
ISvgImage |
public final byte[] getBinaryData()
Returns the copy of an image's data.
Read-only byte[]
.
getBinaryData
in interface IPPImage
public final java.awt.image.BufferedImage getSystemImage()
Returns the copy of an image.
Read-only BufferedImage
.
getSystemImage
in interface IPPImage
public final ISvgImage getSvgImage()
Returns or sets ISvgImage object ISvgImage
getSvgImage
in interface IPPImage
public final void setSvgImage(ISvgImage value)
Returns or sets ISvgImage object ISvgImage
setSvgImage
in interface IPPImage
public final void replaceImage(byte[] newImageData)
Replaces image data.
replaceImage
in interface IPPImage
newImageData
- The new image's data.com.aspose.ms.System.ArgumentNullException
- When newImageData parameter is null.public final void replaceImage(IPPImage newImage)
Replaces image data.
replaceImage
in interface IPPImage
newImage
- The new IPPImage.com.aspose.ms.System.ArgumentNullException
- When newImage parameter is null.public final java.lang.String getContentType()
Returns a MIME type of an image, encoded in BinaryData
(getBinaryData()
).
Read-only String
.
getContentType
in interface IPPImage
public final int getWidth()
Returns a width of an image.
Read-only int
.
public final int getHeight()
Returns a height of an image.
Read-only int
.
public final int getX()
Returns a X-offset of an image.
Read-only int
.
public final int getY()
Returns a Y-offset of an image.
Read-only int
.
public int hashCode()
Returns the hash code of an image.
hashCode
in class java.lang.Object
public final void dispose()
Disposes object.
dispose
in interface com.aspose.ms.System.IDisposable