Class StampContent
java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfContentByte
com.gitlab.pdftk_java.com.lowagie.text.pdf.StampContent
-
Nested Class Summary
Nested classes/interfaces inherited from class PdfContentByte
PdfContentByte.GraphicState -
Field Summary
FieldsModifier and TypeFieldDescription(package private) PageResources(package private) PdfStamperImp.PageStampFields inherited from class PdfContentByte
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, content, layerDepth, LINE_CAP_BUTT, LINE_CAP_PROJECTING_SQUARE, LINE_CAP_ROUND, LINE_JOIN_BEVEL, LINE_JOIN_MITER, LINE_JOIN_ROUND, pdf, separator, state, stateList, TEXT_RENDER_MODE_CLIP, TEXT_RENDER_MODE_FILL, TEXT_RENDER_MODE_FILL_CLIP, TEXT_RENDER_MODE_FILL_STROKE, TEXT_RENDER_MODE_FILL_STROKE_CLIP, TEXT_RENDER_MODE_INVISIBLE, TEXT_RENDER_MODE_STROKE, TEXT_RENDER_MODE_STROKE_CLIP, writer -
Constructor Summary
ConstructorsConstructorDescriptionStampContent(PdfStamperImp stamper, PdfStamperImp.PageStamp ps) Creates a new instance of StampContent -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddAnnotation(PdfAnnotation annot) Gets a duplicate of thisPdfContentByte.(package private) PageResourcesGets aGraphics2Dto print on.voidImplements an action in an area.Methods inherited from class PdfContentByte
add, addOutline, addOutline, addPSXObject, addTemplate, addTemplate, arc, beginLayer, beginMarkedContentSequence, beginMarkedContentSequence, beginMarkedContentSequence, beginText, bezierArc, checkNoPattern, checkWriter, circle, clip, closePath, closePathEoFillStroke, closePathFillStroke, closePathStroke, concatCTM, createAppearance, createAppearance, createPattern, createPattern, createPattern, createPattern, createTemplate, createTemplate, curveFromTo, curveTo, curveTo, drawButton, drawRadioField, drawTextField, ellipse, endLayer, endMarkedContentSequence, endText, eoClip, eoFill, eoFillStroke, escapeString, escapeString, fill, fillStroke, getInternalBuffer, getKernArray, getLeading, getPdfDocument, getPdfWriter, getRootOutline, getXTLM, getYTLM, lineTo, localDestination, localGoto, moveText, moveTextWithLeading, moveTo, newlineShowText, newlineShowText, newlineText, newPath, outputColorNumbers, paintShading, paintShading, rectangle, rectangle, remoteGoto, remoteGoto, reset, resetCMYKColorFill, resetCMYKColorStroke, resetGrayFill, resetGrayStroke, resetRGBColorFill, resetRGBColorStroke, restoreState, roundRectangle, saveState, setCharacterSpacing, setCMYKColorFill, setCMYKColorFillF, setCMYKColorStroke, setCMYKColorStrokeF, setColorFill, setColorFill, setColorStroke, setColorStroke, setDefaultColorspace, setFlatness, setFontAndSize, setGrayFill, setGrayStroke, setGState, setHorizontalScaling, setLeading, setLineCap, setLineDash, setLineDash, setLineDash, setLineDash, setLineJoin, setLineWidth, setLiteral, setLiteral, setLiteral, setMiterLimit, setPatternFill, setPatternFill, setPatternFill, setPatternStroke, setPatternStroke, setPatternStroke, setRGBColorFill, setRGBColorFillF, setRGBColorStroke, setRGBColorStrokeF, setShadingFill, setShadingStroke, setTextMatrix, setTextMatrix, setTextRenderingMode, setTextRise, setWordSpacing, showText, showText, showTextAligned, showTextAlignedKerned, showTextKerned, size, stroke, toPdf, toString, transform, variableRectangle
-
Field Details
-
ps
-
pageResources
PageResources pageResources
-
-
Constructor Details
-
StampContent
StampContent(PdfStamperImp stamper, PdfStamperImp.PageStamp ps) Creates a new instance of StampContent
-
-
Method Details
-
setAction
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
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()Description copied from class:PdfContentByteGets aGraphics2Dto print on. The graphics are translated to PDF commands.- Overrides:
getPageResourcesin classPdfContentByte- Returns:
- a
Graphics2D
-
addAnnotation
- Overrides:
addAnnotationin classPdfContentByte
-