Draw rectangle on WebTerminal

 
Can any help me on how to draw rectangle on WebTerminal?