Uses of Class
org.apache.pdfbox.pdmodel.common.PDRectangle
-
Packages that use PDRectangle Package Description org.apache.pdfbox.contentstream This package contains provides classes for working with content streams.org.apache.pdfbox.debugger.fontencodingpane org.apache.pdfbox.debugger.pagepane org.apache.pdfbox.multipdf org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.common High level PD classes that are used throughout several packages are placed in the PDModel common package.org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf The tagged PDF package provides a mechanism for incorporating "tags" (standard structure types and attributes) into a PDF file.org.apache.pdfbox.pdmodel.fdf The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.org.apache.pdfbox.pdmodel.font Classes to deal with font functionality in a PDF Document.org.apache.pdfbox.pdmodel.graphics.form This package deals with Form XObjects that are stored in a PDF document.org.apache.pdfbox.pdmodel.graphics.pattern This package deals with patterns which are used instead of colors.org.apache.pdfbox.pdmodel.graphics.shading This package deals with shadings which are used for filling instead of a color.org.apache.pdfbox.pdmodel.graphics.state This package deals with graphics states within the PDF document.org.apache.pdfbox.pdmodel.interactive.annotation The annotation package contains classes that work with PDF annotation elements.org.apache.pdfbox.pdmodel.interactive.annotation.handlers org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible This is the visual signature part that help creating the visual representation for the digital signature.org.apache.pdfbox.pdmodel.interactive.form The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".org.apache.pdfbox.pdmodel.interactive.measurement The measurement package contains classes that work with elements specifying measure properties.org.apache.pdfbox.pdmodel.interactive.pagenavigation A package to allow provide access to PDF page navigation functionality.org.apache.pdfbox.printing org.apache.pdfbox.rendering org.apache.pdfbox.text org.apache.pdfbox.tools -
-
Uses of PDRectangle in org.apache.pdfbox.contentstream
Methods in org.apache.pdfbox.contentstream that return PDRectangle Modifier and Type Method Description PDRectangle
PDContentStream. getBBox()
Returns the bounding box of the contents.Methods in org.apache.pdfbox.contentstream with parameters of type PDRectangle Modifier and Type Method Description private void
PDFStreamEngine. clipToRect(PDRectangle rectangle)
Transforms the given rectangle using the CTM and then intersects it with the current clipping area. -
Uses of PDRectangle in org.apache.pdfbox.debugger.fontencodingpane
Fields in org.apache.pdfbox.debugger.fontencodingpane declared as PDRectangle Modifier and Type Field Description private PDRectangle
Type3Font. fontBBox
-
Uses of PDRectangle in org.apache.pdfbox.debugger.pagepane
Fields in org.apache.pdfbox.debugger.pagepane with type parameters of type PDRectangle Modifier and Type Field Description private java.util.Map<PDRectangle,java.lang.String>
PagePane. rectMap
-
Uses of PDRectangle in org.apache.pdfbox.multipdf
Fields in org.apache.pdfbox.multipdf declared as PDRectangle Modifier and Type Field Description private PDRectangle
Overlay.LayoutPage. overlayMediaBox
Methods in org.apache.pdfbox.multipdf with parameters of type PDRectangle Modifier and Type Method Description protected java.awt.geom.AffineTransform
Overlay. calculateAffineTransform(PDPage page, PDRectangle overlayMediaBox)
Calculate the transform to be used when positioning the overlay.Constructors in org.apache.pdfbox.multipdf with parameters of type PDRectangle Constructor Description LayoutPage(PDRectangle mediaBox, COSStream contentStream, COSDictionary resources, int rotation)
-
Uses of PDRectangle in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel declared as PDRectangle Modifier and Type Field Description private PDRectangle
PDPage. mediaBox
Methods in org.apache.pdfbox.pdmodel that return PDRectangle Modifier and Type Method Description private PDRectangle
PDPage. clipToMediaBox(PDRectangle box)
Clips the given box to the bounds of the media box.PDRectangle
PDPage. getArtBox()
A rectangle, expressed in default user space units, defining the extent of the page's meaningful content (including potential white space) as intended by the page's creator The default is the CropBox.PDRectangle
PDPage. getBBox()
PDRectangle
PDPage. getBleedBox()
A rectangle, expressed in default user space units, defining the region to which the contents of the page should be clipped when output in a production environment.PDRectangle
PDPage. getCropBox()
A rectangle, expressed in default user space units, defining the visible region of default user space.PDRectangle
PDPage. getMediaBox()
A rectangle, expressed in default user space units, defining the boundaries of the physical medium on which the page is intended to be displayed or printed.PDRectangle
PDPage. getTrimBox()
A rectangle, expressed in default user space units, defining the intended dimensions of the finished page after trimming.Methods in org.apache.pdfbox.pdmodel with parameters of type PDRectangle Modifier and Type Method Description private PDRectangle
PDPage. clipToMediaBox(PDRectangle box)
Clips the given box to the bounds of the media box.void
PDPage. setArtBox(PDRectangle artBox)
This will set the ArtBox for this page.void
PDPage. setBleedBox(PDRectangle bleedBox)
This will set the BleedBox for this page.void
PDPage. setCropBox(PDRectangle cropBox)
This will set the CropBox for this page.void
PDPage. setMediaBox(PDRectangle mediaBox)
This will set the mediaBox for this page.void
PDPage. setTrimBox(PDRectangle trimBox)
This will set the TrimBox for this page.Constructors in org.apache.pdfbox.pdmodel with parameters of type PDRectangle Constructor Description PDPage(PDRectangle mediaBox)
Creates a new instance of PDPage for embedding. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.common
Fields in org.apache.pdfbox.pdmodel.common declared as PDRectangle Modifier and Type Field Description static PDRectangle
PDRectangle. A0
A rectangle the size of A0 Paper.static PDRectangle
PDRectangle. A1
A rectangle the size of A1 Paper.static PDRectangle
PDRectangle. A2
A rectangle the size of A2 Paper.static PDRectangle
PDRectangle. A3
A rectangle the size of A3 Paper.static PDRectangle
PDRectangle. A4
A rectangle the size of A4 Paper.static PDRectangle
PDRectangle. A5
A rectangle the size of A5 Paper.static PDRectangle
PDRectangle. A6
A rectangle the size of A6 Paper.static PDRectangle
PDRectangle. LEGAL
A rectangle the size of U.S.static PDRectangle
PDRectangle. LETTER
A rectangle the size of U.S.Methods in org.apache.pdfbox.pdmodel.common that return PDRectangle Modifier and Type Method Description PDRectangle
PDRectangle. createRetranslatedRectangle()
This will create a translated rectangle based off of this rectangle, such that the new rectangle retains the same dimensions(height/width), but the lower left x,y values are zero. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf
Methods in org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf that return PDRectangle Modifier and Type Method Description PDRectangle
PDArtifactMarkedContent. getBBox()
Gets the artifact's bounding box (BBox).PDRectangle
PDLayoutAttributeObject. getBBox()
Gets the bounding box.Methods in org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf with parameters of type PDRectangle Modifier and Type Method Description void
PDLayoutAttributeObject. setBBox(PDRectangle bbox)
Sets the bounding box. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.fdf
Methods in org.apache.pdfbox.pdmodel.fdf that return PDRectangle Modifier and Type Method Description PDRectangle
FDFAnnotationCaret. getFringe()
This will retrieve the fringe.PDRectangle
FDFAnnotationCircle. getFringe()
This will get the fringe.PDRectangle
FDFAnnotationFreeText. getFringe()
This will get the fringe.PDRectangle
FDFAnnotationSquare. getFringe()
This will get the fringe.PDRectangle
FDFAnnotation. getRectangle()
The rectangle associated with this annotation.Methods in org.apache.pdfbox.pdmodel.fdf with parameters of type PDRectangle Modifier and Type Method Description void
FDFAnnotationCaret. setFringe(PDRectangle fringe)
This will set the fringe rectangle.void
FDFAnnotationCircle. setFringe(PDRectangle fringe)
This will set the fringe rectangle.void
FDFAnnotationFreeText. setFringe(PDRectangle fringe)
This will set the fringe rectangle.void
FDFAnnotationSquare. setFringe(PDRectangle fringe)
This will set the fringe rectangle.void
FDFAnnotation. setRectangle(PDRectangle rectangle)
Set the rectangle associated with this annotation. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.font
Methods in org.apache.pdfbox.pdmodel.font that return PDRectangle Modifier and Type Method Description PDRectangle
PDType3CharProc. getBBox()
PDRectangle
PDType3Font. getFontBBox()
This will get the fonts bounding box from its dictionary.PDRectangle
PDFontDescriptor. getFontBoundingBox()
This will get the fonts bounding box.PDRectangle
PDType3CharProc. getGlyphBBox()
Calculate the bounding box of this glyph.Methods in org.apache.pdfbox.pdmodel.font with parameters of type PDRectangle Modifier and Type Method Description void
PDFontDescriptor. setFontBoundingBox(PDRectangle rect)
Set the fonts bounding box. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.graphics.form
Methods in org.apache.pdfbox.pdmodel.graphics.form that return PDRectangle Modifier and Type Method Description PDRectangle
PDFormXObject. getBBox()
An array of four numbers in the form coordinate system (see below), giving the coordinates of the left, bottom, right, and top edges, respectively, of the form XObject's bounding box.Methods in org.apache.pdfbox.pdmodel.graphics.form with parameters of type PDRectangle Modifier and Type Method Description void
PDFormXObject. setBBox(PDRectangle bbox)
This will set the BBox (bounding box) for this form. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.graphics.pattern
Methods in org.apache.pdfbox.pdmodel.graphics.pattern that return PDRectangle Modifier and Type Method Description PDRectangle
PDTilingPattern. getBBox()
An array of four numbers in the form coordinate system (see below), giving the coordinates of the left, bottom, right, and top edges, respectively, of the pattern's bounding box.Methods in org.apache.pdfbox.pdmodel.graphics.pattern with parameters of type PDRectangle Modifier and Type Method Description void
PDTilingPattern. setBBox(PDRectangle bbox)
This will set the BBox (bounding box) for this Pattern. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.graphics.shading
Fields in org.apache.pdfbox.pdmodel.graphics.shading declared as PDRectangle Modifier and Type Field Description private PDRectangle
PDShading. bBox
Methods in org.apache.pdfbox.pdmodel.graphics.shading that return PDRectangle Modifier and Type Method Description PDRectangle
PDShading. getBBox()
An array of four numbers in the form coordinate system (see below), giving the coordinates of the left, bottom, right, and top edges, respectively, of the shading's bounding box.Methods in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type PDRectangle Modifier and Type Method Description void
PDShading. setBBox(PDRectangle newBBox)
This will set the BBox (bounding box) for this Shading. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.graphics.state
Constructors in org.apache.pdfbox.pdmodel.graphics.state with parameters of type PDRectangle Constructor Description PDGraphicsState(PDRectangle page)
Constructor with a given page size to initialize the clipping path. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.interactive.annotation
Methods in org.apache.pdfbox.pdmodel.interactive.annotation that return PDRectangle Modifier and Type Method Description PDRectangle
PDAnnotation. getRectangle()
The annotation rectangle, defining the location of the annotation on the page in default user space units.PDRectangle
PDAnnotationMarkup. getRectDifference()
This will get the rectangle difference rectangle.PDRectangle
PDAnnotationSquareCircle. getRectDifference()
This will get the rectangle difference rectangle.Methods in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type PDRectangle Modifier and Type Method Description void
PDAnnotation. setRectangle(PDRectangle rectangle)
This will set the rectangle for this annotation.void
PDAnnotationMarkup. setRectDifference(PDRectangle rd)
This will set the rectangle difference rectangle.void
PDAnnotationSquareCircle. setRectDifference(PDRectangle rd)
This will set the rectangle difference rectangle. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.interactive.annotation.handlers
Fields in org.apache.pdfbox.pdmodel.interactive.annotation.handlers declared as PDRectangle Modifier and Type Field Description private PDRectangle
CloudyBorder. annotRect
private PDRectangle
CloudyBorder. rectWithDiff
Methods in org.apache.pdfbox.pdmodel.interactive.annotation.handlers that return PDRectangle Modifier and Type Method Description (package private) PDRectangle
PDAbstractAppearanceHandler. addRectDifferences(PDRectangle rectangle, float[] differences)
Get a rectangle enlarged by the differences.private PDRectangle
PDTextAppearanceHandler. adjustRectAndBBox(PDAnnotationText annotation, float width, float height)
private PDRectangle
CloudyBorder. applyRectDiff(PDRectangle rd, double min)
(package private) PDRectangle
PDAbstractAppearanceHandler. applyRectDifferences(PDRectangle rectangle, float[] differences)
Get a rectangle with the differences applied to each side.(package private) PDRectangle
CloudyBorder. getBBox()
Returns theBBox
entry (bounding box) for the appearance stream form XObject.(package private) PDRectangle
PDAbstractAppearanceHandler. getPaddedRectangle(PDRectangle rectangle, float padding)
Get a padded rectangle.(package private) PDRectangle
CloudyBorder. getRectangle()
Returns the updatedRect
entry for the annotation.(package private) PDRectangle
PDAbstractAppearanceHandler. getRectangle()
(package private) PDRectangle
CloudyBorder. getRectDifference()
Returns the updatedRD
entry for Square and Circle annotations.(package private) PDRectangle
PDAbstractAppearanceHandler. handleBorderBox(PDAnnotationSquareCircle annotation, float lineWidth)
Methods in org.apache.pdfbox.pdmodel.interactive.annotation.handlers with parameters of type PDRectangle Modifier and Type Method Description (package private) PDRectangle
PDAbstractAppearanceHandler. addRectDifferences(PDRectangle rectangle, float[] differences)
Get a rectangle enlarged by the differences.private PDRectangle
CloudyBorder. applyRectDiff(PDRectangle rd, double min)
(package private) PDRectangle
PDAbstractAppearanceHandler. applyRectDifferences(PDRectangle rectangle, float[] differences)
Get a rectangle with the differences applied to each side.(package private) void
CloudyBorder. createCloudyEllipse(PDRectangle rd)
Creates a cloudy border for a Circle annotation.(package private) void
CloudyBorder. createCloudyRectangle(PDRectangle rd)
Creates a cloudy border for a rectangular annotation.(package private) PDRectangle
PDAbstractAppearanceHandler. getPaddedRectangle(PDRectangle rectangle, float padding)
Get a padded rectangle.Constructors in org.apache.pdfbox.pdmodel.interactive.annotation.handlers with parameters of type PDRectangle Constructor Description CloudyBorder(PDAppearanceContentStream stream, double intensity, double lineWidth, PDRectangle rect)
Creates a newCloudyBorder
that writes to the specified content stream. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible
Fields in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible declared as PDRectangle Modifier and Type Field Description private PDRectangle
PDFTemplateStructure. formatterRectangle
private PDRectangle
PDFTemplateStructure. signatureRectangle
Methods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible that return PDRectangle Modifier and Type Method Description PDRectangle
PDFTemplateStructure. getFormatterRectangle()
Gets formatter rectanglePDRectangle
PDFTemplateStructure. getSignatureRectangle()
Gets SignatureRectangleMethods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible with parameters of type PDRectangle Modifier and Type Method Description void
PDFTemplateBuilder. createBackgroundLayerForm(PDResources innerFormResource, PDRectangle formatter)
Creates the background layer form (n0).void
PDVisibleSigBuilder. createBackgroundLayerForm(PDResources innerFormResource, PDRectangle bbox)
void
PDFTemplateBuilder. createHolderForm(PDResources holderFormResources, PDStream holderFormStream, PDRectangle bbox)
Creates Formvoid
PDVisibleSigBuilder. createHolderForm(PDResources holderFormResources, PDStream holderFormStream, PDRectangle bbox)
void
PDFTemplateBuilder. createImageForm(PDResources imageFormResources, PDResources innerFormResource, PDStream imageFormStream, PDRectangle bbox, java.awt.geom.AffineTransform affineTransform, PDImageXObject img)
Creates Image formvoid
PDVisibleSigBuilder. createImageForm(PDResources imageFormResources, PDResources innerFormResource, PDStream imageFormStream, PDRectangle bbox, java.awt.geom.AffineTransform at, PDImageXObject img)
void
PDFTemplateBuilder. createInnerForm(PDResources innerFormResources, PDStream innerFormStream, PDRectangle bbox)
void
PDVisibleSigBuilder. createInnerForm(PDResources innerFormResources, PDStream innerFormStream, PDRectangle bbox)
void
PDFTemplateStructure. setFormatterRectangle(PDRectangle formatterRectangle)
Sets formatter rectanglevoid
PDFTemplateStructure. setSignatureRectangle(PDRectangle signatureRectangle)
Sets SignatureRectangle -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.interactive.form
Methods in org.apache.pdfbox.pdmodel.interactive.form that return PDRectangle Modifier and Type Method Description private PDRectangle
AppearanceGeneratorHelper. applyPadding(PDRectangle box, float padding)
Apply padding to a box.private PDRectangle
AppearanceGeneratorHelper. resolveBoundingBox(PDAnnotationWidget fieldWidget, PDAppearanceStream appearanceStream)
Resolve the bounding box.Methods in org.apache.pdfbox.pdmodel.interactive.form with parameters of type PDRectangle Modifier and Type Method Description private PDRectangle
AppearanceGeneratorHelper. applyPadding(PDRectangle box, float padding)
Apply padding to a box.private float
AppearanceGeneratorHelper. calculateFontSize(PDFont font, PDRectangle contentRect)
My "not so great" method for calculating the fontsize.private java.awt.geom.AffineTransform
AppearanceGeneratorHelper. calculateMatrix(PDRectangle bbox, int rotation)
private void
AppearanceGeneratorHelper. insertGeneratedListboxAppearance(PDPageContentStream contents, PDAppearanceStream appearanceStream, PDRectangle contentRect, PDFont font, float fontSize)
-
Uses of PDRectangle in org.apache.pdfbox.pdmodel.interactive.measurement
Methods in org.apache.pdfbox.pdmodel.interactive.measurement that return PDRectangle Modifier and Type Method Description PDRectangle
PDViewportDictionary. getBBox()
This will retrieve the rectangle specifying the location of the viewport.Methods in org.apache.pdfbox.pdmodel.interactive.measurement with parameters of type PDRectangle Modifier and Type Method Description void
PDViewportDictionary. setBBox(PDRectangle rectangle)
This will set the rectangle specifying the location of the viewport. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.interactive.pagenavigation
Methods in org.apache.pdfbox.pdmodel.interactive.pagenavigation that return PDRectangle Modifier and Type Method Description PDRectangle
PDThreadBead. getRectangle()
The rectangle on the page that this bead is part of.Methods in org.apache.pdfbox.pdmodel.interactive.pagenavigation with parameters of type PDRectangle Modifier and Type Method Description void
PDThreadBead. setRectangle(PDRectangle rect)
Set the rectangle on the page that this bead covers. -
Uses of PDRectangle in org.apache.pdfbox.printing
Methods in org.apache.pdfbox.printing that return PDRectangle Modifier and Type Method Description (package private) static PDRectangle
PDFPrintable. getRotatedCropBox(PDPage page)
This will find the CropBox with rotation applied, for this page by looking up the hierarchy until it finds them.(package private) static PDRectangle
PDFPrintable. getRotatedMediaBox(PDPage page)
This will find the MediaBox with rotation applied, for this page by looking up the hierarchy until it finds them. -
Uses of PDRectangle in org.apache.pdfbox.rendering
Fields in org.apache.pdfbox.rendering declared as PDRectangle Modifier and Type Field Description private PDRectangle
PageDrawer.TransparencyGroup. bbox
private PDRectangle
PageDrawer. pageSize
Methods in org.apache.pdfbox.rendering that return PDRectangle Modifier and Type Method Description PDRectangle
PageDrawer.TransparencyGroup. getBBox()
Methods in org.apache.pdfbox.rendering with parameters of type PDRectangle Modifier and Type Method Description void
PageDrawer. drawPage(java.awt.Graphics g, PDRectangle pageSize)
Draws the page to the requested context. -
Uses of PDRectangle in org.apache.pdfbox.text
Fields in org.apache.pdfbox.text declared as PDRectangle Modifier and Type Field Description private PDRectangle
LegacyPDFStreamEngine. pageSize
Fields in org.apache.pdfbox.text with type parameters of type PDRectangle Modifier and Type Field Description private java.util.List<PDRectangle>
PDFTextStripper. beadRectangles
-
Uses of PDRectangle in org.apache.pdfbox.tools
Fields in org.apache.pdfbox.tools declared as PDRectangle Modifier and Type Field Description private PDRectangle
ImageToPDF. mediaBox
private PDRectangle
TextToPDF. mediaBox
Methods in org.apache.pdfbox.tools that return PDRectangle Modifier and Type Method Description private static PDRectangle
ImageToPDF. createRectangle(java.lang.String paperSize)
private static PDRectangle
TextToPDF. createRectangle(java.lang.String paperSize)
PDRectangle
ImageToPDF. getMediaBox()
Sets page size of produced PDF.PDRectangle
TextToPDF. getMediaBox()
Sets page size of produced PDF.Methods in org.apache.pdfbox.tools with parameters of type PDRectangle Modifier and Type Method Description void
ImageToPDF. setMediaBox(PDRectangle mediaBox)
Sets page size of produced PDF.void
TextToPDF. setMediaBox(PDRectangle mediaBox)
Sets page size of produced PDF.
-