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 interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
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.Methods in org.apache.pdfbox.contentstream with parameters of type PDRectangleModifier and TypeMethodDescriptionprivate voidPDFStreamEngine.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 -
Uses of PDRectangle in org.apache.pdfbox.debugger.pagepane
Fields in org.apache.pdfbox.debugger.pagepane with type parameters of type PDRectangle -
Uses of PDRectangle in org.apache.pdfbox.multipdf
Fields in org.apache.pdfbox.multipdf declared as PDRectangleMethods in org.apache.pdfbox.multipdf with parameters of type PDRectangleModifier and TypeMethodDescriptionprotected AffineTransformOverlay.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 PDRectangleModifierConstructorDescriptionprivateLayoutPage(PDRectangle mediaBox, COSStream contentStream, COSDictionary resources, short rotation) -
Uses of PDRectangle in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel declared as PDRectangleMethods in org.apache.pdfbox.pdmodel that return PDRectangleModifier and TypeMethodDescriptionprivate PDRectanglePDPage.clipToMediaBox(PDRectangle box) Clips the given box to the bounds of the media box.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.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 TypeMethodDescriptionprivate PDRectanglePDPage.clipToMediaBox(PDRectangle box) Clips the given box to the bounds of the media box.voidPDPage.setArtBox(PDRectangle artBox) This will set the ArtBox for this page.voidPDPage.setBleedBox(PDRectangle bleedBox) This will set the BleedBox for this page.voidPDPage.setCropBox(PDRectangle cropBox) This will set the CropBox for this page.voidPDPage.setMediaBox(PDRectangle mediaBox) This will set the mediaBox for this page.voidPDPage.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 PDRectanglePDRectangle.A0A rectangle the size of A0 Paper.static final PDRectanglePDRectangle.A1A rectangle the size of A1 Paper.static final PDRectanglePDRectangle.A2A rectangle the size of A2 Paper.static final PDRectanglePDRectangle.A3A rectangle the size of A3 Paper.static final PDRectanglePDRectangle.A4A rectangle the size of A4 Paper.static final PDRectanglePDRectangle.A5A rectangle the size of A5 Paper.static final PDRectanglePDRectangle.A6A rectangle the size of A6 Paper.static final PDRectanglePDRectangle.LEGALA rectangle the size of U.S.static final PDRectanglePDRectangle.LETTERA 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 TypeMethodDescriptionvoidPDLayoutAttributeObject.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 voidFDFAnnotationCaret.setFringe(PDRectangle fringe) This will set the fringe rectangle.final voidFDFAnnotationCircle.setFringe(PDRectangle fringe) This will set the fringe rectangle.final voidFDFAnnotationFreeText.setFringe(PDRectangle fringe) This will set the fringe rectangle.final voidFDFAnnotationSquare.setFringe(PDRectangle fringe) This will set the fringe rectangle.final voidFDFAnnotation.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 TypeMethodDescriptionvoidPDFontDescriptor.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 TypeMethodDescriptionvoidPDFormXObject.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 TypeMethodDescriptionvoidPDTilingPattern.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 PDRectangleMethods 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 TypeMethodDescriptionvoidPDShading.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 TypeMethodDescriptionvoidPDAnnotation.setRectangle(PDRectangle rectangle) This will set the rectangle for this annotation.voidPDAnnotationMarkup.setRectDifference(PDRectangle rd) This will set the rectangle difference rectangle.voidPDAnnotationSquareCircle.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 PDRectangleModifier and TypeFieldDescriptionprivate final PDRectangleCloudyBorder.annotRectprivate PDRectangleCloudyBorder.rectWithDiffMethods in org.apache.pdfbox.pdmodel.interactive.annotation.handlers that return PDRectangleModifier and TypeMethodDescription(package private) PDRectanglePDAbstractAppearanceHandler.addRectDifferences(PDRectangle rectangle, float[] differences) Get a rectangle enlarged by the differences.private PDRectanglePDTextAppearanceHandler.adjustRectAndBBox(PDAnnotationText annotation, float width, float height) private PDRectangleCloudyBorder.applyRectDiff(PDRectangle rd, float min) (package private) PDRectanglePDAbstractAppearanceHandler.applyRectDifferences(PDRectangle rectangle, float[] differences) Get a rectangle with the differences applied to each side.(package private) PDRectangleCloudyBorder.getBBox()Returns theBBoxentry (bounding box) for the appearance stream form XObject.(package private) PDRectanglePDAbstractAppearanceHandler.getPaddedRectangle(PDRectangle rectangle, float padding) Get a padded rectangle.(package private) PDRectangleCloudyBorder.getRectangle()Returns the updatedRectentry for the annotation.(package private) PDRectanglePDAbstractAppearanceHandler.getRectangle()(package private) PDRectangleCloudyBorder.getRectDifference()Returns the updatedRDentry for Square and Circle annotations.(package private) PDRectanglePDAbstractAppearanceHandler.handleBorderBox(PDAnnotationSquareCircle annotation, float lineWidth) Methods in org.apache.pdfbox.pdmodel.interactive.annotation.handlers with parameters of type PDRectangleModifier and TypeMethodDescription(package private) PDRectanglePDAbstractAppearanceHandler.addRectDifferences(PDRectangle rectangle, float[] differences) Get a rectangle enlarged by the differences.private PDRectangleCloudyBorder.applyRectDiff(PDRectangle rd, float min) (package private) PDRectanglePDAbstractAppearanceHandler.applyRectDifferences(PDRectangle rectangle, float[] differences) Get a rectangle with the differences applied to each side.(package private) voidCloudyBorder.createCloudyEllipse(PDRectangle rd) Creates a cloudy border for a Circle annotation.(package private) voidCloudyBorder.createCloudyRectangle(PDRectangle rd) Creates a cloudy border for a rectangular annotation.(package private) PDRectanglePDAbstractAppearanceHandler.getPaddedRectangle(PDRectangle rectangle, float padding) Get a padded rectangle.Constructors in org.apache.pdfbox.pdmodel.interactive.annotation.handlers with parameters of type PDRectangleModifierConstructorDescription(package private)CloudyBorder(PDAppearanceContentStream stream, double intensity, double lineWidth, PDRectangle rect) Creates a newCloudyBorderthat 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 PDRectangleModifier and TypeFieldDescriptionprivate PDRectanglePDFTemplateStructure.formatterRectangleprivate PDRectanglePDFTemplateStructure.signatureRectangleMethods 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 TypeMethodDescriptionvoidPDFTemplateBuilder.createBackgroundLayerForm(PDResources innerFormResource, PDRectangle formatter) Creates the background layer form (n0).voidPDVisibleSigBuilder.createBackgroundLayerForm(PDResources innerFormResource, PDRectangle bbox) voidPDFTemplateBuilder.createHolderForm(PDResources holderFormResources, PDStream holderFormStream, PDRectangle bbox) Creates FormvoidPDVisibleSigBuilder.createHolderForm(PDResources holderFormResources, PDStream holderFormStream, PDRectangle bbox) voidPDFTemplateBuilder.createImageForm(PDResources imageFormResources, PDResources innerFormResource, PDStream imageFormStream, PDRectangle bbox, AffineTransform affineTransform, PDImageXObject img) Creates Image formvoidPDVisibleSigBuilder.createImageForm(PDResources imageFormResources, PDResources innerFormResource, PDStream imageFormStream, PDRectangle bbox, AffineTransform at, PDImageXObject img) voidPDFTemplateBuilder.createInnerForm(PDResources innerFormResources, PDStream innerFormStream, PDRectangle bbox) voidPDVisibleSigBuilder.createInnerForm(PDResources innerFormResources, PDStream innerFormStream, PDRectangle bbox) voidPDFTemplateStructure.setFormatterRectangle(PDRectangle formatterRectangle) Sets formatter rectanglevoidPDFTemplateStructure.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 PDRectangleModifier and TypeMethodDescriptionprivate PDRectangleAppearanceGeneratorHelper.applyPadding(PDRectangle box, float padding) Apply padding to a box.private PDRectangleAppearanceGeneratorHelper.resolveBoundingBox(PDAnnotationWidget fieldWidget, PDAppearanceStream appearanceStream) Resolve the bounding box.Methods in org.apache.pdfbox.pdmodel.interactive.form with parameters of type PDRectangleModifier and TypeMethodDescriptionprivate PDRectangleAppearanceGeneratorHelper.applyPadding(PDRectangle box, float padding) Apply padding to a box.private floatAppearanceGeneratorHelper.calculateFontSize(PDFont font, PDRectangle contentRect) My "not so great" method for calculating the fontsize.private AffineTransformAppearanceGeneratorHelper.calculateMatrix(PDRectangle bbox, int rotation) private voidAppearanceGeneratorHelper.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 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 TypeMethodDescriptionvoidPDViewportDictionary.setBBox(PDRectangle rectangle) This will set the rectangle specifying the location of the viewport. -
Uses of PDRectangle in org.apache.pdfbox.printing
Methods in org.apache.pdfbox.printing that return PDRectangleModifier and TypeMethodDescription(package private) static PDRectanglePDFPrintable.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 PDRectanglePDFPrintable.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 PDRectangleModifier and TypeFieldDescriptionprivate final PDRectanglePageDrawer.TransparencyGroup.bboxprivate PDRectanglePageDrawer.pageSizeMethods in org.apache.pdfbox.rendering that return PDRectangleModifier and TypeMethodDescription(package private) PDRectanglePageDrawer.TransparencyGroup.getBBox()Methods in org.apache.pdfbox.rendering with parameters of type PDRectangleModifier and TypeMethodDescriptionvoidPageDrawer.drawPage(Graphics g, PDRectangle pageSize) Draws the page to the requested context.private voidPDFRenderer.transform(Graphics2D graphics, int rotationAngle, PDRectangle cropBox, float scaleX, float scaleY) -
Uses of PDRectangle in org.apache.pdfbox.text
Fields in org.apache.pdfbox.text declared as PDRectangleFields in org.apache.pdfbox.text with type parameters of type PDRectangle -
Uses of PDRectangle in org.apache.pdfbox.tools
Fields in org.apache.pdfbox.tools declared as PDRectangleModifier and TypeFieldDescriptionprivate PDRectangleImageToPDF.mediaBoxprivate PDRectangleTextToPDF.mediaBoxMethods in org.apache.pdfbox.tools that return PDRectangleModifier and TypeMethodDescriptionprivate static PDRectangleImageToPDF.createRectangle(String paperSize) private static PDRectangleTextToPDF.createRectangle(String paperSize) ImageToPDF.getMediaBox()Sets page size of produced PDF.TextToPDF.getMediaBox()Sets page size of produced PDF.Methods in org.apache.pdfbox.tools with parameters of type PDRectangleModifier and TypeMethodDescriptionvoidImageToPDF.setMediaBox(PDRectangle mediaBox) Sets page size of produced PDF.voidTextToPDF.setMediaBox(PDRectangle mediaBox) Sets page size of produced PDF.