code: public void paintRoundRect(final Rectangle2D pRectangle, int pArcW, int pArcH) {
          paintShape(toRoundRect(pRectangle, pArcW, pArcH));
      }
docs: PaintRooundRect(r,int,int) // fills a rectangle's interior with the pattern of the
  graphics pen, using the pattern mode of the graphics pen.
  
  @param pRectangle the rectangle to paint
  @param pArcW      width of the oval defining the rounded corner.
  @param pArcH      height of the oval defining the rounded corner.