Uses of Class
com.aowagie.text.Rectangle
-
Packages that use Rectangle Package Description com.aowagie.text com.aowagie.text.factories com.aowagie.text.pdf com.aowagie.text.pdf.events com.aowagie.text.pdf.internal -
-
Uses of Rectangle in com.aowagie.text
Subclasses of Rectangle in com.aowagie.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 document(package private) classRectangleReadOnlyARectangleReadOnlyis the representation of a geometric figure.(package private) 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.aowagie.text declared as Rectangle Modifier and Type Field Description static RectanglePageSize. A4This is the a4 formatstatic RectanglePageSize. LETTERThis is the letter formatprotected RectangleDocument. pageSizeThe size of the page.Methods in com.aowagie.text that return Rectangle Modifier and Type Method Description RectangleDocument. getPageSize()Gets the pagesize.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.aowagie.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.aowagie.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. -
Uses of Rectangle in com.aowagie.text.factories
Methods in com.aowagie.text.factories with parameters of type Rectangle Modifier and Type Method Description private static voidElementFactory. setRectangleProperties(Rectangle rect, java.util.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.pdf Modifier and Type Class Description (package private) classPdfCellAPdfCellis the PDF translation of aCell.classPdfPCellA cell in a PdfPTable.(package private) classPdfTablePdfTableis an object that contains the graphics and text of a table.Fields in com.aowagie.text.pdf declared as Rectangle Modifier and Type Field Description protected 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 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.RectanglePdfTemplate. getBoundingBox()RectangleBaseField. getBox()Gets the field dimension and position.(package private) RectanglePdfDocument. getBoxSize(java.lang.String boxName)Gives the size of a trim, art, crop or bleed box, or null if not defined.(package private) RectanglePdfReader. getBoxSize(int index, java.lang.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.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.private 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.(package private) 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.RectanglePdfCell. 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 Rectangle Modifier and Type Method Description voidPdfPCellEvent. 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, java.lang.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, java.lang.String clipTitle, PdfFileSpecification fs, java.lang.String mimeType, boolean playOnDisplay)Creates a screen PdfAnnotationprivate 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.(package private) voidPdfStamperImp. insertPage(int pageNumber, Rectangle mediabox)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.private voidPdfDocument. setBoxSize(java.lang.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, 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.private voidPdfContentByte. variableRectangle(Rectangle rect)Adds a variable width border to the current path.Constructors in com.aowagie.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)PdfContents(PdfContentByte under, PdfContentByte content, PdfContentByte text, PdfContentByte secondContent, Rectangle page)Constructs aPdfContents-object, containing text and general graphics.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 PushbuttonFieldTextField(PdfWriter writer, Rectangle box, java.lang.String fieldName)Creates a newTextField. -
Uses of Rectangle in com.aowagie.text.pdf.events
Methods in com.aowagie.text.pdf.events with parameters of type Rectangle Modifier and Type Method Description voidPdfPCellEventForwarder. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)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.aowagie.text.pdf.internal
Methods in com.aowagie.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)
-