reflectXAround
Mirror a path across a vertical axis at a given x coordinate.
reflectXAround(svgPath: string, centerX: number): string
svgPath — SVG path d-attribute string.
centerX — X coordinate of the vertical mirror axis.
Returns — A new SVG path string mirrored across x = centerX.
// Mirror across the center of a 100-wide canvas
const mirrored = pathRite.reflectXAround("M 10 0 L 40 0 L 40 50 Z", 50);