public class CellSpacingEvent extends Object implements PdfPCellEvent
Constructor and Description |
---|
CellSpacingEvent(TableStyleValues styleValues)
Construct a new CellSpacingEvent with the given TableStyleValues
|
Modifier and Type | Method and Description |
---|---|
void |
cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
This method is called at the end of the cell rendering.
|
public CellSpacingEvent(TableStyleValues styleValues)
styleValues
- the TableStyleValues
public void cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
PdfPCellEvent
PdfContentByte
contained in canvases
.
canvases
are:
PdfPTable.BASECANVAS
- the original PdfContentByte
. Anything placed here will be under the cell. PdfPTable.BACKGROUNDCANVAS
- the layer where the background goes to. PdfPTable.LINECANVAS
- the layer where the lines go to. PdfPTable.TEXTCANVAS
- the layer where the text go to. Anything placed here will be over the cell. cellLayout
in interface PdfPCellEvent
cell
- the cell
position
- the coordinates of the cell
canvases
- an array of PdfContentByte
PdfPCellEvent.cellLayout(com.itextpdf.text.pdf.PdfPCell, com.itextpdf.text.Rectangle, com.itextpdf.text.pdf.PdfContentByte[])
Copyright © 1998–2019. All rights reserved.