()
| 15 | } |
| 16 | |
| 17 | get path() { |
| 18 | const π = Math.PI; |
| 19 | const α = this.args.value * 360; |
| 20 | const r = (α * π) / 180; |
| 21 | const mid = α > 180 ? 1 : 0; |
| 22 | const x = Math.sin(r) * 38; |
| 23 | const y = Math.cos(r) * -38; |
| 24 | |
| 25 | return `M 0 0 v -38 A 38 38 1 ${mid} 1 ${x} ${y} z`; |
| 26 | } |
| 27 | } |
nothing calls this directly
no outgoing calls
no test coverage detected