declare class RoomVisual { /** The name of the room. */ roomName : string ; param roomName constructor ( roomName ) ; param x1 param y1 param x2 param y2 param style returns line ( x1 , y1 , x2 , y2 , style ? ) ; param pos1 param pos2 param style returns line ( pos1 , pos2 , style ? ) ; param x param y param style returns circle ( x , y , style ? ) ; param pos param style returns circle ( pos , style ? ) ; param x param y param width param height param style returns rect ( x , y , width , height , style ? ) ; param topLeftPos param width param height param style returns rect ( topLeftPos , width , height , style ? ) ; param points param style returns poly ( points , style ? ) ; param text param pos param style returns text ( text , x , y , style ? ) ; param text param x param y param style returns text ( text , pos , style ? ) ; returns clear ( ) ; returns getSize ( ) ; } interface LineStyle { width ? : number ; color ? : string ; opacity ? : number ; lineStyle ? : "dashed" | "dotted" ; } interface PolyStyle { fill ? : string ; opacity ? : number ; stroke ? : string | undefined ; strokeWidth ? : number ; lineStyle ? : "dashed" | "dotted" ; } interface CircleStyle extends PolyStyle { radius ? : number ; } interface TextStyle { color ? : string ; size ? : number ; align ? : "center" | "left" | "right" ; opacity ? : number ; }