Serializable
, Comparable<AbstractPainter.Interpolation>
public static enum AbstractPainter.Interpolation extends Enum<AbstractPainter.Interpolation>
Enum Constant | Description |
---|---|
Bicubic |
use bicubic interpolation
|
Bilinear |
use bilinear interpolation
|
NearestNeighbor |
use nearest neighbor interpolation
|
Modifier and Type | Method | Description |
---|---|---|
static AbstractPainter.Interpolation |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AbstractPainter.Interpolation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractPainter.Interpolation Bicubic
public static final AbstractPainter.Interpolation Bilinear
public static final AbstractPainter.Interpolation NearestNeighbor
public static AbstractPainter.Interpolation[] values()
for (AbstractPainter.Interpolation c : AbstractPainter.Interpolation.values()) System.out.println(c);
public static AbstractPainter.Interpolation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.