Uses of Class
org.apache.pdfbox.pdmodel.common.PDRectangle
Packages that use PDRectangle
Package
Description
This package contains provides classes for working with content streams.
The PDModel package represents a high level API for creating and manipulating PDF documents.
High level PD classes that are used throughout several packages are placed in the PDModel common package.
The tagged PDF package provides a mechanism for incorporating "tags" (standard
structure types and attributes) into a PDF file.
The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.
Classes to deal with font functionality in a PDF Document.
This package deals with Form XObjects that are stored in a PDF document.
This package deals with patterns which are used instead of colors.
This package deals with shadings which are used for filling instead of a color.
This package deals with graphics states within the PDF document.
The annotation package contains classes that work with PDF annotation elements.
This is the visual signature part that help creating the visual representation for the digital signature.
The measurement package contains classes that work with elements specifying measure properties.
A package to allow provide access to PDF page navigation functionality.
-
Uses of PDRectangle in org.apache.pdfbox.contentstream
Methods in org.apache.pdfbox.contentstream that return PDRectangleModifier and TypeMethodDescriptionPDContentStream.getBBox()
Returns the bounding box of the contents. -
Uses of PDRectangle in org.apache.pdfbox.multipdf
Methods in org.apache.pdfbox.multipdf with parameters of type PDRectangleModifier and TypeMethodDescriptionprotected AffineTransform
Overlay.calculateAffineTransform
(PDPage page, PDRectangle overlayMediaBox) Calculate the transform to be used when positioning the overlay. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return PDRectangleModifier and TypeMethodDescriptionPDPage.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.PDPage.getBBox()
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.PDPage.getCropBox()
A rectangle, expressed in default user space units, defining the visible region of default user space.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.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 PDRectangleModifier and TypeMethodDescriptionvoid
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 PDRectangleModifierConstructorDescriptionPDPage
(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 PDRectangleModifier and TypeFieldDescriptionstatic final PDRectangle
PDRectangle.A0
A rectangle the size of A0 Paper.static final PDRectangle
PDRectangle.A1
A rectangle the size of A1 Paper.static final PDRectangle
PDRectangle.A2
A rectangle the size of A2 Paper.static final PDRectangle
PDRectangle.A3
A rectangle the size of A3 Paper.static final PDRectangle
PDRectangle.A4
A rectangle the size of A4 Paper.static final PDRectangle
PDRectangle.A5
A rectangle the size of A5 Paper.static final PDRectangle
PDRectangle.A6
A rectangle the size of A6 Paper.static final PDRectangle
PDRectangle.LEGAL
A rectangle the size of U.S.static final PDRectangle
PDRectangle.LETTER
A rectangle the size of U.S.Methods in org.apache.pdfbox.pdmodel.common that return PDRectangleModifier and TypeMethodDescriptionPDRectangle.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 PDRectangleModifier and TypeMethodDescriptionPDArtifactMarkedContent.getBBox()
Gets the artifact's bounding box (BBox).PDLayoutAttributeObject.getBBox()
Gets the bounding box.Methods in org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf with parameters of type PDRectangleModifier and TypeMethodDescriptionvoid
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 PDRectangleModifier and TypeMethodDescriptionFDFAnnotationCaret.getFringe()
This will retrieve the fringe.FDFAnnotationCircle.getFringe()
This will get the fringe.FDFAnnotationFreeText.getFringe()
This will get the fringe.FDFAnnotationSquare.getFringe()
This will get the fringe.FDFAnnotation.getRectangle()
The rectangle associated with this annotation.Methods in org.apache.pdfbox.pdmodel.fdf with parameters of type PDRectangleModifier and TypeMethodDescriptionfinal void
FDFAnnotationCaret.setFringe
(PDRectangle fringe) This will set the fringe rectangle.final void
FDFAnnotationCircle.setFringe
(PDRectangle fringe) This will set the fringe rectangle.final void
FDFAnnotationFreeText.setFringe
(PDRectangle fringe) This will set the fringe rectangle.final void
FDFAnnotationSquare.setFringe
(PDRectangle fringe) This will set the fringe rectangle.final 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 PDRectangleModifier and TypeMethodDescriptionPDType3CharProc.getBBox()
PDType3Font.getFontBBox()
This will get the fonts bounding box from its dictionary.PDFontDescriptor.getFontBoundingBox()
This will get the fonts bounding box.PDType3CharProc.getGlyphBBox()
Calculate the bounding box of this glyph.Methods in org.apache.pdfbox.pdmodel.font with parameters of type PDRectangleModifier and TypeMethodDescriptionvoid
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 PDRectangleModifier and TypeMethodDescriptionPDFormXObject.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 PDRectangleModifier and TypeMethodDescriptionvoid
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 PDRectangleModifier and TypeMethodDescriptionPDTilingPattern.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 PDRectangleModifier and TypeMethodDescriptionvoid
PDTilingPattern.setBBox
(PDRectangle bbox) This will set the BBox (bounding box) for this Pattern. -
Uses of PDRectangle in org.apache.pdfbox.pdmodel.graphics.shading
Methods in org.apache.pdfbox.pdmodel.graphics.shading that return PDRectangleModifier and TypeMethodDescriptionPDShading.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 PDRectangleModifier and TypeMethodDescriptionvoid
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 PDRectangleModifierConstructorDescriptionPDGraphicsState
(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 PDRectangleModifier and TypeMethodDescriptionPDAnnotation.getRectangle()
The annotation rectangle, defining the location of the annotation on the page in default user space units.PDAnnotationMarkup.getRectDifference()
This will get the rectangle difference rectangle.PDAnnotationSquareCircle.getRectDifference()
This will get the rectangle difference rectangle.Methods in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type PDRectangleModifier and TypeMethodDescriptionvoid
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.digitalsignature.visible
Methods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible that return PDRectangleModifier and TypeMethodDescriptionPDFTemplateStructure.getFormatterRectangle()
Gets formatter rectanglePDFTemplateStructure.getSignatureRectangle()
Gets SignatureRectangleMethods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible with parameters of type PDRectangleModifier and TypeMethodDescriptionvoid
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, AffineTransform affineTransform, PDImageXObject img) Creates Image formvoid
PDVisibleSigBuilder.createImageForm
(PDResources imageFormResources, PDResources innerFormResource, PDStream imageFormStream, PDRectangle bbox, 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.measurement
Methods in org.apache.pdfbox.pdmodel.interactive.measurement that return PDRectangleModifier and TypeMethodDescriptionPDViewportDictionary.getBBox()
This will retrieve the rectangle specifying the location of the viewport.Methods in org.apache.pdfbox.pdmodel.interactive.measurement with parameters of type PDRectangleModifier and TypeMethodDescriptionvoid
PDViewportDictionary.setBBox
(PDRectangle rectangle) This will set the rectangle specifying the location of the viewport. -
Uses of PDRectangle in org.apache.pdfbox.rendering
Methods in org.apache.pdfbox.rendering with parameters of type PDRectangleModifier and TypeMethodDescriptionvoid
PageDrawer.drawPage
(Graphics g, PDRectangle pageSize) Draws the page to the requested context.