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.text.pdf.pdfcleanup com.itextpdf.text.pdf.richmedia com.itextpdf.text.pdf.spatial com.itextpdf.tool.xml.css.apply Contains classes that can apply css rules on certainElement
s.com.itextpdf.tool.xml.html.pdfelement Element
s created for specific use when processing HTML.com.itextpdf.tool.xml.html.table TagProcessor implementations fortable
tags.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.String
CompareTool. 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)
private java.lang.String
CompareTool. compare(java.lang.String outPath, java.lang.String differenceImagePrefix, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas)
private java.lang.String
CompareTool. compare(java.lang.String outPath, java.lang.String differenceImagePrefix, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas, java.util.List<java.lang.Integer> equalPages)
java.lang.String
CompareTool. 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.String
CompareTool. 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 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 documentclass
RectangleReadOnly
ARectangleReadOnly
is the representation of a geometric figure.Fields in com.itextpdf.text declared as Rectangle Modifier and Type Field Description static Rectangle
PageSize. _11X17
This is the 11x17 formatstatic Rectangle
PageSize. A0
This is the a0 formatstatic Rectangle
PageSize. A1
This is the a1 formatstatic Rectangle
PageSize. A10
This is the a10 formatstatic Rectangle
PageSize. A2
This is the a2 formatstatic Rectangle
PageSize. A3
This is the a3 formatstatic Rectangle
PageSize. A4
This is the a4 formatstatic Rectangle
PageSize. A4_LANDSCAPE
Deprecated.static Rectangle
PageSize. A5
This is the a5 formatstatic Rectangle
PageSize. A6
This is the a6 formatstatic Rectangle
PageSize. A7
This is the a7 formatstatic Rectangle
PageSize. A8
This is the a8 formatstatic Rectangle
PageSize. A9
This is the a9 formatstatic Rectangle
PageSize. ARCH_A
This is the archA formatstatic Rectangle
PageSize. ARCH_B
This is the archB formatstatic Rectangle
PageSize. ARCH_C
This is the archC formatstatic Rectangle
PageSize. ARCH_D
This is the archD formatstatic Rectangle
PageSize. ARCH_E
This is the archE formatstatic Rectangle
PageSize. B0
This is the b0 formatstatic Rectangle
PageSize. B1
This is the b1 formatstatic Rectangle
PageSize. B10
This is the b10 formatstatic Rectangle
PageSize. B2
This is the b2 formatstatic Rectangle
PageSize. B3
This is the b3 formatstatic Rectangle
PageSize. B4
This is the b4 formatstatic Rectangle
PageSize. B5
This is the b5 formatstatic Rectangle
PageSize. B6
This is the b6 formatstatic Rectangle
PageSize. B7
This is the b7 formatstatic Rectangle
PageSize. B8
This is the b8 formatstatic Rectangle
PageSize. B9
This is the b9 formatstatic Rectangle
PageSize. CROWN_OCTAVO
This is the Crown Octavo formatstatic Rectangle
PageSize. CROWN_QUARTO
This is the Crown Quarto formatstatic Rectangle
PageSize. DEMY_OCTAVO
This is the Demy Octavo formatstatic Rectangle
PageSize. DEMY_QUARTO
This is the Demy Quarto format.static Rectangle
PageSize. EXECUTIVE
This is the executive formatstatic Rectangle
PageSize. FLSA
This is the American Foolscap formatstatic Rectangle
PageSize. FLSE
This is the European Foolscap formatstatic Rectangle
PageSize. HALFLETTER
This is the halfletter formatstatic 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 Rectangle
PageSize. ID_2
This is the ISO 7810 ID-2 format (A7 rotated)static Rectangle
PageSize. ID_3
This is the ISO 7810 ID-3 format (B7 rotated)static Rectangle
PageSize. LARGE_CROWN_OCTAVO
This is the Large Crown Octavo formatstatic Rectangle
PageSize. LARGE_CROWN_QUARTO
This is the Large Crown Quarto formatstatic Rectangle
PageSize. LEDGER
This is the ledger formatstatic Rectangle
PageSize. LEGAL
This is the legal formatstatic Rectangle
PageSize. LEGAL_LANDSCAPE
Deprecated.static Rectangle
PageSize. LETTER
This is the letter formatstatic Rectangle
PageSize. LETTER_LANDSCAPE
Deprecated.static Rectangle
PageSize. NOTE
This is the note formatprotected Rectangle
Document. pageSize
The size of the page.protected Rectangle
DocWriter. pageSize
The pageSize.static Rectangle
PageSize. PENGUIN_LARGE_PAPERBACK
This is the Penguin large paperback format.static Rectangle
PageSize. PENGUIN_SMALL_PAPERBACK
This is the Pengiun small paperback format.static Rectangle
PageSize. POSTCARD
This is the postcard formatstatic Rectangle
PageSize. ROYAL_OCTAVO
This is the Royal Octavo format.static Rectangle
PageSize. ROYAL_QUARTO
This is the Royal Quarto format.static Rectangle
PageSize. SMALL_PAPERBACK
This is the small paperback format.static Rectangle
PageSize. TABLOID
This is the tabloid formatMethods in com.itextpdf.text that return Rectangle Modifier and Type Method Description Rectangle
Document. getPageSize()
Gets the pagesize.static Rectangle
PageSize. getRectangle(java.lang.String name)
This method returns a Rectangle based on a String.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.itextpdf.text with parameters of type Rectangle Modifier and Type Method Description 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
objectvoid
Image. scaleAbsolute(Rectangle rectangle)
Scale the image to the dimensions of the rectanglevoid
Image. scaleToFit(Rectangle rectangle)
Scales the images to the dimensions of the rectangle.boolean
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.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 boolean
HTMLWorker. 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 class
PdfBody
class
PdfPCell
A cell in a PdfPTable.class
PdfPHeaderCell
Created by IntelliJ IDEA.Fields in com.itextpdf.text.pdf declared as Rectangle Modifier and Type Field Description protected 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
rectangle that represent the position and dimension of the signature in the page.Rectangle
AcroFields.FieldPosition. position
private Rectangle
PdfSignatureAppearance. rect
The coordinates of the rectangle for a visible signature, or a zero-width, zero-height rectangle for an invisible signature.Methods in com.itextpdf.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
Barcode39. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
BarcodeCodabar. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
BarcodeEAN. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
BarcodeEANSUPP. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
BarcodeInter25. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
BarcodePDF417. getBarcodeSize()
Gets the size of the barcode grid.Rectangle
BarcodePostnet. getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.Rectangle
BarcodeQRCode. getBarcodeSize()
Gets the size of the barcode grid.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.Rectangle
PdfReader. getBoxSize(int index, java.lang.String boxName)
Gets the box size.Rectangle
PdfWriter. 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.Rectangle
PdfWriter. getBoxSize(java.lang.String boxName, Rectangle intersectingRectangle)
Returns the intersection between the crop, trim art or bleed box and the parameter intersectingRectangle.Rectangle
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.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.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.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, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
Barcode128. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
Barcode39. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeCodabar. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeEAN. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeEANSUPP. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeInter25. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodePostnet. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.private Rectangle
PdfStamperImp. transformBBoxByMatrix(Rectangle bBox, double[] matrix)
Methods in com.itextpdf.text.pdf with parameters of type Rectangle Modifier and Type Method Description void
PdfCopy. addPage(Rectangle rect, int rotation)
Adds a blank page.private AffineTransform
PdfStamperImp. calculateTemplateTransformationMatrix(AffineTransform currentMatrix, double fieldRotation, Rectangle box)
void
PdfPCellEvent. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
This method is called at the end of the cell rendering.PdfAnnotation
PdfAStamperImp. createAnnotation(Rectangle rect, PdfName subtype)
PdfAnnotation
PdfAWriter. createAnnotation(Rectangle rect, PdfName subtype)
PdfAnnotation
PdfWriter. createAnnotation(Rectangle rect, PdfName subtype)
A wrapper around PdfAnnotation constructor.static PdfAnnotation
PdfAnnotation. 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 PdfAnnotation
PdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfFileSpecification fs)
Creates a file attachment annotationstatic PdfAnnotation
PdfAnnotation. createFreeText(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfContentByte defaultAppearance)
Add some free text to the document.static PdfAnnotation
PdfAnnotation. createInk(PdfWriter writer, Rectangle rect, java.lang.String contents, float[][] inkList)
static PdfAnnotation
PdfAnnotation. 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 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, java.lang.String namedDestination)
Creates an Annotation with an local destination.static PdfAnnotation
PdfAnnotation. createMarkup(PdfWriter writer, Rectangle rect, java.lang.String contents, int type, float[] quadPoints)
static PdfAnnotation
PdfAnnotation. createPolygonPolyline(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean polygon, PdfArray vertices)
Creates a polygon or -line annotationstatic PdfAnnotation
PdfAnnotation. createPopup(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean open)
Adds a popup to your document.static PdfAnnotation
PdfAnnotation. createScreen(PdfWriter writer, Rectangle rect, java.lang.String clipTitle, PdfFileSpecification fs, java.lang.String mimeType, boolean playOnDisplay)
Creates a screen PdfAnnotationstatic PdfAnnotation
PdfAnnotation. 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 PdfAnnotation
PdfAnnotation. createStamp(PdfWriter writer, Rectangle rect, java.lang.String contents, java.lang.String name)
Adds a Stamp to your document.static PdfAnnotation
PdfAnnotation. createText(PdfWriter writer, Rectangle rect, java.lang.String title, java.lang.String contents, boolean open, java.lang.String icon)
static float
ColumnText. 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.Rectangle
PdfWriter. getBoxSize(java.lang.String boxName, Rectangle intersectingRectangle)
Returns the intersection between the crop, trim art or bleed box and the parameter intersectingRectangle.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.(package private) void
PdfDocument. setBoxSize(java.lang.String boxName, Rectangle size)
void
PdfWriter. setBoxSize(java.lang.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
ColumnText. setSimpleColumn(Rectangle rect)
Simplified method for rectangular columns.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 Rectangle
PdfStamperImp. transformBBoxByMatrix(Rectangle bBox, double[] matrix)
void
PdfContentByte. 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)
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 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 void
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, java.lang.String text)
void
IndexEvents. 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.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.itextpdf.text.pdf.internal
Methods in com.itextpdf.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)
-
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.text.pdf.pdfcleanup
Fields in com.itextpdf.text.pdf.pdfcleanup declared as Rectangle Modifier and Type Field Description private Rectangle
PdfCleanUpLocation. region
Fields in com.itextpdf.text.pdf.pdfcleanup with type parameters of type Rectangle Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.List<Rectangle>>
PdfCleanUpProcessor. clippingRects
private java.util.List<Rectangle>
PdfCleanUpRegionFilter. rectangles
Methods in com.itextpdf.text.pdf.pdfcleanup that return Rectangle Modifier and Type Method Description private Rectangle
PdfCleanUpRegionFilter. calcImageRect(ImageRenderInfo renderInfo)
private Rectangle
PdfCleanUpRegionFilter. getRectangle(Point2D p1, Point2D p2, Point2D p3, Point2D p4)
Constructs Rectangle object on the given pointsRectangle
PdfCleanUpLocation. getRegion()
private Rectangle
PdfCleanUpRegionFilter. intersection(Rectangle rect1, Rectangle rect2)
private Rectangle
PdfCleanUpRegionFilter. transformIntersection(Matrix imageCTM, Rectangle rect)
Transforms the given Rectangle into the image coordinate system which is [0,1]x[0,1] by defaultMethods in com.itextpdf.text.pdf.pdfcleanup that return types with arguments of type Rectangle Modifier and Type Method Description protected java.util.List<Rectangle>
PdfCleanUpRegionFilter. getCoveredAreas(ImageRenderInfo renderInfo)
Calculates intersection of the image and the render filter region in the coordinate system relative to the image.private java.util.List<Rectangle>
PdfCleanUpRenderListener. getImageAreasToBeCleaned(ImageRenderInfo renderInfo)
private java.util.List<Rectangle>
PdfCleanUpProcessor. translateQuadPointsToRectangles(PdfArray quadPoints)
Methods in com.itextpdf.text.pdf.pdfcleanup with parameters of type Rectangle Modifier and Type Method Description private Point2D[]
PdfCleanUpRegionFilter. getVertices(Rectangle rect)
private void
PdfCleanUpProcessor. insertFormXObj(PdfContentByte canvas, PdfDictionary pageDict, PdfStream formXObj, java.util.List<Rectangle> clippingRects, Rectangle annotRect)
private Rectangle
PdfCleanUpRegionFilter. intersection(Rectangle rect1, Rectangle rect2)
private Rectangle
PdfCleanUpRegionFilter. transformIntersection(Matrix imageCTM, Rectangle rect)
Transforms the given Rectangle into the image coordinate system which is [0,1]x[0,1] by defaultMethod parameters in com.itextpdf.text.pdf.pdfcleanup with type arguments of type Rectangle Modifier and Type Method Description private void
PdfCleanUpRenderListener. cleanImage(java.awt.image.BufferedImage image, java.util.List<Rectangle> areasToBeCleaned)
private void
PdfCleanUpProcessor. drawOverlayText(PdfContentByte canvas, java.util.List<Rectangle> textRectangles, PdfString overlayText, PdfString otDA, PdfNumber otQ, PdfBoolean otRepeat)
private void
PdfCleanUpProcessor. insertFormXObj(PdfContentByte canvas, PdfDictionary pageDict, PdfStream formXObj, java.util.List<Rectangle> clippingRects, Rectangle annotRect)
private byte[]
PdfCleanUpRenderListener. processImage(byte[] imageBytes, java.util.List<Rectangle> areasToBeCleaned)
Constructors in com.itextpdf.text.pdf.pdfcleanup with parameters of type Rectangle Constructor Description PdfCleanUpLocation(int page, Rectangle region)
Constructs aPdfCleanUpLocation
object.PdfCleanUpLocation(int page, Rectangle region, BaseColor cleanUpColor)
Constructs aPdfCleanUpLocation
object.Constructor parameters in com.itextpdf.text.pdf.pdfcleanup with type arguments of type Rectangle Constructor Description PdfCleanUpRegionFilter(java.util.List<Rectangle> rectangles)
-
Uses of Rectangle in com.itextpdf.text.pdf.richmedia
Constructors in com.itextpdf.text.pdf.richmedia with parameters of type Rectangle Constructor Description RichMediaAnnotation(PdfWriter writer, Rectangle rect)
Creates a RichMediaAnnotation.RichMediaAnnotation(PdfWriter writer, Rectangle rect, PdfIndirectReference richMediaContentReference)
Creates a RichMediaAnnotation using rich media content that has already been added to the writer. -
Uses of Rectangle in com.itextpdf.text.pdf.spatial
Methods in com.itextpdf.text.pdf.spatial with parameters of type Rectangle Modifier and Type Method Description void
Viewport. setBBox(Rectangle bbox)
(Required) A rectangle in default user space coordinates specifying the location of the viewport on the page.
The two coordinate pairs of the rectangle shall be specified in normalized form; that is, lower-left followed by upper-right, relative to the measuring coordinate system. -
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 Rectangle
PageSizeContainable. 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 class
HtmlCell
HtmlCell 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 void
CellSpacingEvent. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
-
Uses of Rectangle in com.itextpdf.tool.xml.pipeline.html
Fields in com.itextpdf.tool.xml.pipeline.html declared as Rectangle Modifier and Type Field Description private Rectangle
AutoDocPipeline. pagesize
private Rectangle
HtmlPipelineContext. pageSize
Methods in com.itextpdf.tool.xml.pipeline.html that return Rectangle Modifier and Type Method Description Rectangle
HtmlPipelineContext. getPageSize()
Returns aRectangle
Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type Rectangle Modifier and Type Method Description HtmlPipelineContext
HtmlPipelineContext. 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
-