import { I_SwjXmlScheme } from "../types/DrawCanvas"; export declare class DrawCanvas { private canvas; private ctx; private colors; constructor(width?: number, height?: number); /** * 计算边界框 */ private calculateBoundingBox; /** * 设置变换 */ private setupTransform; /** * 绘制房间 */ private drawRooms; /** * 绘制墙体 */ private drawWalls; /** * 绘制门窗 */ private drawOpenings; /** * 绘制房间信息 */ private drawRoomInfo; /** * 渲染户型图 */ render(data: I_SwjXmlScheme): string; /** * 获取Canvas元素 */ getCanvas(): HTMLCanvasElement; }