public enum Interpolation extends Enum<Interpolation>
| Enum Constant and Description | 
|---|
| NEARESTNEIGHBOR | 
| NLINEAR | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName() | 
| Interpolation | next() | 
| static Interpolation | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Interpolation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Interpolation NEARESTNEIGHBOR
public static final Interpolation NLINEAR
public static Interpolation[] values()
for (Interpolation c : Interpolation.values()) System.out.println(c);
public static 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 nullpublic String getName()
public Interpolation next()
Interpolation value in the order defined by
 values() with cyclic continuation: The last element
 returns the first element. Can be used to toggle/cycle through interpolations
 in graphical user interface.Copyright © 2015–2021 Fiji. All rights reserved.