Added option for border and line type around the boxes.