public static enum LinearInterpolator.Method extends Enum<LinearInterpolator.Method>
| Enum Constant and Description |
|---|
LEFTUse the previous value for interpolation |
LINEARStandard linear interpolation between adjacent points |
REGRESSIONLinear regression over all data points |
RIGHTUse the next value for interpolation |
| Modifier and Type | Method and Description |
|---|---|
static LinearInterpolator.Method | valueOf(String name)Returns the enum constant of this type with the specified name. |
static LinearInterpolator.Method[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final LinearInterpolator.Method LEFT
public static final LinearInterpolator.Method LINEAR
public static final LinearInterpolator.Method REGRESSION
public static final LinearInterpolator.Method RIGHT
public static LinearInterpolator.Method 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 static LinearInterpolator.Method[] values()
for (LinearInterpolator.Method c : LinearInterpolator.Method.values()) System.out.println(c);