PdfPCellEventpublic class CellSpacingEvent extends java.lang.Object implements PdfPCellEvent
| Constructor | Description |
|---|---|
CellSpacingEvent(TableStyleValues styleValues) |
Construct a new CellSpacingEvent with the given TableStyleValues
|
| Modifier and Type | Method | 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 TableStyleValuespublic void cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
PdfPCellEventPdfContentByte 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 PdfPCellEventcell - the cellposition - the coordinates of the cellcanvases - an array of PdfContentBytePdfPCellEvent.cellLayout(com.itextpdf.text.pdf.PdfPCell,
com.itextpdf.text.Rectangle, com.itextpdf.text.pdf.PdfContentByte[])Copyright © 1998–2018. All rights reserved.