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 class
Cell
ACell
is aRectangle
containing otherElement
s.class
HeaderFooter
AHeaderFooter
-object is aRectangle
with text that can be put above and/or below every page.class
Image
AnImage
is the representation of a graphic element (JPEG, PNG or GIF) that has to be inserted into the documentclass
ImgCCITT
CCITT Image data that has to be inserted into the documentclass
ImgJBIG2
Support for JBIG2 images.class
ImgRaw
Raw Image data that has to be inserted into the documentclass
ImgTemplate
PdfTemplate that has to be inserted into the documentclass
ImgWMF
AnImgWMF
is the representation of a windows metafile that has to be inserted into the documentclass
Jpeg
AnJpeg
is the representation of a graphic element (JPEG) that has to be inserted into the documentclass
Jpeg2000
AnJpeg2000
is the representation of a graphic element (JPEG) that has to be inserted into the document(package private) class
RectangleReadOnly
ARectangleReadOnly
is the representation of a geometric figure.(package private) class
SimpleCell
Rectangle that can be used for Cells.class
SimpleTable
Rectangle that can be used for Cells.class
Table
ATable
is aRectangle
that containsCell
s, ordered in some kind of matrix.Fields in com.aowagie.text declared as Rectangle Modifier and Type Field Description static Rectangle
PageSize. A4
This is the a4 formatstatic Rectangle
PageSize. LETTER
This is the letter formatprotected Rectangle
Document. pageSize
The size of the page.Methods in com.aowagie.text that return Rectangle Modifier and Type Method Description Rectangle
Document. getPageSize()
Gets the pagesize.Rectangle
Rectangle. rectangle(float top, float bottom)
Gets a Rectangle that is altered to fit on the page.Rectangle
Rectangle. rotate()
Rotates the rectangle.Methods in com.aowagie.text with parameters of type Rectangle Modifier and Type Method Description void
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.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 void
ElementFactory. 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) class
PdfCell
APdfCell
is the PDF translation of aCell
.class
PdfPCell
A cell in a PdfPTable.(package private) class
PdfTable
PdfTable
is 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 Rectangle
PdfTemplate. bBox
The bounding box of this templateprotected Rectangle
BaseField. box
private Rectangle
PdfDocument. nextPageSize
This is the size of the next page.private Rectangle
PdfSignatureAppearance. pageRect
private Rectangle
PdfSignatureAppearance. rect
Methods in com.aowagie.text.pdf that return Rectangle Modifier and Type Method Description abstract Rectangle
Barcode. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
Barcode128. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
PdfTemplate. getBoundingBox()
Rectangle
BaseField. getBox()
Gets the field dimension and position.(package private) Rectangle
PdfDocument. getBoxSize(java.lang.String boxName)
Gives the size of a trim, art, crop or bleed box, or null if not defined.(package private) Rectangle
PdfReader. getBoxSize(int index, java.lang.String boxName)
Gets the box size.(package private) static Rectangle
PdfReader. getNormalizedRectangle(PdfArray box)
Normalizes aRectangle
so that llx and lly are smaller than urx and ury.Rectangle
PdfSignatureAppearance. getPageRect()
Gets the rectangle that represent the position and dimension of the signature in the page.Rectangle
PdfReader. getPageSize(int index)
Gets the page size without taking rotation into account.private Rectangle
PdfReader. getPageSize(PdfDictionary page)
Gets the page from a page dictionaryRectangle
PdfWriter. getPageSize()
Use this method to get the size of the media box.Rectangle
PdfReader. getPageSizeWithRotation(int index)
Gets the page size, taking rotation into account.(package private) Rectangle
PdfReader. getPageSizeWithRotation(PdfDictionary page)
Gets the rotated page from a page dictionary.Rectangle
PdfSignatureAppearance. getRect()
Gets the rectangle representing the signature dimensions.Rectangle
PdfRectangle. getRectangle()
Returns the high level version of this PdfRectangleabstract Rectangle
Barcode. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)
Places the barcode in aPdfContentByte
.Rectangle
Barcode128. placeBarcode(PdfContentByte cb, java.awt.Color barColor, java.awt.Color textColor)
Places the barcode in aPdfContentByte
.Rectangle
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 Rectangle Modifier and Type Method Description void
PdfPCellEvent. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
This method is called at the end of the cell rendering.private static PdfAnnotation
PdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfFileSpecification fs)
Creates a file attachment annotationprivate static PdfAnnotation
PdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight)
Creates a link.static PdfAnnotation
PdfAnnotation. createScreen(PdfWriter writer, Rectangle rect, java.lang.String clipTitle, PdfFileSpecification fs, java.lang.String mimeType, boolean playOnDisplay)
Creates a screen PdfAnnotationprivate static float
PdfSignatureAppearance. 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.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, java.lang.String text)
Called when aChunk
with a generic tag is written.void
PdfPageEventHelper. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)
Called when aChunk
with a generic tag is written.void
PdfContentByte. rectangle(Rectangle rectangle)
Adds a border (complete or partially) to the current path..void
PdfTemplate. setBoundingBox(Rectangle bBox)
void
BaseField. setBox(Rectangle box)
Sets the field dimension and position.private void
PdfDocument. setBoxSize(java.lang.String boxName, Rectangle size)
(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, java.lang.String fieldName)
Sets the signature to be visible.void
PdfFormField. setWidget(Rectangle rect, PdfName highlight)
void
PdfPTable. setWidthPercentage(float[] columnWidth, Rectangle pageSize)
Sets the percentage width of the table from the absolute column width.private void
PdfContentByte. 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 void
PdfPCellEventForwarder. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
void
PdfPageEventForwarder. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)
Called when aChunk
with 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 PdfAnnotation
PdfAnnotationsImp. convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect)
PdfArray
PdfAnnotationsImp. rotateAnnotations(PdfWriter writer, Rectangle pageSize)
-