You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
863 B

4 months ago
import type { DisplayObjectConfig } from '@antv/g';
import type { Point } from '../../types';
import type { CubicStyleProps } from './cubic';
import { Cubic } from './cubic';
/**
* <zh/> 线
*
* <en/> Radial cubic style props
*/
export interface CubicRadialStyleProps extends CubicStyleProps {
}
/**
* <zh/> 线
*
* <en/> Radial cubic edge
*/
export declare class CubicRadial extends Cubic {
static defaultStyleProps: Partial<CubicStyleProps>;
constructor(options: DisplayObjectConfig<CubicStyleProps>);
private get ref();
protected getEndpoints(attributes: Required<CubicStyleProps>): [Point, Point];
private toRadialCoordinate;
protected getControlPoints(sourcePoint: Point, targetPoint: Point, curvePosition: [number, number], curveOffset: [number, number]): [Point, Point];
}