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.

21 lines
583 B

4 months ago
import type { DisplayObjectConfig } from '@antv/g';
import type { Point } from '../../types';
import type { PolygonStyleProps } from '../shapes';
import { Polygon } from '../shapes/polygon';
/**
* <zh/>
*
* <en/> Diamond node style props
*/
export interface DiamondStyleProps extends PolygonStyleProps {
}
/**
* <zh/>
*
* <en/> Diamond node
*/
export declare class Diamond extends Polygon {
constructor(options: DisplayObjectConfig<DiamondStyleProps>);
protected getPoints(attributes: Required<DiamondStyleProps>): Point[];
}