Package com.itextpdf.text

Examples of com.itextpdf.text.Rectangle.cloneNonPositionParameters()


        backgr.fill();
      }
      if (cell.hasBorders()) {
        Rectangle newRect = new Rectangle(left, bottom, right, top);
        // Clone non-position parameters except for the background color
        newRect.cloneNonPositionParameters(cell);
        newRect.setBackgroundColor(null);
        // Write the borders on the line canvas
        PdfContentByte lineCanvas = canvases[PdfPTable.LINECANVAS];
        lineCanvas.rectangle(newRect);
      }
View Full Code Here


        backgr.fill();
      }
      if (cell.hasBorders()) {
        Rectangle newRect = new Rectangle(left, bottom, right, top);
        // Clone non-position parameters except for the background color
        newRect.cloneNonPositionParameters(cell);
        newRect.setBackgroundColor(null);
        // Write the borders on the line canvas
        PdfContentByte lineCanvas = canvases[PdfPTable.LINECANVAS];
        lineCanvas.rectangle(newRect);
      }
View Full Code Here

        backgr.fill();
      }
      if (cell.hasBorders()) {
        Rectangle newRect = new Rectangle(left, bottom, right, top);
        // Clone non-position parameters except for the background color
        newRect.cloneNonPositionParameters(cell);
        newRect.setBackgroundColor(null);
        // Write the borders on the line canvas
        PdfContentByte lineCanvas = canvases[PdfPTable.LINECANVAS];
        lineCanvas.rectangle(newRect);
      }
View Full Code Here

        backgr.fill();
      }
      if (cell.hasBorders()) {
        Rectangle newRect = new Rectangle(left, bottom, right, top);
        // Clone non-position parameters except for the background color
        newRect.cloneNonPositionParameters(cell);
        newRect.setBackgroundColor(null);
        // Write the borders on the line canvas
        PdfContentByte lineCanvas = canvases[PdfPTable.LINECANVAS];
        lineCanvas.rectangle(newRect);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.