ResizeType
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class ResizeType extends System.Enum
Specifies the resize type.
Fields
Field | Description |
---|---|
AdaptiveResample | Resample using adaptive algorithm based on weighted and blended rational function and lanczos3 interpolation algorithms. |
Bell | The Bell interpolation method |
BilinearResample | Resample using bilinear interpolation. |
CatmullRom | The Catmull-Rom cubic interpolation method. |
CenterToCenter | Center of the new image will coincide with the center of the original image. |
CubicBSpline | The CubicBSpline cubic interpolation method |
CubicConvolution | The Cubic Convolution interpolation method |
EnumSeparatorCharArray | |
HighQualityResample | The high quality resample |
LanczosResample | Resample using lanczos algorithm with a=3. |
LeftBottomToLeftBottom | Left bottom point of the new image will coincide with the left bottom point of the original image. |
LeftTopToLeftTop | Left top point of the new image will coincide with the left top point of the original image. |
Mitchell | The Mitchell cubic interpolation method |
NearestNeighbourResample | Resample using nearest neighbour algorithm. |
None | The pixels are not preserved during resize operation. |
RightBottomToRightBottom | Right bottom point of the new image will coincide with the right bottom point of the original image. |
RightTopToRightTop | Right top point of the new image will coincide with the right top point of the original image. |
SinC | The Sinc (Lanczos3) cubic interpolation method |
Methods
AdaptiveResample
public static final int AdaptiveResample
Resample using adaptive algorithm based on weighted and blended rational function and lanczos3 interpolation algorithms.
Bell
public static final int Bell
The Bell interpolation method
BilinearResample
public static final int BilinearResample
Resample using bilinear interpolation. Image pre-filtering is allowed to remove the noice before resample, when needed
CatmullRom
public static final int CatmullRom
The Catmull-Rom cubic interpolation method.
CenterToCenter
public static final int CenterToCenter
Center of the new image will coincide with the center of the original image. Crop will occur if required.
CubicBSpline
public static final int CubicBSpline
The CubicBSpline cubic interpolation method
CubicConvolution
public static final int CubicConvolution
The Cubic Convolution interpolation method
EnumSeparatorCharArray
public static final char[] EnumSeparatorCharArray
HighQualityResample
public static final int HighQualityResample
The high quality resample
LanczosResample
public static final int LanczosResample
Resample using lanczos algorithm with a=3.
LeftBottomToLeftBottom
public static final int LeftBottomToLeftBottom
Left bottom point of the new image will coincide with the left bottom point of the original image. Crop will occur if required.
LeftTopToLeftTop
public static final int LeftTopToLeftTop
Left top point of the new image will coincide with the left top point of the original image. Crop will occur if required.
Mitchell
public static final int Mitchell
The Mitchell cubic interpolation method
NearestNeighbourResample
public static final int NearestNeighbourResample
Resample using nearest neighbour algorithm.
None
public static final int None
The pixels are not preserved during resize operation.
RightBottomToRightBottom
public static final int RightBottomToRightBottom
Right bottom point of the new image will coincide with the right bottom point of the original image. Crop will occur if required.
RightTopToRightTop
public static final int RightTopToRightTop
Right top point of the new image will coincide with the right top point of the original image. Crop will occur if required.
SinC
public static final int SinC
The Sinc (Lanczos3) cubic interpolation method
Clone()
public System.Enum Clone()
Returns: com.aspose.ms.System.Enum
CloneTo(T arg0)
public abstract void CloneTo(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
CloneTo(System.Enum arg0)
public void CloneTo(System.Enum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
format(System.Type arg0, Object arg1, String arg2)
public static String format(System.Type arg0, Object arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object | |
arg2 | java.lang.String |
Returns: java.lang.String
format(Class arg0, long arg1, String arg2)
public static String format(Class<?> arg0, long arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long | |
arg2 | java.lang.String |
Returns: java.lang.String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName(System.Type arg0, Object arg1)
public static String getName(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.String
getName(Class arg0, long arg1)
public static String getName(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
getNames()
public String[] getNames()
Returns: java.lang.String[]
getNames(System.Type arg0)
public static String[] getNames(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: java.lang.String[]
getNames(Class arg0)
public static Collection<String> getNames(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.util.Collection<java.lang.String>
getUnderlyingType(System.Type arg0)
public static System.Type getUnderlyingType(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Type
getUnderlyingType(Class arg0)
public static Class<? extends Number> getUnderlyingType(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.lang.Class<? extends java.lang.Number>
getValue(Class arg0, String arg1)
public static long getValue(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
getValues()
public Long[] getValues()
Returns: java.lang.Long[]
getValues(System.Type arg0)
public static System.Array getValues(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Array
getValues(Class arg0)
public static Long[] getValues(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.lang.Long[]
get_Caption()
public String get_Caption()
Returns: java.lang.String
get_Value()
public long get_Value()
Returns: long
hashCode()
public native int hashCode()
Returns: int
isDefined(System.Type arg0, Object arg1)
public static boolean isDefined(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: boolean
isDefined(System.Type arg0, String arg1)
public static boolean isDefined(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: boolean
isDefined(System.Type arg0, long arg1)
public static boolean isDefined(System.Type arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | long |
Returns: boolean
isDefined(Class arg0, String arg1)
public static boolean isDefined(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: boolean
isDefined(Class arg0, long arg1)
public static boolean isDefined(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
parse(System.Type arg0, String arg1)
public static long parse(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: long
parse(System.Type arg0, String arg1, Boolean arg2)
public static long parse(System.Type arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
parse(Class arg0, String arg1)
public static long parse(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
parse(Class arg0, String arg1, Boolean arg2)
public static long parse(Class<?> arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
register(System.Enum.AbstractEnum arg0)
public static void register(System.Enum.AbstractEnum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum.AbstractEnum |
toObject(System.Type arg0, Object arg1)
public static Object toObject(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.Object
toString()
public String toString()
Returns: java.lang.String
toString(Class arg0, long arg1)
public static String toString(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
toString(long arg0)
public String toString(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |