Class ClassicPdfContent

  • All Implemented Interfaces:
    PdfContent

    public class ClassicPdfContent
    extends Object
    implements PdfContent
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Constructor Detail

      • ClassicPdfContent

        public ClassicPdfContent​(com.lowagie.text.pdf.PdfWriter pdfWriter,
                                 ColorSpace cmykColorSpace)
    • Method Detail

      • getPdfContentByte

        public com.lowagie.text.pdf.PdfContentByte getPdfContentByte()
      • refreshContent

        public void refreshContent()
      • setFillAlpha

        protected void setFillAlpha​(int alpha)
      • setStrokeAlpha

        protected void setStrokeAlpha​(int alpha)
      • setLineWidth

        public void setLineWidth​(float lineWidth)
        Specified by:
        setLineWidth in interface PdfContent
      • setLineDash

        public void setLineDash​(float phase)
        Specified by:
        setLineDash in interface PdfContent
      • setLineDash

        public void setLineDash​(float unitsOn,
                                float unitsOff,
                                float phase)
        Specified by:
        setLineDash in interface PdfContent
      • strokeLine

        public void strokeLine​(float x1,
                               float y1,
                               float x2,
                               float y2)
        Specified by:
        strokeLine in interface PdfContent
      • fillRectangle

        public void fillRectangle​(float x,
                                  float y,
                                  float width,
                                  float height)
        Specified by:
        fillRectangle in interface PdfContent
      • fillRoundRectangle

        public void fillRoundRectangle​(float x,
                                       float y,
                                       float width,
                                       float height,
                                       float radius)
        Specified by:
        fillRoundRectangle in interface PdfContent
      • strokeRoundRectangle

        public void strokeRoundRectangle​(float x,
                                         float y,
                                         float width,
                                         float height,
                                         float radius)
        Specified by:
        strokeRoundRectangle in interface PdfContent
      • fillEllipse

        public void fillEllipse​(float x1,
                                float y1,
                                float x2,
                                float y2)
        Specified by:
        fillEllipse in interface PdfContent
      • strokeEllipse

        public void strokeEllipse​(float x1,
                                  float y1,
                                  float x2,
                                  float y2)
        Specified by:
        strokeEllipse in interface PdfContent