line.setPen(JRDesignLine.PEN_DOTTED);
return line;
}
private JRPrintRectangle drawGrayRectangle(int posX, int posY, int width, int height, int radius) {
JRBasePrintRectangle rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
rectangle.setX(posX);
rectangle.setY(posY);
rectangle.setWidth(width);
rectangle.setHeight(height);
rectangle.setRadius(radius);
rectangle.setBackcolor(new Color(204, 204, 204));
return rectangle;
}