Files
lan-manager/web/node_modules/@antv/g-svg/lib/canvas.d.ts
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

19 lines
599 B
TypeScript

import { AbstractCanvas, IShape } from '@antv/g-base';
import { ChangeType } from '@antv/g-base';
import * as Shape from './shape';
import Group from './group';
declare class Canvas extends AbstractCanvas {
constructor(cfg: any);
getShapeBase(): typeof Shape;
getGroupBase(): typeof Group;
getShape(x: number, y: number, ev: Event): IShape;
createDom(): SVGSVGElement;
/**
* 一些方法调用会引起画布变化
* @param {ChangeType} changeType 改变的类型
*/
onCanvasChange(changeType: ChangeType): void;
draw(): void;
}
export default Canvas;