* Creates a new instance of KeyInterpolators
*/
KeyInterpolators(int numIntervals, TimelineEase... interpolators) {
if (interpolators == null || interpolators[0] == null) {
for (int i = 0; i < numIntervals; ++i) {
this.interpolators.add(new Linear());
}
} else if (interpolators.length < numIntervals) {
for (int i = 0; i < numIntervals; ++i) {
this.interpolators.add(interpolators[0]);
}