UNPKG

@leonchabbey/norigin-spatial-navigation

Version:
18 lines (17 loc) 517 B
interface NodeLayout { left: number; top: number; width: number; height: number; } declare class VisualDebugger { private debugCtx; private layoutsCtx; constructor(); static createCanvas(id: string, zIndex: string): CanvasRenderingContext2D | null; clear(): void; clearLayouts(): void; drawLayout(layout: NodeLayout, focusKey: string, parentFocusKey: string): void; drawPoint(x: number, y: number, color?: string, size?: number): void; } export default VisualDebugger;