Comment définir une couleur d'arrière-plan d'une Cellule de Tableau à l'aide de la bibliothèque iText?

Alors il est bien sûr possible d'utiliser BaseColor, par défaut, il offre très peu de choix.

Je me demande comment puis-je ajouter mon propre couleur personnalisée pour le document?

...
        PdfPTable table = new PdfPTable(3);

        PdfPCell cell = new PdfPCell(new Phrase("some clever text"));
        cell.setBackgroundColor(BaseColor.GREEN);
        table.addCell(cell);
...
InformationsquelleAutor JAM | 2011-06-19