Uses of Class
com.aowagie.text.Rectangle
Packages that use Rectangle
Package
Description
-
Uses of Rectangle in com.aowagie.text
Subclasses of Rectangle in com.aowagie.textModifier and TypeClassDescriptionclassACellis aRectanglecontaining otherElements.classAHeaderFooter-object is aRectanglewith text that can be put above and/or below every page.classAnImageis the representation of a graphic element (JPEG, PNG or GIF) that has to be inserted into the documentclassCCITT Image data that has to be inserted into the documentclassSupport for JBIG2 images.classRaw Image data that has to be inserted into the documentclassPdfTemplate that has to be inserted into the documentclassAnImgWMFis the representation of a windows metafile that has to be inserted into the documentclassAnJpegis the representation of a graphic element (JPEG) that has to be inserted into the documentclassAnJpeg2000is the representation of a graphic element (JPEG) that has to be inserted into the document(package private) classARectangleReadOnlyis the representation of a geometric figure.(package private) classRectangle that can be used for Cells.classRectangle that can be used for Cells.classATableis aRectanglethat containsCells, ordered in some kind of matrix.Fields in com.aowagie.text declared as RectangleModifier and TypeFieldDescriptionstatic final RectanglePageSize.A4This is the a4 formatstatic final RectanglePageSize.LETTERThis is the letter formatprotected RectangleDocument.pageSizeThe size of the page.Methods in com.aowagie.text that return RectangleModifier and TypeMethodDescriptionDocument.getPageSize()Gets the pagesize.Rectangle.rectangle(float top, float bottom) Gets a Rectangle that is altered to fit on the page.Rectangle.rotate()Rotates the rectangle.Methods in com.aowagie.text with parameters of type RectangleModifier and TypeMethodDescriptionvoidSimpleCell.cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) voidRectangle.cloneNonPositionParameters(Rectangle rect) Copies each of the parameters, except the position, from aRectangleobjectvoidRectangleReadOnly.cloneNonPositionParameters(Rectangle rect) Copies each of the parameters, except the position, from aRectangleobjectbooleanDocListener.setPageSize(Rectangle pageSize) Sets the pagesize.booleanDocument.setPageSize(Rectangle pageSize) Sets the pagesize.booleanDocWriter.setPageSize(Rectangle pageSize) Sets the pagesize.voidRectangle.softCloneNonPositionParameters(Rectangle rect) Copies each of the parameters, except the position, from aRectangleobject if the value is set therevoidRectangleReadOnly.softCloneNonPositionParameters(Rectangle rect) Copies each of the parameters, except the position, from aRectangleobject if the value is set there.Constructors in com.aowagie.text with parameters of type Rectangle -
Uses of Rectangle in com.aowagie.text.factories
Methods in com.aowagie.text.factories with parameters of type RectangleModifier and TypeMethodDescriptionprivate static voidElementFactory.setRectangleProperties(Rectangle rect, Properties attributes) Sets some Rectangle properties (for a Cell, Table,...). -
Uses of Rectangle in com.aowagie.text.pdf
Subclasses of Rectangle in com.aowagie.text.pdfModifier and TypeClassDescription(package private) classAPdfCellis the PDF translation of aCell.classA cell in a PdfPTable.(package private) classPdfTableis an object that contains the graphics and text of a table.Fields in com.aowagie.text.pdf declared as RectangleModifier and TypeFieldDescriptionprotected RectanglePdfTemplate.bBoxThe bounding box of this templateprotected RectangleBaseField.boxprivate RectanglePdfDocument.nextPageSizeThis is the size of the next page.private RectanglePdfSignatureAppearance.pageRectprivate RectanglePdfSignatureAppearance.rectMethods in com.aowagie.text.pdf that return RectangleModifier and TypeMethodDescriptionabstract RectangleBarcode.getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.Barcode128.getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.PdfTemplate.getBoundingBox()BaseField.getBox()Gets the field dimension and position.(package private) RectanglePdfDocument.getBoxSize(String boxName) Gives the size of a trim, art, crop or bleed box, or null if not defined.(package private) RectanglePdfReader.getBoxSize(int index, String boxName) Gets the box size.(package private) static RectanglePdfReader.getNormalizedRectangle(PdfArray box) Normalizes aRectangleso that llx and lly are smaller than urx and ury.PdfSignatureAppearance.getPageRect()Gets the rectangle that represent the position and dimension of the signature in the page.PdfReader.getPageSize(int index) Gets the page size without taking rotation into account.private RectanglePdfReader.getPageSize(PdfDictionary page) Gets the page from a page dictionaryPdfWriter.getPageSize()Use this method to get the size of the media box.PdfReader.getPageSizeWithRotation(int index) Gets the page size, taking rotation into account.(package private) RectanglePdfReader.getPageSizeWithRotation(PdfDictionary page) Gets the rotated page from a page dictionary.PdfSignatureAppearance.getRect()Gets the rectangle representing the signature dimensions.PdfRectangle.getRectangle()Returns the high level version of this PdfRectangleabstract RectangleBarcode.placeBarcode(PdfContentByte cb, Color barColor, Color textColor) Places the barcode in aPdfContentByte.Barcode128.placeBarcode(PdfContentByte cb, Color barColor, Color textColor) Places the barcode in aPdfContentByte.PdfCell.rectangle(float top, float bottom) Gets a Rectangle that is altered to fit on the page.Methods in com.aowagie.text.pdf with parameters of type RectangleModifier and TypeMethodDescriptionvoidPdfPCellEvent.cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) This method is called at the end of the cell rendering.private static PdfAnnotationPdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs) Creates a file attachment annotationprivate static PdfAnnotationPdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight) Creates a link.static PdfAnnotationPdfAnnotation.createScreen(PdfWriter writer, Rectangle rect, String clipTitle, PdfFileSpecification fs, String mimeType, boolean playOnDisplay) Creates a screen PdfAnnotationprivate static floatPdfSignatureAppearance.fitText(Font font, String text, Rectangle rect, float maxFontSize, int runDirection) Fits the text to some rectangle adjusting the font size as needed.voidPdfStamper.insertPage(int pageNumber, Rectangle mediabox) Inserts a blank page.(package private) voidPdfStamperImp.insertPage(int pageNumber, Rectangle mediabox) voidPdfPageEvent.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunkwith a generic tag is written.voidPdfPageEventHelper.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunkwith a generic tag is written.voidAdds a border (complete or partially) to the current path..voidPdfTemplate.setBoundingBox(Rectangle bBox) voidSets the field dimension and position.private voidPdfDocument.setBoxSize(String boxName, Rectangle size) (package private) voidPdfDocument.setCropBoxSize(Rectangle crop) voidPdfWriter.setCropBoxSize(Rectangle crop) Use this method to set the crop box.booleanPdfDocument.setPageSize(Rectangle pageSize) Sets the pagesize.voidBaseField.setRotationFromPage(Rectangle page) Convenience method to set the field rotation the same as the page rotation.voidPdfSignatureAppearance.setVisibleSignature(Rectangle pageRect, int page, String fieldName) Sets the signature to be visible.voidvoidPdfPTable.setWidthPercentage(float[] columnWidth, Rectangle pageSize) Sets the percentage width of the table from the absolute column width.private voidPdfContentByte.variableRectangle(Rectangle rect) Adds a variable width border to the current path.Constructors in com.aowagie.text.pdf with parameters of type RectangleModifierConstructorDescriptionCreates a newTextField.(package private)PdfAnnotation(PdfWriter writer, Rectangle rect) (package private)PdfContents(PdfContentByte under, PdfContentByte content, PdfContentByte text, PdfContentByte secondContent, Rectangle page) Constructs aPdfContents-object, containing text and general graphics.(package private)PdfRectangle(Rectangle rectangle) (package private)PdfRectangle(Rectangle rectangle, int rotation) Constructs aPdfRectangle-object with aRectangle-object.(package private)PushbuttonField(PdfWriter writer, Rectangle box, String fieldName) Creates a new instance of PushbuttonFieldCreates a newTextField. -
Uses of Rectangle in com.aowagie.text.pdf.events
Methods in com.aowagie.text.pdf.events with parameters of type RectangleModifier and TypeMethodDescriptionvoidPdfPCellEventForwarder.cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) voidPdfPageEventForwarder.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunkwith a generic tag is written. -
Uses of Rectangle in com.aowagie.text.pdf.internal
Methods in com.aowagie.text.pdf.internal with parameters of type RectangleModifier and TypeMethodDescriptionstatic PdfAnnotationPdfAnnotationsImp.convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) PdfAnnotationsImp.rotateAnnotations(PdfWriter writer, Rectangle pageSize)