* Sets the default curve for the animation. Each segment is allowed to have * its own curve, but this curve will be used if a segment doesn't specify * its own. * @param {!./core/data-structures/curve.CurveDef|string|undefined} curve * @return {!Animation}
(curve)
| 66 | * @return {!Animation} |
| 67 | */ |
| 68 | setCurve(curve) { |
| 69 | if (curve) { |
| 70 | this.curve_ = getCurve(curve); |
| 71 | } |
| 72 | return this; |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Adds a segment to the animation. Each segment starts at offset (delay) and |
no test coverage detected