(t, e, n, r, i, o)
| 7619 | else; |
| 7620 | } |
| 7621 | arc(t, e, n, r, i, o) { |
| 7622 | if (((t = +t), (e = +e), (o = !!o), (n = +n) < 0)) |
| 7623 | throw new Error(`negative radius: ${n}`); |
| 7624 | let a = n * Math.cos(r), |
| 7625 | s = n * Math.sin(r), |
| 7626 | u = t + a, |
| 7627 | l = e + s, |
| 7628 | c = 1 ^ o, |
| 7629 | f = o ? r - i : i - r; |
| 7630 | (null === this._x1 |
| 7631 | ? this._append`M${u},${l}` |
| 7632 | : (Math.abs(this._x1 - u) > Tl || Math.abs(this._y1 - l) > Tl) && |
| 7633 | this._append`L${u},${l}`, |
| 7634 | n && |
| 7635 | (f < 0 && (f = (f % $l) + $l), |
| 7636 | f > Bl |
| 7637 | ? this |
| 7638 | ._append`A${n},${n},0,1,${c},${t - a},${e - s}A${n},${n},0,1,${c},${(this._x1 = u)},${(this._y1 = l)}` |
| 7639 | : f > Tl && |
| 7640 | this |
| 7641 | ._append`A${n},${n},0,${+(f >= Sl)},${c},${(this._x1 = t + n * Math.cos(i))},${(this._y1 = e + n * Math.sin(i))}`)); |
| 7642 | } |
| 7643 | rect(t, e, n, r) { |
| 7644 | this |
| 7645 | ._append`M${(this._x0 = this._x1 = +t)},${(this._y0 = this._y1 = +e)}h${(n = +n)}v${+r}h${-n}Z`; |
no outgoing calls
no test coverage detected