import * as d3 from 'd3'; import ChinaMap from '../../../LczChina2dMap/common/chinaMap'; import { OutFlyLine } from '../../../LczChina2dMap/type/child'; import { DrawLine } from './index'; interface FlyLineProps { Map: ChinaMap; wrapper: HTMLDivElement; } export default class FlyLine { Map: ChinaMap; projection: any; pointsArr: any[]; wrapper: HTMLDivElement; canvasWrapper: d3; flyLineArray: DrawLine[]; config: OutFlyLine; contexts: { base: any; line: any; }; nowTime: number; preTime: number; animationId: any; width: number; height: number; constructor(options: FlyLineProps); drawTrajectory(wrapper: any, mapConfig: ChinaMap, config: OutFlyLine, { w, h }: { w: any; h: any; }): false | undefined; animate(n?: number): void; flyAction(now: any, pre: any): void; drawBack(base: d3, pointsArr: any[]): void; createFlyLinePathPoints(from: any, to: any, smooth: any, radian: any): { points: any[]; distance: number; }; getControlPoint(from: any, to: any, radian: any): { control: number[]; distance: number; }; getBezier2Point(from: any, to: any, control: any, branch: any): number[]; removeFlyLine(): void; destroy(): void; } export {};