import type { DisplayObjectConfig } from '@antv/g'; import type { Point } from '../../types'; import type { IconStyleProps, PolygonStyleProps } from '../shapes'; import { Polygon } from '../shapes/polygon'; /** * 六边形节点样式配置项 * * Hexagon node style props */ export interface HexagonStyleProps extends PolygonStyleProps { /** * 外半径,默认为宽高的最小值的一半 * * outer radius, default is half of the minimum value of width and height */ outerR?: number; } /** * 六边形节点 * * Hexagon node */ export declare class Hexagon extends Polygon { constructor(options: DisplayObjectConfig); private getOuterR; protected getPoints(attributes: Required): Point[]; protected getIconStyle(attributes: Required): false | IconStyleProps; }