UNPKG

535 BTypeScriptView Raw
1import { MappingDatum, ShapeInfo } from '../interface';
2import Geometry from './base';
3/** 引入 Point 对应的 ShapeFactory */
4import './shape/point';
5/**
6 * Point 几何标记。
7 * 常用于绘制点图。
8 */
9export 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}