NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/geometry/polygon.d.ts
2023-09-14 14:47:11 +08:00

20 lines
511 B
TypeScript

import { Datum } from '../interface';
import Geometry from './base';
/** 引入 Path 对应的 ShapeFactory */
import './shape/polygon';
/**
* Polygon 几何标记。
* 常用于绘制色块图、日历图等。
*/
export default class Polygon extends Geometry {
readonly type: string;
readonly shapeType: string;
protected generatePoints: boolean;
/**
* 获取 Shape 的关键点数据。
* @param obj
* @returns
*/
protected createShapePointsCfg(obj: Datum): any;
}