Uses of Class
com.itextpdf.text.Rectangle
-
Packages that use Rectangle Package Description com.itextpdf.text com.itextpdf.text.html.simpleparser com.itextpdf.text.pdf com.itextpdf.text.pdf.events com.itextpdf.text.pdf.internal -
-
Uses of Rectangle in com.itextpdf.text
Subclasses of Rectangle in com.itextpdf.text Modifier and Type Class Description classCellACellis aRectanglecontaining otherElements.classHeaderFooterAHeaderFooter-object is aRectanglewith text that can be put above and/or below every page.classImageAnImageis the representation of a graphic element (JPEG, PNG or GIF) that has to be inserted into the documentclassImgCCITTCCITT Image data that has to be inserted into the documentclassImgJBIG2Support for JBIG2 images.classImgRawRaw Image data that has to be inserted into the documentclassImgTemplatePdfTemplate that has to be inserted into the documentclassImgWMFAnImgWMFis the representation of a windows metafile that has to be inserted into the documentclassJpegAnJpegis the representation of a graphic element (JPEG) that has to be inserted into the documentclassJpeg2000AnJpeg2000is the representation of a graphic element (JPEG) that has to be inserted into the documentclassRectangleReadOnlyARectangleReadOnlyis the representation of a geometric figure.classSimpleCellRectangle that can be used for Cells.classSimpleTableRectangle that can be used for Cells.classTableATableis aRectanglethat containsCells, ordered in some kind of matrix.Fields in com.itextpdf.text declared as Rectangle Modifier and Type Field Description static RectanglePageSize. _11X17This is the 11x17 formatstatic RectanglePageSize. A0This is the a0 formatstatic RectanglePageSize. A1This is the a1 formatstatic RectanglePageSize. A10This is the a10 formatstatic RectanglePageSize. A2This is the a2 formatstatic RectanglePageSize. A3This is the a3 formatstatic RectanglePageSize. A4This is the a4 formatstatic RectanglePageSize. A5This is the a5 formatstatic RectanglePageSize. A6This is the a6 formatstatic RectanglePageSize. A7This is the a7 formatstatic RectanglePageSize. A8This is the a8 formatstatic RectanglePageSize. A9This is the a9 formatstatic RectanglePageSize. ARCH_AThis is the archA formatstatic RectanglePageSize. ARCH_BThis is the archB formatstatic RectanglePageSize. ARCH_CThis is the archC formatstatic RectanglePageSize. ARCH_DThis is the archD formatstatic RectanglePageSize. ARCH_EThis is the archE formatstatic RectanglePageSize. B0This is the b0 formatstatic RectanglePageSize. B1This is the b1 formatstatic RectanglePageSize. B10This is the b10 formatstatic RectanglePageSize. B2This is the b2 formatstatic RectanglePageSize. B3This is the b3 formatstatic RectanglePageSize. B4This is the b4 formatstatic RectanglePageSize. B5This is the b5 formatstatic RectanglePageSize. B6This is the b6 formatstatic RectanglePageSize. B7This is the b7 formatstatic RectanglePageSize. B8This is the b8 formatstatic RectanglePageSize. B9This is the b9 formatstatic RectanglePageSize. CROWN_OCTAVOThis is the Crown Octavo formatstatic RectanglePageSize. CROWN_QUARTOThis is the Crown Quarto formatstatic RectanglePageSize. DEMY_OCTAVOThis is the Demy Octavo formatstatic RectanglePageSize. DEMY_QUARTOThis is the Demy Quarto format.static RectanglePageSize. EXECUTIVEThis is the executive formatstatic RectanglePageSize. FLSAThis is the American Foolscap formatstatic RectanglePageSize. FLSEThis is the European Foolscap formatstatic RectanglePageSize. HALFLETTERThis is the halfletter formatstatic RectanglePageSize. ID_1This is the ISO 7810 ID-1 format (85.60 x 53.98 mm or 3.370 x 2.125 inch)static RectanglePageSize. ID_2This is the ISO 7810 ID-2 format (A7 rotated)static RectanglePageSize. ID_3This is the ISO 7810 ID-3 format (B7 rotated)static RectanglePageSize. LARGE_CROWN_OCTAVOThis is the Large Crown Octavo formatstatic RectanglePageSize. LARGE_CROWN_QUARTOThis is the Large Crown Quarto formatstatic RectanglePageSize. LEDGERThis is the ledger formatstatic RectanglePageSize. LEGALThis is the legal formatstatic RectanglePageSize. LETTERThis is the letter formatstatic RectanglePageSize. NOTEThis is the note formatprotected RectangleDocument. pageSizeThe size of the page.protected RectangleDocWriter. pageSizeThe pageSize.static RectanglePageSize. PENGUIN_LARGE_PAPERBACKThis is the Penguin large paperback format.static RectanglePageSize. PENGUIN_SMALL_PAPERBACKThis is the Pengiun small paperback format.static RectanglePageSize. POSTCARDThis is the postcard formatstatic RectanglePageSize. ROYAL_OCTAVOThis is the Royal Octavo format.static RectanglePageSize. ROYAL_QUARTOThis is the Royal Quarto format.static RectanglePageSize. SMALL_PAPERBACKThis is the small paperback format.static RectanglePageSize. TABLOIDThis is the tabloid formatMethods in com.itextpdf.text that return Rectangle Modifier and Type Method Description RectangleDocument. getPageSize()Gets the pagesize.static RectanglePageSize. getRectangle(java.lang.String name)This method returns a Rectangle based on a String.RectangleRectangle. rectangle(float top, float bottom)Gets a Rectangle that is altered to fit on the page.RectangleRectangle. rotate()Rotates the rectangle.Methods in com.itextpdf.text with parameters of type Rectangle Modifier and Type Method Description voidSimpleCell. 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.itextpdf.text with parameters of type Rectangle Constructor Description Document(Rectangle pageSize)Constructs a newDocument-object.Document(Rectangle pageSize, float marginLeft, float marginRight, float marginTop, float marginBottom)Constructs a newDocument-object.Rectangle(Rectangle rect)Constructs aRectangle-object.RectangleReadOnly(Rectangle rect)Constructs aRectangleReadOnly-object. -
Uses of Rectangle in com.itextpdf.text.html.simpleparser
Methods in com.itextpdf.text.html.simpleparser with parameters of type Rectangle Modifier and Type Method Description booleanHTMLWorker. setPageSize(Rectangle pageSize) -
Uses of Rectangle in com.itextpdf.text.pdf
Subclasses of Rectangle in com.itextpdf.text.pdf Modifier and Type Class Description classPdfCellAPdfCellis the PDF translation of aCell.classPdfPCellA cell in a PdfPTable.classPdfTablePdfTableis an object that contains the graphics and text of a table.Fields in com.itextpdf.text.pdf declared as Rectangle Modifier and Type Field Description protected RectanglePdfTemplate. bBoxThe bounding box of this templateprotected RectangleBaseField. boxprotected RectanglePdfDocument. nextPageSizeThis is the size of the next page.Methods in com.itextpdf.text.pdf that return Rectangle Modifier and Type Method Description abstract RectangleBarcode. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcode128. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcode39. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeCodabar. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeEAN. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeEANSUPP. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeInter25. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodePostnet. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectanglePdfTemplate. getBoundingBox()RectangleBaseField. getBox()Gets the field dimension and position.RectanglePdfReader. getBoxSize(int index, java.lang.String boxName)Gets the box size.RectanglePdfWriter. getBoxSize(java.lang.String boxName)Use this method to get the size of a trim, art, crop or bleed box, or null if not defined.RectanglePdfReader. getCropBox(int index)Gets the crop box without taking rotation into account.static RectanglePdfReader. getNormalizedRectangle(PdfArray box)Normalizes aRectangleso that llx and lly are smaller than urx and ury.RectanglePdfSignatureAppearance. getPageRect()Gets the rectangle that represent the position and dimension of the signature in the page.RectanglePdfReader. getPageSize(int index)Gets the page size without taking rotation into account.RectanglePdfReader. getPageSize(PdfDictionary page)Gets the page from a page dictionaryRectanglePdfWriter. getPageSize()Use this method to get the size of the media box.RectanglePdfReader. getPageSizeWithRotation(int index)Gets the page size, taking rotation into account.RectanglePdfReader. getPageSizeWithRotation(PdfDictionary page)Gets the rotated page from a page dictionary.RectanglePdfSignatureAppearance. getRect()Gets the rectangle representing the signature dimensions.RectanglePdfRectangle. getRectangle()Returns the high level version of this PdfRectangleabstract RectangleBarcode. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectangleBarcode128. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectangleBarcode39. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectangleBarcodeCodabar. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectangleBarcodeEAN. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectangleBarcodeEANSUPP. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectangleBarcodeInter25. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectangleBarcodePostnet. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)Places the barcode in aPdfContentByte.RectanglePdfCell. rectangle(float top, float bottom)Gets a Rectangle that is altered to fit on the page.Methods in com.itextpdf.text.pdf with parameters of type Rectangle Modifier and Type Method Description voidPdfCopy. addPage(Rectangle rect, int rotation)Adds a blank page.voidPdfPCellEvent. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)This method is called at the end of the cell rendering.static PdfAnnotationPdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, byte[] fileStore, java.lang.String file, java.lang.String fileDisplay)Creates a file attachment annotation.static PdfAnnotationPdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfFileSpecification fs)Creates a file attachment annotationstatic PdfAnnotationPdfAnnotation. createFreeText(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfContentByte defaultAppearance)Add some free text to the document.static PdfAnnotationPdfAnnotation. createInk(PdfWriter writer, Rectangle rect, java.lang.String contents, float[][] inkList)static PdfAnnotationPdfAnnotation. createLine(PdfWriter writer, Rectangle rect, java.lang.String contents, float x1, float y1, float x2, float y2)Adds a line to the document.protected static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight)Creates a link.static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest)Creates an Annotation with a PdfDestination.static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action)Creates an Annotation with an Action.static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, java.lang.String namedDestination)Creates an Annotation with an local destination.static PdfAnnotationPdfAnnotation. createMarkup(PdfWriter writer, Rectangle rect, java.lang.String contents, int type, float[] quadPoints)static PdfAnnotationPdfAnnotation. createPopup(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean open)Adds a popup to your document.static PdfAnnotationPdfAnnotation. createScreen(PdfWriter writer, Rectangle rect, java.lang.String clipTitle, PdfFileSpecification fs, java.lang.String mimeType, boolean playOnDisplay)Creates a screen PdfAnnotationstatic PdfAnnotationPdfAnnotation. createSquareCircle(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean square)Adds a circle or a square that shows a tooltip when you pass over it.static PdfAnnotationPdfAnnotation. createStamp(PdfWriter writer, Rectangle rect, java.lang.String contents, java.lang.String name)Adds a Stamp to your document.static PdfAnnotationPdfAnnotation. createText(PdfWriter writer, Rectangle rect, java.lang.String title, java.lang.String contents, boolean open, java.lang.String icon)static floatPdfSignatureAppearance. fitText(Font font, java.lang.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.voidPdfPageEvent. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfPageEventHelper. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfContentByte. rectangle(Rectangle rectangle)Adds a border (complete or partially) to the current path..voidPdfTemplate. setBoundingBox(Rectangle bBox)voidBaseField. setBox(Rectangle box)Sets the field dimension and position.voidPdfWriter. setBoxSize(java.lang.String boxName, Rectangle size)Use this method to set the page box sizes.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, java.lang.String fieldName)Sets the signature to be visible.voidPdfFormField. setWidget(Rectangle rect, PdfName highlight)voidPdfPTable. setWidthPercentage(float[] columnWidth, Rectangle pageSize)Sets the percentage width of the table from the absolute column width.voidPdfContentByte. variableRectangle(Rectangle rect)Adds a variable width border to the current path.Constructors in com.itextpdf.text.pdf with parameters of type Rectangle Constructor Description BaseField(PdfWriter writer, Rectangle box, java.lang.String fieldName)Creates a newTextField.PdfAnnotation(PdfWriter writer, Rectangle rect)PdfRectangle(Rectangle rectangle)PdfRectangle(Rectangle rectangle, int rotation)Constructs aPdfRectangle-object with aRectangle-object.PushbuttonField(PdfWriter writer, Rectangle box, java.lang.String fieldName)Creates a new instance of PushbuttonFieldRadioCheckField(PdfWriter writer, Rectangle box, java.lang.String fieldName, java.lang.String onValue)Creates a new instance of RadioCheckFieldTextField(PdfWriter writer, Rectangle box, java.lang.String fieldName)Creates a newTextField. -
Uses of Rectangle in com.itextpdf.text.pdf.events
Methods in com.itextpdf.text.pdf.events with parameters of type Rectangle Modifier and Type Method Description voidFieldPositioningEvents. cellLayout(PdfPCell cell, Rectangle rect, PdfContentByte[] canvases)voidPdfPCellEventForwarder. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)voidFieldPositioningEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)voidIndexEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)All the text that is passed to this event, gets registered in the indexentry.voidPdfPageEventForwarder. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written. -
Uses of Rectangle in com.itextpdf.text.pdf.internal
Methods in com.itextpdf.text.pdf.internal with parameters of type Rectangle Modifier and Type Method Description static PdfAnnotationPdfAnnotationsImp. convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect)PdfArrayPdfAnnotationsImp. rotateAnnotations(PdfWriter writer, Rectangle pageSize)
-