setCurve method
dynamic
setCurve(
- dynamic index,
- dynamic curveNo
Select which curve to use for an element
@param {number} index the index of the instanced element to update @param {number} curveNo the index of the curve it should use
Implementation
setCurve(index, curveNo) {
if (curveNo == null) throw ('curve index being set is Not a Number (NaN)');
whichCurve[index] = curveNo;
writeChanges(index);
}