added stroke type to rectangle inner center outer