Package com.aowagie.text.pdf
Class StampContent
- java.lang.Object
-
- com.aowagie.text.pdf.PdfContentByte
-
- com.aowagie.text.pdf.StampContent
-
class StampContent extends PdfContentByte
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.aowagie.text.pdf.PdfContentByte
PdfContentByte.GraphicState
-
-
Field Summary
Fields Modifier and Type Field Description private PageResourcespageResourcesprivate PdfStamperImp.PageStampps-
Fields inherited from class com.aowagie.text.pdf.PdfContentByte
ALIGN_CENTER, ALIGN_LEFT, content, LINE_CAP_BUTT, pdf, separator, state, TEXT_RENDER_MODE_FILL, TEXT_RENDER_MODE_FILL_STROKE, TEXT_RENDER_MODE_STROKE, writer
-
-
Constructor Summary
Constructors Constructor Description StampContent(PdfStamperImp stamper, PdfStamperImp.PageStamp ps)Creates a new instance of StampContent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddAnnotation(PdfAnnotation annot)PdfContentBytegetDuplicate()Gets a duplicate of thisPdfContentByte.(package private) PageResourcesgetPageResources()voidsetAction(PdfAction action, float llx, float lly, float urx, float ury)Implements an action in an area.-
Methods inherited from class com.aowagie.text.pdf.PdfContentByte
add, addImage, addImage, addImage, addTemplate, addTemplate, addTemplateReference, arc, beginText, bezierArc, checkWriter, clip, closePath, closePathEoFillStroke, closePathFillStroke, closePathStroke, concatCTM, createPattern, createTemplate, curveTo, curveTo, drawButton, drawRadioField, drawTextField, endText, eoClip, eoFill, escapeString, fill, getCharacterSpacing, getHorizontalScaling, getInternalBuffer, getLeading, getPdfDocument, getPdfWriter, getRootOutline, getWordSpacing, getXTLM, getYTLM, lineTo, moveText, moveTo, newPath, rectangle, rectangle, reset, resetCMYKColorFill, resetCMYKColorStroke, resetGrayFill, resetGrayStroke, resetRGBColorFill, resetRGBColorStroke, restoreState, roundRectangle, saveState, setCharacterSpacing, setCMYKColorFill, setCMYKColorFillF, setCMYKColorStroke, setCMYKColorStrokeF, setColorFill, setColorFill, setColorStroke, setColorStroke, setFlatness, setFontAndSize, setGrayFill, setGrayStroke, setGState, setHorizontalScaling, setLeading, setLineCap, setLineDash, setLineDash, setLineDash, setLineJoin, setLineWidth, setLiteral, setLiteral, setLiteral, setMiterLimit, setPatternFill, setPatternFill, setPatternStroke, setPatternStroke, setRGBColorFill, setRGBColorFillF, setRGBColorStroke, setRGBColorStrokeF, setShadingFill, setShadingStroke, setTextMatrix, setTextMatrix, setTextRenderingMode, setTextRise, setWordSpacing, showText, showText, showTextAligned, size, stroke, toPdf, toString
-
-
-
-
Field Detail
-
ps
private final PdfStamperImp.PageStamp ps
-
pageResources
private final PageResources pageResources
-
-
Constructor Detail
-
StampContent
StampContent(PdfStamperImp stamper, PdfStamperImp.PageStamp ps)
Creates a new instance of StampContent
-
-
Method Detail
-
setAction
public void setAction(PdfAction action, float llx, float lly, float urx, float ury)
Description copied from class:PdfContentByteImplements an action in an area.- Overrides:
setActionin classPdfContentByte- Parameters:
action- thePdfActionllx- the lower left x corner of the activation areally- the lower left y corner of the activation areaurx- the upper right x corner of the activation areaury- the upper right y corner of the activation area
-
getDuplicate
public PdfContentByte getDuplicate()
Gets a duplicate of thisPdfContentByte. All the members are copied by reference but the buffer stays different.- Overrides:
getDuplicatein classPdfContentByte- Returns:
- a copy of this
PdfContentByte
-
getPageResources
PageResources getPageResources()
- Overrides:
getPageResourcesin classPdfContentByte
-
addAnnotation
void addAnnotation(PdfAnnotation annot)
- Overrides:
addAnnotationin classPdfContentByte
-
-