Package net.sf.jasperreports.pdf.classic
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 Summary
Constructors Constructor Description ClassicPdfContent(com.lowagie.text.pdf.PdfWriter pdfWriter, ColorSpace cmykColorSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillEllipse(float x1, float y1, float x2, float y2)
void
fillRectangle(float x, float y, float width, float height)
void
fillRoundRectangle(float x, float y, float width, float height, float radius)
com.lowagie.text.pdf.PdfContentByte
getPdfContentByte()
void
refreshContent()
void
resetFillColor()
void
resetStrokeColor()
protected void
setFillAlpha(int alpha)
void
setFillColor(Color color)
void
setFillColorAlpha(int alpha)
void
setLineCap(LineCapStyle lineCap)
void
setLineDash(float phase)
void
setLineDash(float unitsOn, float unitsOff, float phase)
void
setLineWidth(float lineWidth)
void
setLiteral(String string)
protected void
setStrokeAlpha(int alpha)
void
setStrokeColor(Color color)
void
strokeEllipse(float x1, float y1, float x2, float y2)
void
strokeLine(float x1, float y1, float x2, float y2)
void
strokeRoundRectangle(float x, float y, float width, float height, float radius)
void
transform(AffineTransform atrans)
-
-
-
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()
-
setFillColor
public void setFillColor(Color color)
- Specified by:
setFillColor
in interfacePdfContent
-
setFillColorAlpha
public void setFillColorAlpha(int alpha)
- Specified by:
setFillColorAlpha
in interfacePdfContent
-
resetFillColor
public void resetFillColor()
- Specified by:
resetFillColor
in interfacePdfContent
-
setFillAlpha
protected void setFillAlpha(int alpha)
-
setStrokeColor
public void setStrokeColor(Color color)
- Specified by:
setStrokeColor
in interfacePdfContent
-
resetStrokeColor
public void resetStrokeColor()
- Specified by:
resetStrokeColor
in interfacePdfContent
-
setStrokeAlpha
protected void setStrokeAlpha(int alpha)
-
setLineWidth
public void setLineWidth(float lineWidth)
- Specified by:
setLineWidth
in interfacePdfContent
-
setLineCap
public void setLineCap(LineCapStyle lineCap)
- Specified by:
setLineCap
in interfacePdfContent
-
setLineDash
public void setLineDash(float phase)
- Specified by:
setLineDash
in interfacePdfContent
-
setLineDash
public void setLineDash(float unitsOn, float unitsOff, float phase)
- Specified by:
setLineDash
in interfacePdfContent
-
strokeLine
public void strokeLine(float x1, float y1, float x2, float y2)
- Specified by:
strokeLine
in interfacePdfContent
-
fillRectangle
public void fillRectangle(float x, float y, float width, float height)
- Specified by:
fillRectangle
in interfacePdfContent
-
fillRoundRectangle
public void fillRoundRectangle(float x, float y, float width, float height, float radius)
- Specified by:
fillRoundRectangle
in interfacePdfContent
-
strokeRoundRectangle
public void strokeRoundRectangle(float x, float y, float width, float height, float radius)
- Specified by:
strokeRoundRectangle
in interfacePdfContent
-
fillEllipse
public void fillEllipse(float x1, float y1, float x2, float y2)
- Specified by:
fillEllipse
in interfacePdfContent
-
strokeEllipse
public void strokeEllipse(float x1, float y1, float x2, float y2)
- Specified by:
strokeEllipse
in interfacePdfContent
-
setLiteral
public void setLiteral(String string)
- Specified by:
setLiteral
in interfacePdfContent
-
transform
public void transform(AffineTransform atrans)
- Specified by:
transform
in interfacePdfContent
-
-