UNPKG

540 BTypeScriptView Raw
1import type { LengthFactory, PathLengthFactoryOptions } from '../types';
2/**
3 * Returns a {x,y} point at a given length, the total length and
4 * the shape minimum and maximum {x,y} coordinates of an A (arc-to) segment.
5 *
6 * For better performance, it can skip calculate bbox or length in some scenario.
7 */
8export declare function segmentArcFactory(X1: number, Y1: number, RX: number, RY: number, angle: number, LAF: number, SF: number, X2: number, Y2: number, distance: number, options: Partial<PathLengthFactoryOptions>): LengthFactory;