public abstract class VectorImageResourceBase extends Object implements IImageResource
Base class for any supported vector image
Modifier and Type | Field and Description |
---|---|
com.aspose.ms.lang.Event<com.aspose.ms.System.EventHandler> |
Disposed |
Constructor and Description |
---|
VectorImageResourceBase() |
Modifier and Type | Method and Description |
---|---|
abstract void |
dispose()
In implementing type should dispose this instance
|
boolean |
equals(IHtmlResource other)
Checks this instance with specified on reference equality.
|
Ratio |
getAspectRatio()
Returns aspect ratio of this vector image
|
InputStream |
getByteContent()
In implementing type should return a content of this vector image as byte
stream
|
abstract com.aspose.ms.System.IO.Stream |
getByteContentInternal() |
String |
getFilenameWithExtension()
Returns correct filename of this vector image, which consists of name and
extension.
|
Dimensions |
getLinearDimensions()
Returns linear dimensions of this vector image (width and height)
|
String |
getName()
Returns name of this vector image.
|
abstract String |
getTextContent()
In implementing type should return a content of this vector image in text
form: base64-encoded of XML regarding of image type
|
abstract ImageType |
getType()
In implementing type should return information about type of the vector
image
|
boolean |
isDisposed()
Determines whether this raster image is disposed or not
|
abstract void |
save(String fullPathToFile)
In implementing type should save this image to the disk by specified path
|
public final com.aspose.ms.lang.Event<com.aspose.ms.System.EventHandler> Disposed
public abstract void dispose()
In implementing type should dispose this instance
dispose
in interface com.aspose.ms.System.IDisposable
public final boolean equals(IHtmlResource other)
Checks this instance with specified on reference equality.
other
- Other instance of vector imagepublic final Ratio getAspectRatio()
Returns aspect ratio of this vector image
getAspectRatio
in interface IImageResource
public InputStream getByteContent()
In implementing type should return a content of this vector image as byte stream
getByteContent
in interface IHtmlResource
public abstract com.aspose.ms.System.IO.Stream getByteContentInternal()
getByteContentInternal
in interface IHtmlResource
public final String getFilenameWithExtension()
Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name.
getFilenameWithExtension
in interface IHtmlResource
public final Dimensions getLinearDimensions()
Returns linear dimensions of this vector image (width and height)
getLinearDimensions
in interface IImageResource
public final String getName()
Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename.
getName
in interface IHtmlResource
public abstract String getTextContent()
In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type
getTextContent
in interface IHtmlResource
public abstract ImageType getType()
In implementing type should return information about type of the vector image
getType
in interface IHtmlResource
getType
in interface IImageResource
public final boolean isDisposed()
Determines whether this raster image is disposed or not
isDisposed
in interface IAuxDisposable
public abstract void save(String fullPathToFile)
In implementing type should save this image to the disk by specified path
save
in interface IHtmlResource
fullPathToFile
-