public enum InterpolationMode extends Enum<InterpolationMode> implements NativeEnum<InterpolationMode>
InterpolationControlSource.| Enum Constant and Description |
|---|
CUBIC
Cubic interpolation (natural), may overshoot the min or max values set by
the control point, but is more 'curvy'.
|
CUBIC_MONOTONIC
Monotonic cubic interpolation, will not produce any values outside of the
min-max range set by the control points.
|
LINEAR
Linear interpolation.
|
NONE
Steps-like interpolation, default.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static InterpolationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterpolationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromInt, fromIntpublic static final InterpolationMode NONE
public static final InterpolationMode LINEAR
public static final InterpolationMode CUBIC
public static final InterpolationMode CUBIC_MONOTONIC
public static InterpolationMode[] values()
for (InterpolationMode c : InterpolationMode.values()) System.out.println(c);
public static InterpolationMode 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 int intValue()
intValue in interface NativeEnum<InterpolationMode>Copyright © 2021 gstreamer-java. All rights reserved.