can-draw
Version:
Draw canvas conveniently.
16 lines (15 loc) • 395 B
TypeScript
import { Shape } from './';
import { ICustomShapeConfig } from '../types';
/**
* 自定义形状,使用canvas原生api绘制
*
* draw custom shape with native canvas api
* @constructor
* @memberOf CanDraw
*/
declare class CustomShape extends Shape {
SHAPE_CONFIG: ICustomShapeConfig;
constructor(config: ICustomShapeConfig);
_drawShape(): void;
}
export default CustomShape;