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

18 lines
1009 B
TypeScript

import { IElement } from '../interfaces';
import { Region } from '../types';
export declare function applyAttrsToContext(context: CanvasRenderingContext2D, element: IElement): void;
export declare function drawChildren(context: CanvasRenderingContext2D, children: IElement[], region?: Region): void;
export declare function checkRefresh(canvas: any, children: IElement[], region: Region): void;
export declare function checkChildrenRefresh(children: IElement[], region: Region): void;
export declare function clearChanged(elements: IElement[]): void;
export declare function drawPath(shape: any, context: any, attrs: any, arcParamsCache: any): void;
export declare function refreshElement(element: any, changeType: any): void;
export declare function getRefreshRegion(element: any): Region | undefined;
export declare function getMergedRegion(elements: any): Region;
export declare function mergeView(region: any, viewRegion: any): {
minX: number;
minY: number;
maxX: number;
maxY: number;
};