(d)
| 1097 | |
| 1098 | // borrowed from Crossfilter example |
| 1099 | resizeHandlePath (d) { |
| 1100 | d = d.type; |
| 1101 | const e = +(d === 'e'), x = e ? 1 : -1, y = this.effectiveHeight() / 3; |
| 1102 | return `M${0.5 * x},${y |
| 1103 | }A6,6 0 0 ${e} ${6.5 * x},${y + 6 |
| 1104 | }V${2 * y - 6 |
| 1105 | }A6,6 0 0 ${e} ${0.5 * x},${2 * y |
| 1106 | }Z` + |
| 1107 | `M${2.5 * x},${y + 8 |
| 1108 | }V${2 * y - 8 |
| 1109 | }M${4.5 * x},${y + 8 |
| 1110 | }V${2 * y - 8}`; |
| 1111 | } |
| 1112 | |
| 1113 | _getClipPathId () { |
| 1114 | return `${this.anchorName().replace(/[ .#=\[\]"]/g, '-')}-clip`; |
no test coverage detected