Class ClassicPdfContent

java.lang.Object
net.sf.jasperreports.pdf.classic.ClassicPdfContent
All Implemented Interfaces:
PdfContent

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

    • ClassicPdfContent

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

    • getPdfContentByte

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

      public void refreshContent()
    • setFillColor

      public void setFillColor(Color color)
      Specified by:
      setFillColor in interface PdfContent
    • setFillColorAlpha

      public void setFillColorAlpha(int alpha)
      Specified by:
      setFillColorAlpha in interface PdfContent
    • resetFillColor

      public void resetFillColor()
      Specified by:
      resetFillColor in interface PdfContent
    • setFillAlpha

      protected void setFillAlpha(int alpha)
    • setStrokeColor

      public void setStrokeColor(Color color)
      Specified by:
      setStrokeColor in interface PdfContent
    • resetStrokeColor

      public void resetStrokeColor()
      Specified by:
      resetStrokeColor in interface PdfContent
    • setStrokeAlpha

      protected void setStrokeAlpha(int alpha)
    • setLineWidth

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

      public void setLineCap(LineCapStyle lineCap)
      Specified by:
      setLineCap 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
    • setLiteral

      public void setLiteral(String string)
      Specified by:
      setLiteral in interface PdfContent
    • transform

      public void transform(AffineTransform atrans)
      Specified by:
      transform in interface PdfContent