Uses of Class
com.itextpdf.text.Rectangle
-
Packages that use Rectangle Package Description com.itextpdf.awt.geom com.itextpdf.testutils com.itextpdf.text com.itextpdf.text.html.simpleparser com.itextpdf.text.pdf com.itextpdf.text.pdf.events com.itextpdf.text.pdf.internal com.itextpdf.text.pdf.parser com.itextpdf.tool.xml.css.apply Contains classes that can apply css rules on certainElements.com.itextpdf.tool.xml.html.pdfelement Elements created for specific use when processing HTML.com.itextpdf.tool.xml.html.table TagProcessor implementations fortabletags.com.itextpdf.tool.xml.pipeline.html Contains pipeline stuff for HTML -
-
Uses of Rectangle in com.itextpdf.awt.geom
Constructors in com.itextpdf.awt.geom with parameters of type Rectangle Constructor Description Rectangle(Rectangle r) -
Uses of Rectangle in com.itextpdf.testutils
Method parameters in com.itextpdf.testutils with type arguments of type Rectangle Modifier and Type Method Description java.lang.StringCompareTool. compare(java.lang.String outPdf, java.lang.String cmpPdf, java.lang.String outPath, java.lang.String differenceImagePrefix, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas)java.lang.StringCompareTool. compareByContent(java.lang.String outPdf, java.lang.String cmpPdf, java.lang.String outPath, java.lang.String differenceImagePrefix, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas)protected java.lang.StringCompareTool. compareByContent(java.lang.String outPath, java.lang.String differenceImagePrefix, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas) -
Uses of Rectangle in com.itextpdf.text
Subclasses of Rectangle in com.itextpdf.text Modifier and Type Class Description 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.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. A4_LANDSCAPEDeprecated.static 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. LEGAL_LANDSCAPEDeprecated.static RectanglePageSize. LETTERThis is the letter formatstatic RectanglePageSize. LETTER_LANDSCAPEDeprecated.static 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 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 aRectangleobjectvoidImage. scaleAbsolute(Rectangle rectangle)Scale the image to the dimensions of the rectanglevoidImage. scaleToFit(Rectangle rectangle)Scales the images to the dimensions of the rectangle.booleanDocListener. 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)Deprecated. -
Uses of Rectangle in com.itextpdf.text.pdf
Subclasses of Rectangle in com.itextpdf.text.pdf Modifier and Type Class Description classPdfBodyclassPdfPCellA cell in a PdfPTable.classPdfPHeaderCellCreated by IntelliJ IDEA.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.RectangleAcroFields.FieldPosition. positionMethods 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.RectangleBarcodePDF417. getBarcodeSize()Gets the size of the barcode grid.RectangleBarcodePostnet. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeQRCode. getBarcodeSize()Gets the size of the barcode grid.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.RectanglePdfWriter. getBoxSize(java.lang.String boxName, Rectangle intersectingRectangle)Returns the intersection between the crop, trim art or bleed box and the parameter intersectingRectangle.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, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcode128. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcode39. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodeCodabar. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodeEAN. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodeEANSUPP. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodeInter25. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodePostnet. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.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.PdfAnnotationPdfAStamperImp. createAnnotation(Rectangle rect, PdfName subtype)PdfAnnotationPdfAWriter. createAnnotation(Rectangle rect, PdfName subtype)PdfAnnotationPdfWriter. createAnnotation(Rectangle rect, PdfName subtype)A wrapper around PdfAnnotation constructor.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. createPolygonPolyline(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean polygon, PdfArray vertices)Creates a polygon or -line annotationstatic 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 floatColumnText. 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.RectanglePdfWriter. getBoxSize(java.lang.String boxName, Rectangle intersectingRectangle)Returns the intersection between the crop, trim art or bleed box and the parameter intersectingRectangle.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.voidColumnText. setSimpleColumn(Rectangle rect)Simplified method for rectangular columns.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)PdfARadioCheckField(PdfWriter writer, Rectangle box, java.lang.String fieldName, java.lang.String onValue)PdfBody(Rectangle rectangle)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) -
Uses of Rectangle in com.itextpdf.text.pdf.parser
Constructors in com.itextpdf.text.pdf.parser with parameters of type Rectangle Constructor Description RegionTextRenderFilter(Rectangle filterRect)Constructs a filter -
Uses of Rectangle in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply that return Rectangle Modifier and Type Method Description RectanglePageSizeContainable. getPageSize()returns the Rectangle that indicates a pagesize. -
Uses of Rectangle in com.itextpdf.tool.xml.html.pdfelement
Subclasses of Rectangle in com.itextpdf.tool.xml.html.pdfelement Modifier and Type Class Description classHtmlCellHtmlCell is created to provide more parameters to better mimic the behavior of table cell in HTML. -
Uses of Rectangle in com.itextpdf.tool.xml.html.table
Methods in com.itextpdf.tool.xml.html.table with parameters of type Rectangle Modifier and Type Method Description voidCellSpacingEvent. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) -
Uses of Rectangle in com.itextpdf.tool.xml.pipeline.html
Methods in com.itextpdf.tool.xml.pipeline.html that return Rectangle Modifier and Type Method Description RectangleHtmlPipelineContext. getPageSize()Returns aRectangleMethods in com.itextpdf.tool.xml.pipeline.html with parameters of type Rectangle Modifier and Type Method Description HtmlPipelineContextHtmlPipelineContext. setPageSize(Rectangle pageSize)If no pageSize is set, the default value A4 is used.Constructors in com.itextpdf.tool.xml.pipeline.html with parameters of type Rectangle Constructor Description AutoDocPipeline(FileMaker fm, java.lang.String tag, java.lang.String opentag, Rectangle pagesize)Constructor
-