1 | import { MappingDatum, ShapeInfo } from '../interface';
|
2 | import Geometry from './base';
|
3 | /** 引入 Point 对应的 ShapeFactory */
|
4 | import './shape/point';
|
5 | /**
|
6 | * Point 几何标记。
|
7 | * 常用于绘制点图。
|
8 | */
|
9 | export default class Point extends Geometry {
|
10 | readonly type: string;
|
11 | readonly shapeType: string;
|
12 | protected generatePoints: boolean;
|
13 | /**
|
14 | * 获取一个点的绘制信息。
|
15 | * @param mappingDatum
|
16 | * @returns draw cfg
|
17 | */
|
18 | protected getDrawCfg(mappingDatum: MappingDatum): ShapeInfo;
|
19 | }
|