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.
 
 
 
 

20 lines
583 B

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[];
}