public void strokeRoundRectangle ( Rectangle rect , Color color , float linewidth , float r ) { template . saveState ( ) ; setStroke ( color , linewidth , null ) ; template . roundRectangle ( origX + rect . getLeft ( ) , origY + rect . getBottom ( ) , rect . getWidth ( ) , rect . getHeight ( ) , r ) ; template . stroke ( ) ; template . restoreState ( ) ; }
Draw a rounded rectangular boundary .