InterpolationMode

Inheritance: java.lang.Object

public final class InterpolationMode

The InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.

Fields

FieldDescription
BICUBICSpecifies bicubic interpolation.
BILINEARSpecifies bilinear interpolation.
DEFAULTSpecifies default mode.
HIGHSpecifies high quality interpolation.
HIGH_QUALITY_BICUBICSpecifies high-quality, bicubic interpolation.
HIGH_QUALITY_BILINEARSpecifies high-quality, bilinear interpolation.
INVALIDEquivalent to the Invalid element of the QualityMode enumeration.
LOWSpecifies low quality interpolation.
NEAREST_NEIGHBORSpecifies nearest-neighbor interpolation.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BICUBIC

public static final int BICUBIC

Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.

BILINEAR

public static final int BILINEAR

Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.

DEFAULT

public static final int DEFAULT

Specifies default mode.

HIGH

public static final int HIGH

Specifies high quality interpolation.

HIGH_QUALITY_BICUBIC

public static final int HIGH_QUALITY_BICUBIC

Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.

HIGH_QUALITY_BILINEAR

public static final int HIGH_QUALITY_BILINEAR

Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

INVALID

public static final int INVALID

Equivalent to the Invalid element of the QualityMode enumeration.

LOW

public static final int LOW

Specifies low quality interpolation.

NEAREST_NEIGHBOR

public static final int NEAREST_NEIGHBOR

Specifies nearest-neighbor interpolation.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int