Uses of Class
com.lowagie.text.Rectangle
Packages that use Rectangle
Package
Description
-
Uses of Rectangle in com.lowagie.text
Subclasses of Rectangle in com.lowagie.textModifier and TypeClassDescriptionclass
ACell
is aRectangle
containing otherElement
s.class
AHeaderFooter
-object is aRectangle
with text that can be put above and/or below every page.class
AnImage
is the representation of a graphic element (JPEG, PNG or GIF) that has to be inserted into the documentclass
CCITT Image data that has to be inserted into the documentclass
Support for JBIG2 images.class
Raw Image data that has to be inserted into the documentclass
PdfTemplate that has to be inserted into the documentclass
AnImgWMF
is the representation of a windows metafile that has to be inserted into the documentclass
AnJpeg
is the representation of a graphic element (JPEG) that has to be inserted into the documentclass
AnJpeg2000
is the representation of a graphic element (JPEG) that has to be inserted into the documentclass
ARectangleReadOnly
is the representation of a geometric figure.class
Rectangle that can be used for Cells.class
Rectangle that can be used for Cells.class
ATable
is aRectangle
that containsCell
s, ordered in some kind of matrix.class
Fields in com.lowagie.text declared as RectangleModifier and TypeFieldDescriptionstatic final Rectangle
PageSize._11X17
This is the 11x17 formatstatic final Rectangle
PageSize.A0
This is the a0 formatstatic final Rectangle
PageSize.A1
This is the a1 formatstatic final Rectangle
PageSize.A10
This is the a10 formatstatic final Rectangle
PageSize.A2
This is the a2 formatstatic final Rectangle
PageSize.A3
This is the a3 formatstatic final Rectangle
PageSize.A4
This is the a4 formatstatic final Rectangle
PageSize.A5
This is the a5 formatstatic final Rectangle
PageSize.A6
This is the a6 formatstatic final Rectangle
PageSize.A7
This is the a7 formatstatic final Rectangle
PageSize.A8
This is the a8 formatstatic final Rectangle
PageSize.A9
This is the a9 formatstatic final Rectangle
PageSize.ARCH_A
This is the archA formatstatic final Rectangle
PageSize.ARCH_B
This is the archB formatstatic final Rectangle
PageSize.ARCH_C
This is the archC formatstatic final Rectangle
PageSize.ARCH_D
This is the archD formatstatic final Rectangle
PageSize.ARCH_E
This is the archE formatstatic final Rectangle
PageSize.B0
This is the b0 formatstatic final Rectangle
PageSize.B1
This is the b1 formatstatic final Rectangle
PageSize.B10
This is the b10 formatstatic final Rectangle
PageSize.B2
This is the b2 formatstatic final Rectangle
PageSize.B3
This is the b3 formatstatic final Rectangle
PageSize.B4
This is the b4 formatstatic final Rectangle
PageSize.B5
This is the b5 formatstatic final Rectangle
PageSize.B6
This is the b6 formatstatic final Rectangle
PageSize.B7
This is the b7 formatstatic final Rectangle
PageSize.B8
This is the b8 formatstatic final Rectangle
PageSize.B9
This is the b9 formatstatic final Rectangle
PageSize.CROWN_OCTAVO
This is the Crown Octavo formatstatic final Rectangle
PageSize.CROWN_QUARTO
This is the Crown Quarto formatstatic final Rectangle
PageSize.DEMY_OCTAVO
This is the Demy Octavo formatstatic final Rectangle
PageSize.DEMY_QUARTO
This is the Demy Quarto format.static final Rectangle
PageSize.EXECUTIVE
This is the executive formatstatic final Rectangle
PageSize.FLSA
This is the American Foolscap formatstatic final Rectangle
PageSize.FLSE
This is the European Foolscap formatstatic final Rectangle
PageSize.HALFLETTER
This is the halfletter formatstatic final Rectangle
PageSize.ID_1
This is the ISO 7810 ID-1 format (85.60 x 53.98 mm or 3.370 x 2.125 inch)static final Rectangle
PageSize.ID_2
This is the ISO 7810 ID-2 format (A7 rotated)static final Rectangle
PageSize.ID_3
This is the ISO 7810 ID-3 format (B7 rotated)static final Rectangle
PageSize.LARGE_CROWN_OCTAVO
This is the Large Crown Octavo formatstatic final Rectangle
PageSize.LARGE_CROWN_QUARTO
This is the Large Crown Quarto formatstatic final Rectangle
PageSize.LEDGER
This is the ledger formatstatic final Rectangle
PageSize.LEGAL
This is the legal formatstatic final Rectangle
PageSize.LETTER
This is the letter formatstatic final Rectangle
PageSize.NOTE
This is the note formatprotected Rectangle
Document.pageSize
The size of the page.protected Rectangle
DocWriter.pageSize
The pageSize.static final Rectangle
PageSize.PENGUIN_LARGE_PAPERBACK
This is the Penguin large paperback format.static final Rectangle
PageSize.PENGUIN_SMALL_PAPERBACK
This is the Pengiun small paperback format.static final Rectangle
PageSize.POSTCARD
This is the postcard formatstatic final Rectangle
PageSize.ROYAL_OCTAVO
This is the Royal Octavo format.static final Rectangle
PageSize.ROYAL_QUARTO
This is the Royal Quarto format.static final Rectangle
PageSize.SMALL_PAPERBACK
This is the small paperback format.static final Rectangle
PageSize.TABLOID
This is the tabloid formatMethods in com.lowagie.text that return RectangleModifier and TypeMethodDescriptionDocument.getPageSize()
Gets the pagesize.static Rectangle
PageSize.getRectangle
(String name) This method returns a Rectangle based on a String.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.lowagie.text with parameters of type RectangleModifier and TypeMethodDescriptionvoid
SimpleCell.cellLayout
(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) void
Rectangle.cloneNonPositionParameters
(Rectangle rect) Copies each of the parameters, except the position, from aRectangle
objectvoid
RectangleReadOnly.cloneNonPositionParameters
(Rectangle rect) Copies each of the parameters, except the position, from aRectangle
objectboolean
DocListener.setPageSize
(Rectangle pageSize) Sets the pagesize.boolean
Document.setPageSize
(Rectangle pageSize) Sets the pagesize.boolean
DocWriter.setPageSize
(Rectangle pageSize) Sets the pagesize.void
Rectangle.softCloneNonPositionParameters
(Rectangle rect) Copies each of the parameters, except the position, from aRectangle
object if the value is set therevoid
RectangleReadOnly.softCloneNonPositionParameters
(Rectangle rect) Copies each of the parameters, except the position, from aRectangle
object if the value is set there.Constructors in com.lowagie.text with parameters of type RectangleModifierConstructorDescriptionConstructs a newDocument
-object using the given rectangle as page size and default margin of 36.Document
(Rectangle pageSize, float marginLeft, float marginRight, float marginTop, float marginBottom) Constructs a newDocument
-object.Constructs aRectangle
-object.RectangleReadOnly
(Rectangle rect) Constructs aRectangleReadOnly
-object.TableRectangle
(Rectangle rect) -
Uses of Rectangle in com.lowagie.text.factories
Methods in com.lowagie.text.factories with parameters of type RectangleModifier and TypeMethodDescriptionprivate static void
ElementFactory.setRectangleProperties
(Rectangle rect, Properties attributes) Sets some Rectangle properties (for a Cell, Table,...). -
Uses of Rectangle in com.lowagie.text.html.simpleparser
Methods in com.lowagie.text.html.simpleparser with parameters of type Rectangle -
Uses of Rectangle in com.lowagie.text.pdf
Subclasses of Rectangle in com.lowagie.text.pdfModifier and TypeClassDescriptionclass
APdfCell
is the PDF translation of aCell
.class
A cell in a PdfPTable.class
PdfTable
is an object that contains the graphics and text of a table.Fields in com.lowagie.text.pdf declared as RectangleModifier and TypeFieldDescriptionprotected Rectangle
PdfTemplate.bBox
The bounding box of this templateprotected Rectangle
BaseField.box
protected Rectangle
PdfDocument.nextPageSize
This is the size of the next page.private Rectangle
PdfSignatureAppearance.pageRect
private Rectangle
PdfSignatureAppearance.rect
Methods in com.lowagie.text.pdf that return RectangleModifier and TypeMethodDescriptionabstract Rectangle
Barcode.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.Barcode39.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodeCodabar.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodeEAN.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodeEANSUPP.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodeInter25.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodePostnet.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) Rectangle
PdfDocument.getBoxSize
(String boxName) Gives the size of a trim, art, crop or bleed box, or null if not defined.PdfReader.getBoxSize
(int index, String boxName) Gets the box size.PdfWriter.getBoxSize
(String boxName) Use this method to get the size of a trim, art, crop or bleed box, or null if not defined.PdfReader.getCropBox
(int index) Gets the crop box without taking rotation into account.static Rectangle
PdfReader.getNormalizedRectangle
(PdfArray box) Normalizes aRectangle
so 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.PdfReader.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.PdfReader.getPageSizeWithRotation
(int index, String boxName) Gets the page size, taking rotation into account.PdfReader.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 Rectangle
Barcode.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
.Barcode39.placeBarcode
(PdfContentByte cb, Color barColor, Color textColor) Places the barcode in aPdfContentByte
.BarcodeCodabar.placeBarcode
(PdfContentByte cb, Color barColor, Color textColor) Places the barcode in aPdfContentByte
.BarcodeEAN.placeBarcode
(PdfContentByte cb, Color barColor, Color textColor) Places the barcode in aPdfContentByte
.BarcodeEANSUPP.placeBarcode
(PdfContentByte cb, Color barColor, Color textColor) Places the barcode in aPdfContentByte
.BarcodeInter25.placeBarcode
(PdfContentByte cb, Color barColor, Color textColor) Places the barcode in aPdfContentByte
.BarcodePostnet.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.lowagie.text.pdf with parameters of type RectangleModifier and TypeMethodDescriptionvoid
Adds a blank page.void
PdfPCellEvent.cellLayout
(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) This method is called at the end of the cell rendering.static PdfAnnotation
PdfAnnotation.createFileAttachment
(PdfWriter writer, Rectangle rect, String contents, byte[] fileStore, String file, String fileDisplay) Creates a file attachment annotation.static PdfAnnotation
PdfAnnotation.createFileAttachment
(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs) Creates a file attachment annotationstatic PdfAnnotation
PdfAnnotation.createFreeText
(PdfWriter writer, Rectangle rect, String contents, PdfContentByte defaultAppearance) Add some free text to the document.static PdfAnnotation
static PdfAnnotation
PdfAnnotation.createLine
(PdfWriter writer, Rectangle rect, String contents, float x1, float y1, float x2, float y2) Adds a line to the document.protected static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight) Creates a link.static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest) Creates an Annotation with a PdfDestination.static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action) Creates an Annotation with an Action.static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight, String namedDestination) Creates an Annotation with an local destination.static PdfAnnotation
PdfAnnotation.createMarkup
(PdfWriter writer, Rectangle rect, String contents, int type, float[] quadPoints) static PdfAnnotation
PdfAnnotation.createPopup
(PdfWriter writer, Rectangle rect, String contents, boolean open) Adds a popup to your document.static PdfAnnotation
PdfAnnotation.createScreen
(PdfWriter writer, Rectangle rect, String clipTitle, PdfFileSpecification fs, String mimeType, boolean playOnDisplay) Creates a screen PdfAnnotationstatic PdfAnnotation
PdfAnnotation.createSquareCircle
(PdfWriter writer, Rectangle rect, String contents, boolean square) Adds a circle or a square that shows a tooltip when you pass over it.static PdfAnnotation
PdfAnnotation.createStamp
(PdfWriter writer, Rectangle rect, String contents, String name) Adds a Stamp to your document.static PdfAnnotation
PdfAnnotation.createText
(PdfWriter writer, Rectangle rect, String title, String contents, boolean open, String icon) private static void
BaseField.drawBottomFrame
(PdfAppearance app, float borderWidth, Rectangle box) private static void
BaseField.drawTopFrame
(PdfAppearance app, float borderWidth, Rectangle box) static float
PdfSignatureAppearance.fitText
(Font font, String text, Rectangle rect, float maxFontSize, int runDirection) Fits the text to some rectangle adjusting the font size as needed.static PdfAppearance
RadioCheckField.getAppearance
(boolean on, PdfWriter writer, int checkType, int rotation, int borderStyle, Rectangle box, float borderWidth, float fontSize, String text, Color textColor, Color backgroundColor, Color borderColor, BaseFont ufont) Gets the field appearance.static PdfAppearance
RadioCheckField.getAppearanceRadioCircle
(boolean on, PdfWriter writer, Rectangle box, int rotation, Color backgroundColor, float borderWidth, Color borderColor, Color textColor) Gets the special field appearance for the radio circle.static PdfAppearance
RadioCheckField.getAppearanceRadioCross
(boolean on, PdfWriter writer, Rectangle box, int rotation, Color backgroundColor, float borderWidth, Color borderColor, Color textColor) Gets the special field appearance for the radio circle.protected static PdfAppearance
BaseField.getBorderAppearance
(PdfWriter writer, Rectangle box, int rotation, Color backgroundColor, int borderStyle, float borderWidth, Color borderColor, int options, int maxCharacterLength) void
PdfStamper.insertPage
(int pageNumber, Rectangle mediabox) Inserts a blank page.(package private) void
PdfStamperImp.insertPage
(int pageNumber, Rectangle mediabox) void
PdfPageEvent.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
PdfPageEventHelper.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
Adds a border (complete or partially) to the current path..void
PdfTemplate.setBoundingBox
(Rectangle bBox) void
Sets the field dimension and position.(package private) void
PdfDocument.setBoxSize
(String boxName, Rectangle size) void
PdfWriter.setBoxSize
(String boxName, Rectangle size) Use this method to set the page box sizes.(package private) void
PdfDocument.setCropBoxSize
(Rectangle crop) void
PdfWriter.setCropBoxSize
(Rectangle crop) Use this method to set the crop box.boolean
PdfDocument.setPageSize
(Rectangle pageSize) Sets the pagesize.void
BaseField.setRotationFromPage
(Rectangle page) Convenience method to set the field rotation the same as the page rotation.void
PdfSignatureAppearance.setVisibleSignature
(Rectangle pageRect, int page) void
PdfSignatureAppearance.setVisibleSignature
(Rectangle pageRect, int page, String fieldName) Sets the signature to be visible.void
void
PdfPTable.setWidthPercentage
(float[] columnWidth, Rectangle pageSize) Sets the percentage width of the table from the absolute column width.void
PdfContentByte.variableRectangle
(Rectangle rect) Adds a variable width border to the current path.Constructors in com.lowagie.text.pdf with parameters of type RectangleModifierConstructorDescriptionCreates a newTextField
.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.PdfRectangle
(Rectangle rectangle) PdfRectangle
(Rectangle rectangle, int rotation) Constructs aPdfRectangle
-object with aRectangle
-object.PushbuttonField
(PdfWriter writer, Rectangle box, String fieldName) Creates a new instance of PushbuttonFieldRadioCheckField
(PdfWriter writer, Rectangle box, String fieldName, String onValue) Creates a new instance of RadioCheckFieldCreates a newTextField
. -
Uses of Rectangle in com.lowagie.text.pdf.events
Methods in com.lowagie.text.pdf.events with parameters of type RectangleModifier and TypeMethodDescriptionvoid
FieldPositioningEvents.cellLayout
(PdfPCell cell, Rectangle rect, PdfContentByte[] canvases) void
PdfPCellEventForwarder.cellLayout
(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) void
FieldPositioningEvents.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) void
IndexEvents.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) All the text that is passed to this event, gets registered in the indexentry.void
PdfPageEventForwarder.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written. -
Uses of Rectangle in com.lowagie.text.pdf.internal
Methods in com.lowagie.text.pdf.internal with parameters of type RectangleModifier and TypeMethodDescriptionstatic PdfAnnotation
PdfAnnotationsImp.convertAnnotation
(PdfWriter writer, Annotation annot, Rectangle defaultRect) PdfAnnotationsImp.rotateAnnotations
(PdfWriter writer, Rectangle pageSize) -
Uses of Rectangle in com.lowagie.toolbox.plugins
Fields in com.lowagie.toolbox.plugins declared as RectangleConstructors in com.lowagie.toolbox.plugins with parameters of type Rectangle