public class ImageType extends com.aspose.ms.lang.Struct<ImageType> implements com.aspose.ms.System.IEquatable<ImageType>, IResourceType
Represents one supportable image type, supports both raster and vector types
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ImageType other)
Determines whether this instance is equal with specified "ImageType" instance
|
boolean |
equals(Object obj)
Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance
|
static ImageType |
getBmp()
BMP image type
|
String |
getFileExtension()
File extension (without dot character) of a particular image type in lower case
|
String |
getFormalName()
Returns a formal name of this raster image type
|
String |
getFormat()
It is a raster image format
|
static ImageType |
getGif()
GIF image type
|
static ImageType |
getIcon()
ICON image type
|
static ImageType |
getJpeg()
JPEG image type
|
String |
getMimeCode()
MIME code of a particular image type
|
static ImageType |
getPng()
PNG image type
|
static ImageType |
getSvg()
SVG vector image type
|
static ImageType |
getUndefined()
Undefined image type - special value, which should not normally occur
|
int |
hashCode()
Returns a hash-code, which is a constant number for this specific value type
|
static boolean |
op_Equality(ImageType first,
ImageType second)
Defines whether two specific ImageType instances are equal
|
static boolean |
op_Inequality(ImageType first,
ImageType second)
Defines whether two specific ImageType instances are not equal
|
static ImageType |
parseFromFilenameWithExtension(String filename)
Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename
|
static ImageType |
parseFromMime(String mimeCode)
Returns ImageType value, which is equivalent of specified MIME code
|
public boolean equals(ImageType other)
Determines whether this instance is equal with specified "ImageType" instance
other
- ImageTypepublic boolean equals(Object obj)
Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance
public static ImageType getBmp()
BMP image type
public String getFileExtension()
File extension (without dot character) of a particular image type in lower case
getFileExtension
in interface IResourceType
public String getFormalName()
Returns a formal name of this raster image type
getFormalName
in interface IResourceType
public String getFormat()
It is a raster image format
public static ImageType getGif()
GIF image type
public static ImageType getIcon()
ICON image type
public static ImageType getJpeg()
JPEG image type
public String getMimeCode()
MIME code of a particular image type
getMimeCode
in interface IResourceType
public static ImageType getPng()
PNG image type
public static ImageType getSvg()
SVG vector image type
public static ImageType getUndefined()
Undefined image type - special value, which should not normally occur
public int hashCode()
Returns a hash-code, which is a constant number for this specific value type
public static boolean op_Equality(ImageType first, ImageType second)
Defines whether two specific ImageType instances are equal
first
- ImageTypesecond
- ImageTypepublic static boolean op_Inequality(ImageType first, ImageType second)
Defines whether two specific ImageType instances are not equal
first
- ImageTypesecond
- ImageTypepublic static ImageType parseFromFilenameWithExtension(String filename)
Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename
filename
- Filename extensionCopyright © 2018. All rights reserved.