Files
lan-manager/web/node_modules/@antv/g-svg/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

23 lines
640 B
TypeScript

import { IElement as IBaseElement, IGroup as IBaseGroup, IShape as IBaseShape } from '@antv/g-base';
import Defs from './defs';
export * from '@antv/g-base';
export interface IElement extends IBaseElement {
/**
* 裁剪和绘制图形元素
* @param {Defs} context 上下文
*/
draw(context: Defs, targetAttrs?: any): any;
}
export interface IGroup extends IBaseGroup {
/**
* 创建分组容器,对应 <g> 元素
* @return {SVGGElement} 分组容器
*/
createDom(): SVGGElement;
}
export interface IShape extends IBaseShape {
type: string;
canFill: boolean;
canStroke: boolean;
}