Class ClassicPdfContent
- java.lang.Object
-
- net.sf.jasperreports.export.pdf.classic.ClassicPdfContent
-
- All Implemented Interfaces:
PdfContent
public class ClassicPdfContent extends java.lang.Object implements PdfContent
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description ClassicPdfContent(com.lowagie.text.pdf.PdfWriter pdfWriter, java.awt.color.ColorSpace cmykColorSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillEllipse(float x1, float y1, float x2, float y2)voidfillRectangle(float x, float y, float width, float height)voidfillRoundRectangle(float x, float y, float width, float height, float radius)com.lowagie.text.pdf.PdfContentBytegetPdfContentByte()voidrefreshContent()voidresetFillColor()voidresetStrokeColor()protected voidsetFillAlpha(int alpha)voidsetFillColor(java.awt.Color color)voidsetFillColorAlpha(int alpha)voidsetLineCap(LineCapStyle lineCap)voidsetLineDash(float phase)voidsetLineDash(float unitsOn, float unitsOff, float phase)voidsetLineWidth(float lineWidth)voidsetLiteral(java.lang.String string)protected voidsetStrokeAlpha(int alpha)voidsetStrokeColor(java.awt.Color color)voidstrokeEllipse(float x1, float y1, float x2, float y2)voidstrokeLine(float x1, float y1, float x2, float y2)voidstrokeRoundRectangle(float x, float y, float width, float height, float radius)voidtransform(java.awt.geom.AffineTransform atrans)
-
-
-
Method Detail
-
getPdfContentByte
public com.lowagie.text.pdf.PdfContentByte getPdfContentByte()
-
refreshContent
public void refreshContent()
-
setFillColor
public void setFillColor(java.awt.Color color)
- Specified by:
setFillColorin interfacePdfContent
-
setFillColorAlpha
public void setFillColorAlpha(int alpha)
- Specified by:
setFillColorAlphain interfacePdfContent
-
resetFillColor
public void resetFillColor()
- Specified by:
resetFillColorin interfacePdfContent
-
setFillAlpha
protected void setFillAlpha(int alpha)
-
setStrokeColor
public void setStrokeColor(java.awt.Color color)
- Specified by:
setStrokeColorin interfacePdfContent
-
resetStrokeColor
public void resetStrokeColor()
- Specified by:
resetStrokeColorin interfacePdfContent
-
setStrokeAlpha
protected void setStrokeAlpha(int alpha)
-
setLineWidth
public void setLineWidth(float lineWidth)
- Specified by:
setLineWidthin interfacePdfContent
-
setLineCap
public void setLineCap(LineCapStyle lineCap)
- Specified by:
setLineCapin interfacePdfContent
-
setLineDash
public void setLineDash(float phase)
- Specified by:
setLineDashin interfacePdfContent
-
setLineDash
public void setLineDash(float unitsOn, float unitsOff, float phase)- Specified by:
setLineDashin interfacePdfContent
-
strokeLine
public void strokeLine(float x1, float y1, float x2, float y2)- Specified by:
strokeLinein interfacePdfContent
-
fillRectangle
public void fillRectangle(float x, float y, float width, float height)- Specified by:
fillRectanglein interfacePdfContent
-
fillRoundRectangle
public void fillRoundRectangle(float x, float y, float width, float height, float radius)- Specified by:
fillRoundRectanglein interfacePdfContent
-
strokeRoundRectangle
public void strokeRoundRectangle(float x, float y, float width, float height, float radius)- Specified by:
strokeRoundRectanglein interfacePdfContent
-
fillEllipse
public void fillEllipse(float x1, float y1, float x2, float y2)- Specified by:
fillEllipsein interfacePdfContent
-
strokeEllipse
public void strokeEllipse(float x1, float y1, float x2, float y2)- Specified by:
strokeEllipsein interfacePdfContent
-
setLiteral
public void setLiteral(java.lang.String string)
- Specified by:
setLiteralin interfacePdfContent
-
transform
public void transform(java.awt.geom.AffineTransform atrans)
- Specified by:
transformin interfacePdfContent
-
-