/** * Converts endpoint parameterization of an SVG arc to center parameterization. * * This function calculates the center (cx, cy), radii (rx, ry), start angle, * end angle, x-axis rotation, and sweep flag (anticlockwise) of an SVG arc path * given its endpoint parameterization. * @param x1 - The x-coordinate of the start point of the arc. * @param y1 - The y-coordinate of the start point of the arc. * @param x2 - The x-coordinate of the end point of the arc. * @param y2 - The y-coordinate of the end point of the arc. * @param largeArcFlag - The large arc flag. If true, the arc sweep will be greater than 180 degrees. * @param sweepFlag - The sweep flag. If true, the arc will be drawn in a "positive-angle" direction. * @param srx - The x-axis radius of the arc. * @param sry - The y-axis radius of the arc. * @param xAxisRotationDeg - The rotation angle in degrees of the x-axis of the ellipse relative to the x-axis of the coordinate system. * @returns An object containing the center coordinates, radii, start and end angles, x-axis rotation, and sweep direction of an SVG arc given its endpoint parameters. */ export declare function endpointToCenterParameterization(x1: number, y1: number, x2: number, y2: number, largeArcFlag: boolean, sweepFlag: boolean, srx: number, sry: number, xAxisRotationDeg: number): { cx: number; cy: number; rx: number; ry: number; startAngle: number; endAngle: number; xAxisRotation: number; anticlockwise: boolean; }; //# sourceMappingURL=toarccanvas.d.ts.map