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.
|
android.graphics.Bitmap |
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.
|
public final byte[] getBinaryData()
Returns the copy of an image's data.
Read-only byte[]
.
getBinaryData
in interface IPPImage
public final android.graphics.Bitmap getSystemImage()
Returns the copy of an image.
Read-only Bitmap
.
getSystemImage
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
Copyright © 2004-2019 Aspose Pty Ltd. All Rights Reserved.