(ctx, line, start, count)
| 233 | const usePath2D = typeof Path2D === 'function'; |
| 234 | |
| 235 | function draw(ctx, line, start, count) { |
| 236 | if (usePath2D && !line.options.segment) { |
| 237 | strokePathWithCache(ctx, line, start, count); |
| 238 | } else { |
| 239 | strokePathDirect(ctx, line, start, count); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | export default class LineElement extends Element { |
| 244 |
no test coverage detected