UNPKG

576 BTypeScriptView Raw
1import { LooseObject } from '../interface';
2import Geometry from './base';
3/** 引入对应的 ShapeFactory */
4import './shape/schema';
5/**
6 * Schema 几何标记,用于一些自定义图形的绘制,比如箱型图、股票图等。
7 */
8export default class Schema extends Geometry {
9 readonly type: string;
10 readonly shapeType: string;
11 protected generatePoints: boolean;
12 /**
13 * 获取 Shape 的关键点数据。
14 * @param record
15 * @returns
16 */
17 protected createShapePointsCfg(record: LooseObject): import("../interface").ShapePoint;
18}