(gx, gy, height, width, stroke, strokeWidth, diagonals = false)
| 8624 | return line; |
| 8625 | } |
| 8626 | function box(gx, gy, height, width, stroke, strokeWidth, diagonals = false) { |
| 8627 | const lines = [ |
| 8628 | styledLine(gx, gy, gx + width, gy, stroke, strokeWidth), |
| 8629 | styledLine(gx + width, gy, gx + width, gy + height, stroke, strokeWidth), |
| 8630 | styledLine(gx + width, gy + height, gx, gy + height, stroke, strokeWidth), |
| 8631 | styledLine(gx, gy + height, gx, gy, stroke, strokeWidth) |
| 8632 | ]; |
| 8633 | if (diagonals) { |
| 8634 | lines.push(styledLine(gx, gy, gx + width, gy + height, stroke, strokeWidth)); |
| 8635 | lines.push(styledLine(gx, gy + height, gx + width, gy, stroke, strokeWidth)); |
| 8636 | } |
| 8637 | return lines; |
| 8638 | } |
| 8639 | exports.default = markStager; |
| 8640 | |
| 8641 | },{"../base":"9SeSX","../color":"3W8ci","../defaults":"lNLF5","../zaxis":"1Ecln","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"1Ecln":[function(require,module,exports) { |
nothing calls this directly
no test coverage detected