1 | import type { DisplayObjectConfig } from '@antv/g';
|
2 | import type { Point } from '../../types';
|
3 | import type { IconStyleProps, PolygonStyleProps } from '../shapes';
|
4 | import { Polygon } from '../shapes/polygon';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export interface HexagonStyleProps extends PolygonStyleProps {
|
11 | |
12 |
|
13 |
|
14 |
|
15 |
|
16 | outerR?: number;
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare class Hexagon extends Polygon<HexagonStyleProps> {
|
24 | constructor(options: DisplayObjectConfig<HexagonStyleProps>);
|
25 | private getOuterR;
|
26 | protected getPoints(attributes: Required<HexagonStyleProps>): Point[];
|
27 | protected getIconStyle(attributes: Required<HexagonStyleProps>): false | IconStyleProps;
|
28 | }
|