can-draw
Version:
Draw canvas conveniently.
16 lines (15 loc) • 344 B
TypeScript
import { CanDrawShape } from './';
import { ILineShapeConfig } from '../types';
/**
* 路径/闭合路径
*
* draw line or polyline
* @constructor
* @memberOf CanDraw
*/
declare class Line extends CanDrawShape {
SHAPE_CONFIG: ILineShapeConfig;
constructor(config: ILineShapeConfig);
_drawShape(): void;
}
export default Line;