* @private
(options)
| 193 | * @private |
| 194 | */ |
| 195 | function _getInterpolationMethod(options) { |
| 196 | if (options.stepped) { |
| 197 | return _steppedInterpolation; |
| 198 | } |
| 199 | |
| 200 | if (options.tension || options.cubicInterpolationMode === 'monotone') { |
| 201 | return _bezierInterpolation; |
| 202 | } |
| 203 | |
| 204 | return _pointInLine; |
| 205 | } |
| 206 | |
| 207 | function strokePathWithCache(ctx, line, start, count) { |
| 208 | let path = line._path; |