InterpolationMode

Contents
[ ]

Inheritance: java.lang.Object

public final class InterpolationMode

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

Fields

Field Description
BICUBIC Specifies bicubic interpolation.
BILINEAR Specifies bilinear interpolation.
DEFAULT Specifies default mode.
HIGH Specifies high quality interpolation.
HIGH_QUALITY_BICUBIC Specifies high-quality, bicubic interpolation.
HIGH_QUALITY_BILINEAR Specifies high-quality, bilinear interpolation.
INVALID Equivalent to the Invalid element of the QualityMode enumeration.
LOW Specifies low quality interpolation.
NEAREST_NEIGHBOR Specifies nearest-neighbor interpolation.

Methods

Method Description
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:

Parameter Type Description
arg0 java.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:

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