Uses of Class
org.sejda.sambox.pdmodel.common.PDRectangle
Packages that use PDRectangle
Package
Description
The tagged PDF package provides a mechanism for incorporating "tags" (standard
structure types and attributes) into a PDF file.
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.sejda.sambox.contentstream
Methods in org.sejda.sambox.contentstream that return PDRectangleModifier and TypeMethodDescriptionPDContentStream.getBBox()Returns the bounding box of the contents. -
Uses of PDRectangle in org.sejda.sambox.pdmodel
Methods in org.sejda.sambox.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.getArtBoxRaw()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.getBleedBoxRaw()PDPage.getCropBox()A rectangle, expressed in default user space units, defining the visible region of default user space.PDPage.getCropBoxRaw()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.getMediaBoxRaw()PDPage.getTrimBox()A rectangle, expressed in default user space units, defining the intended dimensions of the finished page after trimming.PDPage.getTrimBoxRaw()Methods in org.sejda.sambox.pdmodel with parameters of type PDRectangleModifier and TypeMethodDescriptionvoidPDPage.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.sejda.sambox.pdmodel with parameters of type PDRectangleModifierConstructorDescriptionPDPage(PDRectangle mediaBox) Creates a new instance of PDPage for embedding. -
Uses of PDRectangle in org.sejda.sambox.pdmodel.common
Fields in org.sejda.sambox.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.sejda.sambox.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.static PDRectanglePDRectangle.rectangleFrom(COSArray array) PDRectangle.rotate()PDRectangle.rotate(int degrees) -
Uses of PDRectangle in org.sejda.sambox.pdmodel.documentinterchange.taggedpdf
Methods in org.sejda.sambox.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.sejda.sambox.pdmodel.documentinterchange.taggedpdf with parameters of type PDRectangleModifier and TypeMethodDescriptionvoidPDLayoutAttributeObject.setBBox(PDRectangle bbox) Sets the bounding box. -
Uses of PDRectangle in org.sejda.sambox.pdmodel.font
Methods in org.sejda.sambox.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.sejda.sambox.pdmodel.font with parameters of type PDRectangleModifier and TypeMethodDescriptionvoidPDFontDescriptor.setFontBoundingBox(PDRectangle rect) Set the fonts bounding box. -
Uses of PDRectangle in org.sejda.sambox.pdmodel.graphics.form
Methods in org.sejda.sambox.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.sejda.sambox.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.sejda.sambox.pdmodel.graphics.pattern
Methods in org.sejda.sambox.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.sejda.sambox.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.sejda.sambox.pdmodel.graphics.shading
Methods in org.sejda.sambox.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.sejda.sambox.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.sejda.sambox.pdmodel.graphics.state
Constructors in org.sejda.sambox.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.sejda.sambox.pdmodel.interactive.annotation
Methods in org.sejda.sambox.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.sejda.sambox.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.sejda.sambox.pdmodel.interactive.measurement
Methods in org.sejda.sambox.pdmodel.interactive.measurement that return PDRectangleModifier and TypeMethodDescriptionPDViewportDictionary.getBBox()This will retrieve the rectangle specifying the location of the viewport.Methods in org.sejda.sambox.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.sejda.sambox.rendering
Methods in org.sejda.sambox.rendering with parameters of type PDRectangleModifier and TypeMethodDescriptionvoidPageDrawer.drawPage(Graphics g, PDRectangle pageSize) Draws the page to the requested context.