Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 | // Desc: Helper functions
// Draw an arc of half left circle with a given x, y, radius x, radius y, and color
// @param {number} x
// @param {number} y
// @param {number} radiusX
// @param {number} radiusY
// @return string - SVG path
export const drawHalfLeftCircle = (x: number, y: number, radiusX: number, radiusY: number) => {
return `M ${x},${y} A ${radiusX},${radiusY} 0 0 1, ${x} ${y - radiusX - radiusY}`;
};
|