return new GradientStop(reference, index);
}
public void remove(int fromIndex, int toIndex) {
if (fromIndex < toIndex && size + fromIndex - toIndex < 2)
throw new ScriptographerException(
"There need to be at least two gradient stops");
super.remove(fromIndex, toIndex);
}