UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

18 lines (17 loc) 341 B
import { Point } from '../../../interface'; /** * @ignore * Gets cpath * @param from * @param to * @returns */ export declare function getCPath(from: Point, to: Point): (string | number)[]; /** * @ignore * Gets qpath * @param to * @param center * @returns */ export declare function getQPath(to: Point, center: Point): string[];