Files
lan-manager/web/node_modules/@antv/g-canvas/lib/interfaces.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

16 lines
503 B
TypeScript

import { IElement as IBaseElement } from '@antv/g-base';
import { Region } from './types';
export * from '@antv/g-base';
export interface IElement extends IBaseElement {
/**
* 绘制图形元素
* @param {CanvasRenderingContext2D} context 上下文
* @param {Region} [region] 限制的区间,可以为空
*/
draw(context: CanvasRenderingContext2D, region?: Region): any;
/**
* 跳过绘制时需要处理的逻辑
*/
skipDraw(): any;
}