Uses of Class
com.itextpdf.kernel.geom.Rectangle
Packages that use Rectangle
Package
Description
-
Uses of Rectangle in com.itextpdf.barcodes
Methods in com.itextpdf.barcodes that return RectangleModifier and TypeMethodDescriptionBarcode128.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.abstract Rectangle
Barcode1D.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.abstract Rectangle
Barcode2D.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.BarcodeDataMatrix.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodeDataMatrix.getBarcodeSize
(float moduleHeight, float moduleWidth) Gets the barcode sizeBarcodeEAN.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.BarcodeMSI.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodePDF417.getBarcodeSize()
Gets the maximum area that the barcode and the text, if any, will occupy.BarcodePostnet.getBarcodeSize()
BarcodeQRCode.getBarcodeSize()
Gets the size of the barcode gridBarcodeQRCode.getBarcodeSize
(float moduleSize) Gets the barcode sizeBarcode128.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.abstract Rectangle
Barcode1D.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.abstract Rectangle
Barcode2D.placeBarcode
(PdfCanvas canvas, Color foreground) Places the barcode in aPdfCanvas
.Barcode39.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeCodabar.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeDataMatrix.placeBarcode
(PdfCanvas canvas, Color foreground) Places the barcode in aPdfCanvas
.BarcodeDataMatrix.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleSide) Places the barcode in a PdfCanvasBarcodeEAN.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeEANSUPP.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeInter25.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeMSI.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodePDF417.placeBarcode
(PdfCanvas canvas, Color foreground) Places the barcode in aPdfCanvas
.BarcodePDF417.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight) Places the barcode in aPdfCanvas
.BarcodePostnet.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) BarcodeQRCode.placeBarcode
(PdfCanvas canvas, Color foreground) BarcodeQRCode.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleSide) * Places the barcode in aPdfCanvas
. -
Uses of Rectangle in com.itextpdf.forms
Methods in com.itextpdf.forms with parameters of type RectangleModifier and TypeMethodDescriptionprivate AffineTransform
PdfAcroForm.calcFieldAppTransformToAnnotRect
(PdfFormXObject xObject, Rectangle annotBBox) -
Uses of Rectangle in com.itextpdf.forms.fields
Fields in com.itextpdf.forms.fields declared as RectangleModifier and TypeFieldDescriptionprivate Rectangle
TerminalFormFieldBuilder.widgetRectangle
Rectangle which defines widget placement.Methods in com.itextpdf.forms.fields that return RectangleModifier and TypeMethodDescriptionprivate Rectangle
PdfFormAnnotation.applyRotation
(int fieldRotation, Rectangle rectangle) protected Rectangle
PdfFormAnnotation.getRect
(PdfDictionary field) Gets aRectangle
that matches the current size and position of this form field.TerminalFormFieldBuilder.getWidgetRectangle()
Gets rectangle which defines widget's placement.Methods in com.itextpdf.forms.fields with parameters of type RectangleModifier and TypeMethodDescriptionprivate Rectangle
PdfFormAnnotation.applyRotation
(int fieldRotation, Rectangle rectangle) private static float
TextAndChoiceLegacyDrawer.calculateTranslationHeightAfterFieldRot
(Rectangle bBox, double pageRotation, double relFieldRotation) private static float
TextAndChoiceLegacyDrawer.calculateTranslationWidthAfterFieldRot
(Rectangle bBox, double pageRotation, double relFieldRotation) RadioFormFieldBuilder.createRadioButton
(String appearanceName, Rectangle rectangle) Creates radio button form field instance based on provided parameters.(package private) static void
TextAndChoiceLegacyDrawer.drawChoiceAppearance
(PdfFormAnnotation formAnnotation, Rectangle rect, float fontSize, String value, PdfFormXObject appearance, int topIndex) private static void
TextAndChoiceLegacyDrawer.drawCombTextAppearance
(PdfFormAnnotation formAnnotation, Rectangle rect, PdfFont font, float fontSize, String value, PdfFormXObject appearance) private static boolean
PdfFormAnnotation.isFieldInvisible
(Rectangle rect) Gets the visibility status of the signature.private void
PdfFormAnnotation.setModelElementProperties
(Rectangle rectangle) TerminalFormFieldBuilder.setWidgetRectangle
(Rectangle widgetRectangle) Sets rectangle which defines widget's placement. -
Uses of Rectangle in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer that return RectangleModifier and TypeMethodDescriptionprotected Rectangle
CheckBoxRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) Applies the given border box (borders) on the given rectangleprotected Rectangle
RadioRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) Applies the given border box (borders) on the given rectangleprotected Rectangle
CheckBoxRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) Applies given paddings to the given rectangle.Methods in com.itextpdf.forms.form.renderer with parameters of type RectangleModifier and TypeMethodDescriptionprivate void
SignatureAppearanceRenderer.adjustChildrenLayout
(SignatureAppearanceRenderer.RenderingMode renderingMode, Rectangle signatureRect, Rectangle descriptionRect, int pageNum) (package private) void
AbstractTextFieldRenderer.adjustNumberOfContentLines
(List<LineRenderer> lines, Rectangle bBox, float height) Adjust number of content lines.(package private) void
AbstractTextFieldRenderer.adjustNumberOfContentLines
(List<LineRenderer> lines, Rectangle bBox, int rows) Adjust number of content lines.private static void
AbstractTextFieldRenderer.adjustNumberOfContentLines
(List<LineRenderer> lines, Rectangle bBox, int linesNumber, float height) protected Rectangle
CheckBoxRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) Applies the given border box (borders) on the given rectangleprotected Rectangle
RadioRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) Applies the given border box (borders) on the given rectangleprotected Rectangle
CheckBoxRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) Applies given paddings to the given rectangle.(package private) void
AbstractOneLineTextFieldRenderer.cropContentLines
(List<LineRenderer> lines, Rectangle bBox) Crops the content lines.private void
TextAreaRenderer.cropContentLines
(List<LineRenderer> lines, Rectangle bBox) (package private) float
AbstractTextFieldRenderer.getHeightRowsBased
(List<LineRenderer> lines, Rectangle bBox, int rows) private void
SignatureAppearanceRenderer.relayoutImage
(Rectangle signatureRect, int pageNum) private void
SignatureAppearanceRenderer.relayoutParagraph
(IRenderer renderer, Rectangle rect, int pageNum) -
Uses of Rectangle in com.itextpdf.forms.form.renderer.checkboximpl
Methods in com.itextpdf.forms.form.renderer.checkboximpl with parameters of type RectangleModifier and TypeMethodDescriptionprivate float
PdfCheckBoxRenderingStrategy.calculateFontSize
(CheckBoxRenderer checkBoxRenderer, PdfFont fontContainingSymbols, String text, Rectangle rectangle, float borderWidth) void
HtmlCheckBoxRenderingStrategy.drawCheckBoxContent
(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.void
ICheckBoxRenderingStrategy.drawCheckBoxContent
(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.void
PdfACheckBoxRenderingStrategy.drawCheckBoxContent
(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.void
PdfCheckBoxRenderingStrategy.drawCheckBoxContent
(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.private static void
PdfACheckBoxRenderingStrategy.drawIcon
(CheckBoxType type, PdfCanvas canvas1, Rectangle rectangle) private void
PdfCheckBoxRenderingStrategy.drawZapfdingbatsIcon
(PdfFont fontContainingSymbols, String text, float fontSize, Rectangle rectangle, PdfCanvas canvas) -
Uses of Rectangle in com.itextpdf.forms.util
Methods in com.itextpdf.forms.util with parameters of type RectangleModifier and TypeMethodDescriptionstatic float
FontSizeUtil.approximateFontSizeToFitSingleLine
(PdfFont localFont, Rectangle bBox, String value, float minValue, float borderWidth) Calculates the font size that will fit the text in the given rectangle. -
Uses of Rectangle in com.itextpdf.forms.xfdf
Methods in com.itextpdf.forms.xfdf that return RectangleModifier and TypeMethodDescription(package private) static Rectangle
XfdfObjectUtils.convertRectFromString
(String rectString) Converts a string containing 2 or 4 float values into aRectangle
.Methods in com.itextpdf.forms.xfdf with parameters of type RectangleModifier and TypeMethodDescription(package private) void
AnnotObject.addAttribute
(String name, Rectangle value) (package private) static String
XfdfObjectUtils.convertRectToString
(Rectangle rect) Converts a Rectangle to a string containing 4 float values. -
Uses of Rectangle in com.itextpdf.kernel.colors.gradients
Methods in com.itextpdf.kernel.colors.gradients with parameters of type RectangleModifier and TypeMethodDescriptionprivate static Point[]
StrategyBasedLinearGradientBuilder.buildCentralRotationCoordinates
(Rectangle targetBoundingBox, double angle) AbstractLinearGradientBuilder.buildColor
(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document) Builds theColor
object representing the linear gradient with specified configuration that fills the target bounding box.private static Point[]
StrategyBasedLinearGradientBuilder.buildCoordinates
(Rectangle targetBoundingBox, AffineTransform transformation) private static Point[]
StrategyBasedLinearGradientBuilder.buildCoordinatesWithGradientStrategy
(Rectangle targetBoundingBox, StrategyBasedLinearGradientBuilder.GradientStrategy gradientStrategy) private static Point[]
StrategyBasedLinearGradientBuilder.buildToCornerCoordinates
(Rectangle targetBoundingBox, Point gradientCenterLineRightCorner) private static PdfShading.Axial
AbstractLinearGradientBuilder.createAxialShading
(Point[] baseCoordinatesVector, List<GradientColorStop> stops, GradientSpreadMethod spreadMethod, Rectangle targetBoundingBox) protected static double[]
AbstractLinearGradientBuilder.evaluateCoveringDomain
(Point[] coords, Rectangle toCover) Evaluates the minimal domain that covers the box with vector normals.protected AffineTransform
AbstractLinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation
(Rectangle targetBoundingBox, AffineTransform contextTransform) Returns the current space to gradient vector space transformations that should be applied to the shading color.LinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation
(Rectangle targetBoundingBox, AffineTransform contextTransform) protected abstract Point[]
AbstractLinearGradientBuilder.getGradientVector
(Rectangle targetBoundingBox, AffineTransform contextTransform) Returns the base gradient vector in gradient vector space.Point[]
LinearGradientBuilder.getGradientVector
(Rectangle targetBoundingBox, AffineTransform contextTransform) protected Point[]
StrategyBasedLinearGradientBuilder.getGradientVector
(Rectangle targetBoundingBox, AffineTransform contextTransform) -
Uses of Rectangle in com.itextpdf.kernel.geom
Subclasses of Rectangle in com.itextpdf.kernel.geomMethods in com.itextpdf.kernel.geom that return RectangleModifier and TypeMethodDescriptionRectangle.applyMargins
(float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse) Change the rectangle according the specified margins.static Rectangle
Rectangle.calculateBBox
(List<Point> points) Calculates the bounding box of passed points.PageSize.clone()
Creates a "deep copy" of this PageSize, meaning the object returned by this method will be independent of the object being cloned.Rectangle.clone()
Creates a "deep copy" of this rectangle, meaning the object returned by this method will be independent of the object being cloned.static Rectangle
Rectangle.createBoundingRectangleFromQuadPoint
(PdfArray quadPoints) Create the bounding rectangle for the given array of quadpoints.Rectangle.decreaseHeight
(float extra) Decreases the height of rectangle by the given value.Rectangle.decreaseWidth
(float extra) Decreases the width of rectangle by the given value.LineSegment.getBoundingRectangle()
Computes the bounding rectangle for this line segment.static Rectangle
Rectangle.getCommonRectangle
(Rectangle... rectangles) Calculates the common rectangle which includes all the input rectangles.Rectangle.getIntersection
(Rectangle rect) Get the rectangle representation of the intersection between this rectangle and the passed rectanglestatic Rectangle
Rectangle.getRectangleOnRotatedPage
(Rectangle rect, PdfPage page) Gets the rectangle as it looks on the rotated page and returns the rectangle in coordinates relevant to the true page origin.Rectangle.increaseHeight
(float extra) Increases the height of rectangle by the given value.Rectangle.increaseWidth
(float extra) Increases the width of rectangle by the given value.Rectangle.moveDown
(float move) Decreases the y coordinate.Rectangle.moveLeft
(float move) Decreases the x coordinate.Rectangle.moveRight
(float move) Increases the x coordinate.Rectangle.moveUp
(float move) Increases the y coordinate.Rectangle.setBbox
(float llx, float lly, float urx, float ury) Sets the rectangle by the coordinates, specifying its lower left and upper right points.Rectangle.setHeight
(float height) Sets the height of rectangle.Rectangle.setWidth
(float width) Sets the width of rectangle.Rectangle.setX
(float x) Sets the X coordinate of lower left point.Rectangle.setY
(float y) Sets the Y coordinate of lower left point.Methods in com.itextpdf.kernel.geom that return types with arguments of type RectangleModifier and TypeMethodDescriptionRectangle.createBoundingRectanglesFromQuadPoint
(PdfArray quadPoints) Create a list of bounding rectangles from an 8 x n array of Quadpoints.Methods in com.itextpdf.kernel.geom with parameters of type RectangleModifier and TypeMethodDescriptionboolean
Check if this rectangle contains the passed rectangle.boolean
Rectangle.equalsWithEpsilon
(Rectangle that) Compares instance of this rectangle with given deviation equals to 0.0001boolean
Rectangle.equalsWithEpsilon
(Rectangle that, float eps) Compares instance of this rectangle with given deviation.static Rectangle
Rectangle.getCommonRectangle
(Rectangle... rectangles) Calculates the common rectangle which includes all the input rectangles.Rectangle.getIntersection
(Rectangle rect) Get the rectangle representation of the intersection between this rectangle and the passed rectanglestatic Rectangle
Rectangle.getRectangleOnRotatedPage
(Rectangle rect, PdfPage page) Gets the rectangle as it looks on the rotated page and returns the rectangle in coordinates relevant to the true page origin.boolean
Check if this rectangle and the passed rectangle overlapboolean
Check if this rectangle and the passed rectangle overlapvoid
Appends a rectangle to the current path as a complete subpath.Constructors in com.itextpdf.kernel.geom with parameters of type Rectangle -
Uses of Rectangle in com.itextpdf.kernel.pdf
Methods in com.itextpdf.kernel.pdf that return RectangleModifier and TypeMethodDescriptionPdfPage.getArtBox()
Gets theRectangle
object specified by page's ArtBox, that define the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.PdfDictionary.getAsRectangle
(PdfName key) Returns the value associated to this key as a Rectangle.PdfPage.getBleedBox()
Gets theRectangle
object specified by page's BleedBox, that define the region to which the contents of the page shall be clipped when output in a production environment.PdfPage.getCropBox()
Gets theRectangle
specified by page's CropBox, that defines the visible region of default user space.PdfPage.getMediaBox()
GetsRectangle
object specified by page's Media Box, that defines the boundaries of the physical medium on which the page shall be displayed or printedPdfPage.getPageSize()
Gets page size, defined by media box object.PdfPage.getPageSizeWithRotation()
Gets page size, considering page rotation.PdfPage.getTrimBox()
Gets theRectangle
object specified by page's TrimBox object, that define the intended dimensions of the finished page after trimming.PdfArray.toRectangle()
Returns the first four elements of this array as a PdfArray.Methods in com.itextpdf.kernel.pdf with parameters of type RectangleModifier and TypeMethodDescriptionSets the ArtBox object, that define the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.PdfPage.setBleedBox
(Rectangle rectangle) Sets the BleedBox object, that defines the region to which the contents of the page shall be clipped when output in a production environment.PdfPage.setCropBox
(Rectangle rectangle) Sets the CropBox object, that defines the visible region of default user space.PdfPage.setMediaBox
(Rectangle rectangle) Sets the Media Box object, that defines the boundaries of the physical medium on which the page shall be displayed or printed.PdfPage.setTrimBox
(Rectangle rectangle) Sets the TrimBox object, that define the intended dimensions of the finished page after trimming.Constructors in com.itextpdf.kernel.pdf with parameters of type Rectangle -
Uses of Rectangle in com.itextpdf.kernel.pdf.annot
Methods in com.itextpdf.kernel.pdf.annot that return RectangleModifier and TypeMethodDescriptionPdf3DAnnotation.getViewBox()
Gets the 3D view box, which is the rectangular area in which the 3D artwork shall be drawn.Methods in com.itextpdf.kernel.pdf.annot with parameters of type RectangleModifier and TypeMethodDescriptionstatic PdfTextMarkupAnnotation
PdfTextMarkupAnnotation.createHighLight
(Rectangle rect, float[] quadPoints) Creates a text markup annotation of highlight style subtype.static PdfPolyGeomAnnotation
PdfPolyGeomAnnotation.createPolygon
(Rectangle rect, float[] vertices) static PdfPolyGeomAnnotation
PdfPolyGeomAnnotation.createPolyLine
(Rectangle rect, float[] vertices) static PdfTextMarkupAnnotation
PdfTextMarkupAnnotation.createSquiggly
(Rectangle rect, float[] quadPoints) Creates a text markup annotation of squiggly-underline type.static PdfTextMarkupAnnotation
PdfTextMarkupAnnotation.createStrikeout
(Rectangle rect, float[] quadPoints) Creates a text markup annotation of strikeout style subtype.static PdfTextMarkupAnnotation
PdfTextMarkupAnnotation.createUnderline
(Rectangle rect, float[] quadPoints) Creates a text markup annotation of underline style subtype.Pdf3DAnnotation.setViewBox
(Rectangle viewBox) Sets the 3D view box, which is the rectangular area in which the 3D artwork shall be drawn.Constructors in com.itextpdf.kernel.pdf.annot with parameters of type RectangleModifierConstructorDescriptionPdf3DAnnotation
(Rectangle rect, PdfObject artwork) Creates aPdf3DAnnotation
instance.protected
PdfAnnotation
(Rectangle rect) PdfCaretAnnotation
(Rectangle rect) PdfCircleAnnotation
(Rectangle rect) PdfFileAttachmentAnnotation
(Rectangle rect, PdfFileSpec file) PdfFreeTextAnnotation
(Rectangle rect, PdfString contents) Creates new instancePdfInkAnnotation
(Rectangle rect) PdfInkAnnotation
(Rectangle rect, PdfArray inkList) PdfLineAnnotation
(Rectangle rect, float[] line) Creates aPdfLineAnnotation
instance.PdfLinkAnnotation
(Rectangle rect) Creates a newPdfLinkAnnotation
instance based onRectangle
instance, that define the location of the annotation on the page in default user space units.protected
PdfMarkupAnnotation
(Rectangle rect) (package private)
PdfPolyGeomAnnotation
(Rectangle rect, float[] vertices) (package private)
PdfPolygonAnnotation
(Rectangle rect, float[] vertices) (package private)
PdfPolylineAnnotation
(Rectangle rect, float[] vertices) PdfPopupAnnotation
(Rectangle rect) PdfPrinterMarkAnnotation
(Rectangle rect, PdfFormXObject appearanceStream) PdfRedactAnnotation
(Rectangle rect) PdfScreenAnnotation
(Rectangle rect) PdfSoundAnnotation
(Rectangle rect, PdfStream sound) Creates a new Sound annotation.PdfSoundAnnotation
(PdfDocument document, Rectangle rect, InputStream soundStream, float sampleRate, PdfName encoding, int channels, int sampleSizeInBits) Creates a sound annotation.PdfSquareAnnotation
(Rectangle rect) PdfStampAnnotation
(Rectangle rect) PdfTextAnnotation
(Rectangle rect) PdfTextMarkupAnnotation
(Rectangle rect, PdfName subtype, float[] quadPoints) PdfTrapNetworkAnnotation
(Rectangle rect, PdfFormXObject appearanceStream) Creates aPdfTrapNetworkAnnotation
instance.PdfWidgetAnnotation
(Rectangle rect) -
Uses of Rectangle in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas with parameters of type RectangleModifier and TypeMethodDescriptionprivate PdfCanvas
PdfCanvas.addFormFittedIntoRectangle
(PdfFormXObject form, Rectangle rect) AddsPdfFormXObject
fitted into specific rectangle on canvas.PdfCanvas.addImageFittedIntoRectangle
(ImageData image, Rectangle rect, boolean asInline) CreatesPdfImageXObject
from image and fitted into specific rectangle on canvas.private PdfCanvas
PdfCanvas.addImageFittedIntoRectangle
(PdfImageXObject image, Rectangle rect) AddsPdfImageXObject
fitted into specific rectangle on canvas.PdfCanvas.addXObjectFittedIntoRectangle
(PdfXObject xObject, Rectangle rect) AddsPdfXObject
fitted into specific rectangle on canvas.Draws a rectangle. -
Uses of Rectangle in com.itextpdf.kernel.pdf.canvas.draw
Methods in com.itextpdf.kernel.pdf.canvas.draw with parameters of type RectangleModifier and TypeMethodDescriptionvoid
void
void
Performs configurable drawing operations related to specific region coordinates on a canvas.void
-
Uses of Rectangle in com.itextpdf.kernel.pdf.canvas.parser.filter
Fields in com.itextpdf.kernel.pdf.canvas.parser.filter declared as RectangleConstructors in com.itextpdf.kernel.pdf.canvas.parser.filter with parameters of type RectangleModifierConstructorDescriptionTextRegionEventFilter
(Rectangle filterRect) Constructs a filter instance. -
Uses of Rectangle in com.itextpdf.kernel.pdf.canvas.parser.listener
Fields in com.itextpdf.kernel.pdf.canvas.parser.listener declared as RectangleModifier and TypeFieldDescriptionprivate Rectangle
CharacterRenderInfo.boundingBox
private Rectangle
DefaultPdfTextLocation.rectangle
private Rectangle
TextMarginFinder.textRectangle
Methods in com.itextpdf.kernel.pdf.canvas.parser.listener that return RectangleModifier and TypeMethodDescriptionCharacterRenderInfo.getBoundingBox()
DefaultPdfTextLocation.getRectangle()
IPdfTextLocation.getRectangle()
TextMarginFinder.getTextRectangle()
Returns the common text rectangle, containing all the text found in the stream so far, otnull
, if no text has been found yet.Methods in com.itextpdf.kernel.pdf.canvas.parser.listener that return types with arguments of type RectangleModifier and TypeMethodDescriptionRegexBasedLocationExtractionStrategy.toRectangles
(List<CharacterRenderInfo> cris) ConvertsCharacterRenderInfo
objects toRectangle
s This method is protected and not final so that custom implementations can choose to override it.Methods in com.itextpdf.kernel.pdf.canvas.parser.listener with parameters of type RectangleConstructors in com.itextpdf.kernel.pdf.canvas.parser.listener with parameters of type Rectangle -
Uses of Rectangle in com.itextpdf.kernel.pdf.colorspace
Methods in com.itextpdf.kernel.pdf.colorspace that return RectangleModifier and TypeMethodDescriptionPdfPattern.Tiling.getBBox()
Gets the pattern cell's bounding box.Methods in com.itextpdf.kernel.pdf.colorspace with parameters of type RectangleModifier and TypeMethodDescriptionvoid
Sets the pattern cell's bounding box.Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type RectangleModifierConstructorDescriptionCreates a new Tiling instance.Creates a new Tiling instance.Creates a new Tiling instance.Creates a new Tiling instance. -
Uses of Rectangle in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject that return RectangleModifier and TypeMethodDescriptionstatic Rectangle
PdfFormXObject.calculateBBoxMultipliedByMatrix
(PdfFormXObject form) Calculates the coordinates of the xObject BBox multiplied by the Matrix field.static Rectangle
PdfXObject.calculateProportionallyFitRectangleWithHeight
(PdfXObject xObject, float x, float y, float height) Calculates a rectangle with the specified coordinates and height, and the width is calculated in such a way that the original proportions of the xObject do not change.static Rectangle
PdfXObject.calculateProportionallyFitRectangleWithWidth
(PdfXObject xObject, float x, float y, float width) Calculates a rectangle with the specified coordinates and width, and the height is calculated in such a way that the original proportions of the xObject do not change.Constructors in com.itextpdf.kernel.pdf.xobject with parameters of type RectangleModifierConstructorDescriptionPdfFormXObject
(Rectangle bBox) Creates a new instance of Form XObject. -
Uses of Rectangle in com.itextpdf.kernel.utils
Method parameters in com.itextpdf.kernel.utils with type arguments of type RectangleModifier and TypeMethodDescriptionCompareTool.compareByContent
(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas) Compares two PDF documents by content starting from page dictionaries and then recursively comparing corresponding objects which are referenced from them.CompareTool.compareByContent
(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas, byte[] outPass, byte[] cmpPass) This method overload is used to compare two encrypted PDF documents.private String
CompareTool.compareByContent
(String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas) CompareTool.compareVisually
(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas) Compares two documents visually.private String
CompareTool.compareVisually
(String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas) private String
CompareTool.compareVisually
(String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas, List<Integer> equalPages) private String
CompareTool.compareVisuallyAndCombineReports
(String compareByFailContentReason, String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas, List<Integer> equalPages) private void
-
Uses of Rectangle in com.itextpdf.kernel.utils.annotationsflattening
Methods in com.itextpdf.kernel.utils.annotationsflattening with parameters of type RectangleModifier and TypeMethodDescriptionprivate static float[]
AbstractTextMarkupAnnotationFlattener.convertFloatToQuadPoints
(Rectangle rectangle) -
Uses of Rectangle in com.itextpdf.layout
Fields in com.itextpdf.layout declared as RectangleModifier and TypeFieldDescriptionprotected Rectangle[]
ColumnDocumentRenderer.columns
protected Rectangle
Canvas.rootArea
Methods in com.itextpdf.layout that return RectangleModifier and TypeMethodDescriptionDocument.getPageEffectiveArea
(PageSize pageSize) Returns the area that will actually be used to write on the page, given the current margins.Canvas.getRootArea()
Gets the root area rectangle.Constructors in com.itextpdf.layout with parameters of type RectangleModifierConstructorDescriptionCreates a new Canvas to manipulate a specific content stream, which might be for example a page orPdfFormXObject
stream.Creates a new Canvas to manipulate a specific document and page.Creates a new Canvas to manipulate a specific page content stream.ColumnDocumentRenderer
(Document document, boolean immediateFlush, Rectangle[] columns) Creates a ColumnDocumentRenderer whose elements need not be flushed immediately.ColumnDocumentRenderer
(Document document, Rectangle[] columns) Creates a ColumnDocumentRenderer. -
Uses of Rectangle in com.itextpdf.layout.borders
Methods in com.itextpdf.layout.borders with parameters of type RectangleModifier and TypeMethodDescriptionvoid
Draw borders around the target rectangle.protected void
Border.drawDiscontinuousBorders
(PdfCanvas canvas, Rectangle boundingRectangle, float[] horizontalRadii, float[] verticalRadii, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter) Perform drawing operations to draw discontinuous borders. -
Uses of Rectangle in com.itextpdf.layout.layout
Fields in com.itextpdf.layout.layout declared as RectangleFields in com.itextpdf.layout.layout with type parameters of type RectangleMethods in com.itextpdf.layout.layout that return RectangleMethods in com.itextpdf.layout.layout that return types with arguments of type RectangleModifier and TypeMethodDescriptionLayoutContext.getFloatRendererAreas()
Gets list ofRectangle
objects.Methods in com.itextpdf.layout.layout with parameters of type RectangleConstructors in com.itextpdf.layout.layout with parameters of type RectangleModifierConstructorDescriptionLayoutArea
(int pageNumber, Rectangle bBox) Creates the area for contentlayouting
.RootLayoutArea
(int pageNumber, Rectangle bBox) Creates the root layout area.Constructor parameters in com.itextpdf.layout.layout with type arguments of type RectangleModifierConstructorDescriptionLayoutContext
(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas) Creates the layout context.LayoutContext
(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas, boolean clippedHeight) Creates the layout context.LineLayoutContext
(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas, boolean clippedHeight) Creates the context for content of a line. -
Uses of Rectangle in com.itextpdf.layout.margincollapse
Fields in com.itextpdf.layout.margincollapse declared as RectangleMethods in com.itextpdf.layout.margincollapse with parameters of type RectangleModifier and TypeMethodDescriptionprivate void
MarginsCollapseHandler.addNotYetAppliedTopMargin
(Rectangle layoutBox) private void
MarginsCollapseHandler.applyBottomMargin
(Rectangle box, float bottomIndent) private void
MarginsCollapseHandler.applySelfCollapsedKidMarginWithClearance
(Rectangle layoutBox) private void
MarginsCollapseHandler.applyTopMargin
(Rectangle box, float topIndent) void
MarginsCollapseHandler.endChildMarginsHandling
(Rectangle layoutBox) This method shall be called after child occupied area is included into parent occupied area.void
MarginsCollapseHandler.endMarginsCollapse
(Rectangle layoutBox) private void
MarginsCollapseHandler.prepareBoxForLayoutAttempt
(Rectangle layoutBox, int childIndex, boolean childIsBlockElement) private void
MarginsCollapseHandler.processUsedChildBufferSpaceOnTop
(Rectangle layoutBox) private void
MarginsCollapseHandler.restoreLayoutBoxAfterFailedLayoutAttempt
(Rectangle layoutBox) MarginsCollapseHandler.startChildMarginsHandling
(IRenderer child, Rectangle layoutBox) void
MarginsCollapseHandler.startMarginsCollapse
(Rectangle parentBBox) -
Uses of Rectangle in com.itextpdf.layout.minmaxwidth
Methods in com.itextpdf.layout.minmaxwidth with parameters of type RectangleModifier and TypeMethodDescriptionstatic double
RotationMinMaxWidth.calculateRotatedWidth
(Rectangle area, double angle) Utility method for calculating rotated width of area in a similar way to other calculations in this class. -
Uses of Rectangle in com.itextpdf.layout.properties
Methods in com.itextpdf.layout.properties with parameters of type RectangleModifier and TypeMethodDescriptionBackgroundRepeat.prepareRectangleToDrawingAndGetWhitespace
(Rectangle imageRectangle, Rectangle backgroundArea, BackgroundSize backgroundSize) Prepares the image rectangle for drawing.private Point
BackgroundRepeat.processSpaceValueAndCalculateWhitespace
(Rectangle imageRectangle, Rectangle backgroundArea) -
Uses of Rectangle in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as RectangleModifier and TypeFieldDescriptionprivate final Rectangle
GridSizer.actualBBox
private Rectangle
ImageRenderer.initialOccupiedAreaBBox
private final Rectangle
GridCell.layoutArea
private Rectangle
FlexItemInfo.rectangle
Fields in com.itextpdf.layout.renderer with type parameters of type RectangleModifier and TypeFieldDescriptionRootRenderer.floatRendererAreas
RootRendererAreaStateHandler.storedNextFloatRenderAreas
RootRendererAreaStateHandler.storedPreviousFloatRenderAreas
Methods in com.itextpdf.layout.renderer that return RectangleModifier and TypeMethodDescriptionprivate Rectangle
AbstractRenderer.applyBackgroundBoxProperty
(Rectangle rectangle, BackgroundBox clip) AbstractRenderer.applyBorderBox
(Rectangle rect, boolean reverse) Applies the border box of the renderer on the given rectangle If the border of a certain side is null, the side will remain as it was.protected Rectangle
AbstractRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) Applies the given border box (borders) on the given rectangleprotected Rectangle
CellRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) protected Rectangle
TableRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) AbstractRenderer.applyMargins
(Rectangle rect, boolean reverse) Applies margins of the renderer on the given rectangleprotected Rectangle
AbstractRenderer.applyMargins
(Rectangle rect, UnitValue[] margins, boolean reverse) Applies given margins on the given rectangleprotected Rectangle
CellRenderer.applyMargins
(Rectangle rect, UnitValue[] margins, boolean reverse) (package private) Rectangle
AbstractRenderer.applyMarginsBordersPaddings
(Rectangle rect, boolean reverse) Applies margins, borders and paddings of the renderer on the given rectangle.AbstractRenderer.applyPaddings
(Rectangle rect, boolean reverse) Applies paddings of the renderer on the given rectangleprotected Rectangle
AbstractRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) Applies given paddings to the given rectangle.protected Rectangle
ImageRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) TableRenderer.applyPaddings
(Rectangle rect, boolean reverse) protected Rectangle
TableRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) private Rectangle
TableRenderer.applySingleSpacing
(Rectangle rect, float spacing, boolean isHorizontal, boolean reverse) Applies the given horizontal or vertical spacing on the given rectangleprivate Rectangle
TableRenderer.applySpacing
(Rectangle rect, float horizontalSpacing, float verticalSpacing, boolean reverse) Applies the given spacings on the given rectangleprotected Rectangle
CellRenderer.applySpacings
(Rectangle rect, boolean reverse) Applies spacings on the given rectangle.protected Rectangle
CellRenderer.applySpacings
(Rectangle rect, float[] spacings, boolean reverse) Applies given spacings on the given rectangle.protected Rectangle
AbstractRenderer.calculateAbsolutePdfBBox()
Calculates the bounding box of the content in the coordinate system of the pdf entity on which content is placed, e.g.protected Rectangle
AbstractRenderer.calculateBBox
(List<Point> points) Calculates bounding box around points.private static Rectangle[]
FloatingHelper.findLastLeftAndRightBoxes
(Rectangle layoutBox, List<Rectangle> yLevelBoxes) private static Rectangle
InlineVerticalAlignmentHelper.getAdjustedArea
(IRenderer renderer) protected Rectangle
AbstractRenderer.getBackgroundArea
(Rectangle occupiedAreaWithMargins) Evaluate the actual backgroundprotected Rectangle
TextRenderer.getBackgroundArea
(Rectangle occupiedAreaWithMargins) AbstractRenderer.getBorderAreaBBox()
Gets the border box of a renderer.ImageRenderer.getBorderAreaBBox()
private Rectangle
DocumentRenderer.getCurrentPageEffectiveArea
(PageSize pageSize) AbstractRenderer.getInnerAreaBBox()
(package private) Rectangle
GridCell.getLayoutArea()
AbstractRenderer.getOccupiedAreaBBox()
Gets the bounding box that contains all content written to theDrawContext
by thisIRenderer
.BlockRenderer.getOccupiedAreaBBox()
FlexItemInfo.getRectangle()
(package private) static Rectangle
FloatingHelper.includeChildFloatsInOccupiedArea
(List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, Set<Rectangle> nonChildFloatingRendererAreas) (package private) Rectangle
BlockRenderer.recalculateLayoutBoxBeforeChildLayout
(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox) (package private) Rectangle
FlexContainerRenderer.recalculateLayoutBoxBeforeChildLayout
(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox) FlexUtil.FlexItemCalculationInfo.toRectangle()
Methods in com.itextpdf.layout.renderer that return types with arguments of type RectangleModifier and TypeMethodDescriptionFloatingHelper.getBoxesAtYLevel
(List<Rectangle> floatRendererAreas, float currY) AbstractRenderer.initElementAreas
(LayoutArea area) Gets all rectangles that thisIRenderer
can draw upon in the given area.Methods in com.itextpdf.layout.renderer with parameters of type RectangleModifier and TypeMethodDescriptionprivate static void
FloatingHelper.adjustBlockAreaAccordingToFloatRenderers
(List<Rectangle> floatRendererAreas, Rectangle layoutBox, float blockWidth, boolean isFloatLeft) (package private) static float
FloatingHelper.adjustBlockFormattingContextLayoutBox
(BlockRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox, float blockWidth, float clearHeightCorrection) private static void
FloatingHelper.adjustBoxForFloatRight
(Rectangle layoutBox, float blockWidth) private void
TableRenderer.adjustCaptionAndFixOccupiedArea
(Rectangle layoutBox, float verticalBorderSpacing) If there is some space left, we will move the caption up, because initially the caption is at the very bottom of the area.(package private) static Float
FloatingHelper.adjustFloatedBlockLayoutBox
(AbstractRenderer renderer, Rectangle parentBBox, Float blockWidth, List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue, OverflowPropertyValue overflowX) (package private) static void
FloatingHelper.adjustFloatedTableLayoutBox
(TableRenderer tableRenderer, Rectangle layoutBox, float tableWidth, List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue) private void
TableRenderer.adjustFooterAndFixOccupiedArea
(Rectangle layoutBox, float verticalBorderSpacing) If there is some space left, we will move the footer up, because initially the footer is at the very bottom of the area.(package private) static float
FloatingHelper.adjustLayoutBoxAccordingToFloats
(List<Rectangle> floatRendererAreas, Rectangle layoutBox, Float boxWidth, float clearHeightCorrection, MarginsCollapseHandler marginsCollapseHandler) (package private) static void
FloatingHelper.adjustLineAreaAccordingToFloats
(List<Rectangle> floatRendererAreas, Rectangle layoutBox) private void
LineRenderer.adjustLineOnFloatPlaced
(Rectangle layoutBox, int childPos, FloatPropertyValue kidFloatPropertyVal, Rectangle justPlacedFloatBox) private void
AbstractRenderer.adjustPositionedRendererLayoutBoxWidth
(IRenderer renderer, Rectangle fullBbox, Float left, Float right) (package private) static LayoutArea
FloatingHelper.adjustResultOccupiedAreaForFloatAndClear
(IRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, boolean marginsCollapsingEnabled) (package private) static LayoutArea
FloatingHelper.adjustResultOccupiedAreaForFloatAndClear
(IRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, float bfcHeightCorrection, boolean marginsCollapsingEnabled) protected void
AbstractRenderer.alignChildHorizontally
(IRenderer childRenderer, Rectangle currentArea) protected void
AbstractRenderer.applyAbsolutePosition
(Rectangle parentRect) private Rectangle
AbstractRenderer.applyBackgroundBoxProperty
(Rectangle rectangle, BackgroundBox clip) AbstractRenderer.applyBorderBox
(Rectangle rect, boolean reverse) Applies the border box of the renderer on the given rectangle If the border of a certain side is null, the side will remain as it was.protected Rectangle
AbstractRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) Applies the given border box (borders) on the given rectangleprotected Rectangle
CellRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) protected Rectangle
TableRenderer.applyBorderBox
(Rectangle rect, Border[] borders, boolean reverse) protected TableBorders
CollapsedTableBorders.applyBottomTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse) protected TableBorders
CollapsedTableBorders.applyBottomTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse) protected TableBorders
SeparatedTableBorders.applyBottomTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse) protected TableBorders
SeparatedTableBorders.applyBottomTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse) protected abstract TableBorders
TableBorders.applyBottomTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse) protected abstract TableBorders
TableBorders.applyBottomTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse) protected TableBorders
CollapsedTableBorders.applyCellIndents
(Rectangle box, float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse) protected TableBorders
SeparatedTableBorders.applyCellIndents
(Rectangle box, float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse) protected abstract TableBorders
TableBorders.applyCellIndents
(Rectangle box, float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse) (package private) static void
FloatingHelper.applyClearance
(Rectangle layoutBox, MarginsCollapseHandler marginsCollapseHandler, float clearHeightAdjustment, boolean isFloat) private void
TableRenderer.applyFixedXOrYPosition
(boolean isXPosition, Rectangle layoutBox) protected TableBorders
CollapsedTableBorders.applyLeftAndRightTableBorder
(Rectangle layoutBox, boolean reverse) protected TableBorders
SeparatedTableBorders.applyLeftAndRightTableBorder
(Rectangle layoutBox, boolean reverse) protected abstract TableBorders
TableBorders.applyLeftAndRightTableBorder
(Rectangle layoutBox, boolean reverse) AbstractRenderer.applyMargins
(Rectangle rect, boolean reverse) Applies margins of the renderer on the given rectangleprotected Rectangle
AbstractRenderer.applyMargins
(Rectangle rect, UnitValue[] margins, boolean reverse) Applies given margins on the given rectangleprotected Rectangle
CellRenderer.applyMargins
(Rectangle rect, UnitValue[] margins, boolean reverse) (package private) void
TableRenderer.applyMarginsAndPaddingsAndCalculateColumnWidths
(Rectangle layoutBox) (package private) Rectangle
AbstractRenderer.applyMarginsBordersPaddings
(Rectangle rect, boolean reverse) Applies margins, borders and paddings of the renderer on the given rectangle.(package private) boolean
BlockRenderer.applyMaxHeight
(Rectangle parentBBox, Float blockMaxHeight, MarginsCollapseHandler marginsCollapseHandler, boolean isCellRenderer, boolean wasParentsHeightClipped, OverflowPropertyValue overflowY) (package private) AbstractRenderer
BlockRenderer.applyMinHeight
(OverflowPropertyValue overflowY, Rectangle layoutBox) AbstractRenderer.applyPaddings
(Rectangle rect, boolean reverse) Applies paddings of the renderer on the given rectangleprotected Rectangle
AbstractRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) Applies given paddings to the given rectangle.protected Rectangle
ImageRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) TableRenderer.applyPaddings
(Rectangle rect, boolean reverse) protected Rectangle
TableRenderer.applyPaddings
(Rectangle rect, UnitValue[] paddings, boolean reverse) protected void
BlockRenderer.applyRotationLayout
(Rectangle layoutBox) This method rotates content of the renderer and calculates correct occupied area for the rotated element.private Rectangle
TableRenderer.applySingleSpacing
(Rectangle rect, float spacing, boolean isHorizontal, boolean reverse) Applies the given horizontal or vertical spacing on the given rectangleprivate Rectangle
TableRenderer.applySpacing
(Rectangle rect, float horizontalSpacing, float verticalSpacing, boolean reverse) Applies the given spacings on the given rectangleprotected Rectangle
CellRenderer.applySpacings
(Rectangle rect, boolean reverse) Applies spacings on the given rectangle.protected Rectangle
CellRenderer.applySpacings
(Rectangle rect, float[] spacings, boolean reverse) Applies given spacings on the given rectangle.private void
ParagraphRenderer.applyTextAlignment
(TextAlignment textAlignment, LineLayoutResult result, LineRenderer processedRenderer, Rectangle layoutBox, List<Rectangle> floatRendererAreas, boolean onlyOverflowedFloatsLeft, float lineIndent) protected TableBorders
CollapsedTableBorders.applyTopTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse) protected TableBorders
CollapsedTableBorders.applyTopTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse) protected TableBorders
SeparatedTableBorders.applyTopTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse) protected TableBorders
SeparatedTableBorders.applyTopTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse) protected abstract TableBorders
TableBorders.applyTopTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse) protected abstract TableBorders
TableBorders.applyTopTableBorder
(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse) (package private) void
BlockRenderer.applyWidth
(Rectangle parentBBox, Float blockWidth, OverflowPropertyValue overflowX) private void
MulticolRenderer.applyWidth
(Rectangle parentBbox, float originalWidth) MulticolRenderer.balanceContentAndLayoutColumns
(LayoutContext prelayoutContext, Rectangle actualBbox) static List
<List<FlexItemInfo>> FlexUtil.calculateChildrenRectangles
(Rectangle flexContainerBBox, FlexContainerRenderer flexContainerRenderer) Performs flex layout algorithm.(package private) static float
FloatingHelper.calculateClearHeightCorrection
(IRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox) private void
ImageRenderer.calculateImageDimensions
(Rectangle layoutBox, AffineTransform t, PdfXObject xObject) (package private) static Float
FloatingHelper.calculateLineShiftUnderFloats
(List<Rectangle> floatRendererAreas, Rectangle layoutBox) private static float
FloatingHelper.calculateLowestFloatBottom
(boolean isLeftOrBoth, boolean isRightOrBoth, float lowestFloatBottom, Rectangle[] lastLeftAndRightBoxes, List<Rectangle> floatRendererAreas) private static float
InlineVerticalAlignmentHelper.calculateOffset
(IRenderer renderer, Rectangle cBBox, InlineVerticalAlignment alignment, float baseline, float textTop, float textBottom, float leading, float xHeight, Rectangle pBBox) private float[]
AbstractRenderer.calculateRadii
(BorderRadius[] radii, Rectangle area, boolean horizontal) Calculates the element corner's border radii.private float
LineRenderer.calculateTab
(Rectangle layoutBox, float curWidth, TabStop tabStop, List<IRenderer> affectedRenderers, IRenderer tabRenderer) Calculates and sets tab size with the account of the element that is next in the line after the tab.private boolean
AbstractRenderer.clipArea
(DrawContext drawContext, Rectangle outerBorderBox, boolean clipOuter, boolean clipInner, boolean considerBordersBeforeOuterClipping, boolean considerBordersBeforeInnerClipping) protected boolean
AbstractRenderer.clipBackgroundArea
(DrawContext drawContext, Rectangle outerBorderBox) protected boolean
AbstractRenderer.clipBackgroundArea
(DrawContext drawContext, Rectangle outerBorderBox, boolean considerBordersBeforeClipping) protected boolean
AbstractRenderer.clipBorderArea
(DrawContext drawContext, Rectangle outerBorderBox) private static Grid
GridContainerRenderer.constructGrid
(GridContainerRenderer renderer, Rectangle actualBBox) (package private) void
BlockRenderer.correctFixedLayout
(Rectangle layoutBox) private void
TableRenderer.correctLayoutedCellsOccupiedAreas
(LayoutResult[] splits, int row, int[] targetOverflowRowIndex, Float blockMinHeight, Rectangle layoutBox, List<Boolean> rowsHasCellWithSetHeight, boolean isLastRenderer, boolean processBigRowspan, boolean skip) static PdfFormXObject
AbstractRenderer.createXObject
(AbstractLinearGradientBuilder linearGradientBuilder, Rectangle xObjectArea, PdfDocument document) Create aPdfFormXObject
with the given area and containing a linear gradient inside.(package private) void
BlockRenderer.decreaseLayoutBoxAfterChildPlacement
(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer) (package private) void
FlexContainerRenderer.decreaseLayoutBoxAfterChildPlacement
(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer) (package private) void
FlexContainerRenderer.decreaseLayoutBoxAfterChildPlacementColumnLayout
(Rectangle layoutBox, IRenderer childRenderer) (package private) void
FlexContainerRenderer.decreaseLayoutBoxAfterChildPlacementRowLayout
(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer) private Float
MulticolRenderer.determineHeight
(Rectangle parentBBox) private void
AbstractRenderer.drawBackgroundImage
(BackgroundImage backgroundImage, DrawContext drawContext, Rectangle backgroundArea) private boolean
AbstractRenderer.drawBackgroundImagesList
(List<BackgroundImage> backgroundImagesList, boolean backgroundAreaIsClipped, DrawContext drawContext, Rectangle backgroundArea) private void
AbstractRenderer.drawColorBackground
(Background background, DrawContext drawContext, Rectangle colorBackgroundArea) private static void
AbstractRenderer.drawPdfXObject
(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, Rectangle originBackgroundArea) private static void
AbstractRenderer.drawPdfXObjectHorizontally
(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, boolean firstDraw, float xWhitespace) protected void
TableRenderer.extendLastRow
(CellRenderer[] lastRow, Rectangle freeBox) private static Rectangle[]
FloatingHelper.findLastLeftAndRightBoxes
(Rectangle layoutBox, List<Rectangle> yLevelBoxes) protected TableBorders
CollapsedTableBorders.fixHeaderOccupiedArea
(Rectangle occupiedBox, Rectangle layoutBox) protected TableBorders
SeparatedTableBorders.fixHeaderOccupiedArea
(Rectangle occupiedBox, Rectangle layoutBox) protected abstract TableBorders
TableBorders.fixHeaderOccupiedArea
(Rectangle occupiedBox, Rectangle layoutBox) (package private) void
BlockRenderer.fixOccupiedAreaIfOverflowedX
(OverflowPropertyValue overflowX, Rectangle layoutBox) (package private) void
FlexContainerRenderer.fixOccupiedAreaIfOverflowedX
(OverflowPropertyValue overflowX, Rectangle layoutBox) (package private) void
BlockRenderer.fixOccupiedAreaIfOverflowedY
(OverflowPropertyValue overflowY, Rectangle layoutBox) protected Rectangle
AbstractRenderer.getBackgroundArea
(Rectangle occupiedAreaWithMargins) Evaluate the actual backgroundprotected Rectangle
TextRenderer.getBackgroundArea
(Rectangle occupiedAreaWithMargins) private static LayoutContext
GridContainerRenderer.getCellLayoutContext
(LayoutContext layoutContext, Rectangle actualBBox, GridCell cell) private static Float[]
FlexUtil.getCrossSizes
(FlexContainerRenderer renderer, Rectangle layoutBox) private static Float
RotationUtils.getLayoutRotatedWidth
(AbstractRenderer renderer, float availableWidth, Rectangle previousBBox, double angle) (package private) static float
FlexUtil.getMainSize
(FlexContainerRenderer renderer, Rectangle layoutBox) (package private) static void
FlexUtil.handleAlignContentStretch
(FlexContainerRenderer flexContainerRenderer, List<List<FlexUtil.FlexItemCalculationInfo>> lines, Float crossSize, List<Float> lineCrossSizes, Rectangle layoutBox) (package private) static Rectangle
FloatingHelper.includeChildFloatsInOccupiedArea
(List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, Set<Rectangle> nonChildFloatingRendererAreas) (package private) boolean
LineRenderer.isForceOverflowForTextRendererPartialResult
(IRenderer childRenderer, boolean wasXOverflowChanged, OverflowPropertyValue oldXOverflow, LayoutContext layoutContext, Rectangle layoutBox, boolean wasParentsHeightClipped) Checks if the word that's been split when has been layouted on this line can fit the next line without splitting.MulticolRenderer.layoutColumnsAndReturnOverflowRenderer
(LayoutContext preLayoutContext, Rectangle actualBBox, float workingHeight) GridContainerRenderer.layoutGrid
(LayoutContext layoutContext, Rectangle actualBBox, Grid grid) protected MulticolRenderer.MulticolLayoutResult
MulticolRenderer.layoutInColumns
(LayoutContext layoutContext, Rectangle actualBBox) Layouts multicol in the passed area.(package private) void
AbstractRenderer.preparePositionedRendererAndAreaForLayout
(IRenderer childPositionedRenderer, Rectangle fullBbox, Rectangle parentBbox) (package private) LayoutResult
BlockRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) (package private) LayoutResult
FlexContainerRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) (package private) Rectangle
BlockRenderer.recalculateLayoutBoxBeforeChildLayout
(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox) (package private) Rectangle
FlexContainerRenderer.recalculateLayoutBoxBeforeChildLayout
(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox) (package private) void
BlockRenderer.recalculateOccupiedAreaAfterChildLayout
(Rectangle resultBBox, Float blockMaxHeight) (package private) void
FlexContainerRenderer.recalculateOccupiedAreaAfterChildLayout
(Rectangle resultBBox, Float blockMaxHeight) AbstractRenderer.rectangleToPointsList
(Rectangle rect) FlexUtil.retrieveCurrentPageLineCrossSizes
(FlexContainerRenderer flexContainerRenderer, List<List<FlexUtil.FlexItemCalculationInfo>> lines, List<Float> lineCrossSizes, Float crossSize, Rectangle layoutBox) FlexContainerRenderer.retrieveRenderersToOverflow
(Rectangle flexContainerBBox) (package private) MarginsCollapseInfo
BlockRenderer.startChildMarginsHandling
(IRenderer childRenderer, Rectangle layoutBox, MarginsCollapseHandler marginsCollapseHandler) (package private) MarginsCollapseInfo
FlexContainerRenderer.startChildMarginsHandling
(IRenderer childRenderer, Rectangle layoutBox, MarginsCollapseHandler marginsCollapseHandler) private void
AbstractRenderer.updateMinHeightForAbsolutelyPositionedRenderer
(IRenderer renderer, Rectangle parentRendererBox, Float top, Float bottom) Method parameters in com.itextpdf.layout.renderer with type arguments of type RectangleModifier and TypeMethodDescriptionprivate static void
FloatingHelper.adjustBlockAreaAccordingToFloatRenderers
(List<Rectangle> floatRendererAreas, Rectangle layoutBox, float blockWidth, boolean isFloatLeft) (package private) static float
FloatingHelper.adjustBlockFormattingContextLayoutBox
(BlockRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox, float blockWidth, float clearHeightCorrection) (package private) static Float
FloatingHelper.adjustFloatedBlockLayoutBox
(AbstractRenderer renderer, Rectangle parentBBox, Float blockWidth, List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue, OverflowPropertyValue overflowX) (package private) static void
FloatingHelper.adjustFloatedTableLayoutBox
(TableRenderer tableRenderer, Rectangle layoutBox, float tableWidth, List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue) (package private) static float
FloatingHelper.adjustLayoutBoxAccordingToFloats
(List<Rectangle> floatRendererAreas, Rectangle layoutBox, Float boxWidth, float clearHeightCorrection, MarginsCollapseHandler marginsCollapseHandler) (package private) static void
FloatingHelper.adjustLineAreaAccordingToFloats
(List<Rectangle> floatRendererAreas, Rectangle layoutBox) (package private) static LayoutArea
FloatingHelper.adjustResultOccupiedAreaForFloatAndClear
(IRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, boolean marginsCollapsingEnabled) (package private) static LayoutArea
FloatingHelper.adjustResultOccupiedAreaForFloatAndClear
(IRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, float bfcHeightCorrection, boolean marginsCollapsingEnabled) private void
ParagraphRenderer.applyTextAlignment
(TextAlignment textAlignment, LineLayoutResult result, LineRenderer processedRenderer, Rectangle layoutBox, List<Rectangle> floatRendererAreas, boolean onlyOverflowedFloatsLeft, float lineIndent) (package private) static float
FloatingHelper.calculateClearHeightCorrection
(IRenderer renderer, List<Rectangle> floatRendererAreas, Rectangle parentBBox) (package private) static Float
FloatingHelper.calculateLineShiftUnderFloats
(List<Rectangle> floatRendererAreas, Rectangle layoutBox) private static float
FloatingHelper.calculateLowestFloatBottom
(boolean isLeftOrBoth, boolean isRightOrBoth, float lowestFloatBottom, Rectangle[] lastLeftAndRightBoxes, List<Rectangle> floatRendererAreas) private static Rectangle[]
FloatingHelper.findLastLeftAndRightBoxes
(Rectangle layoutBox, List<Rectangle> yLevelBoxes) FloatingHelper.getBoxesAtYLevel
(List<Rectangle> floatRendererAreas, float currY) (package private) static Rectangle
FloatingHelper.includeChildFloatsInOccupiedArea
(List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, Set<Rectangle> nonChildFloatingRendererAreas) (package private) static Rectangle
FloatingHelper.includeChildFloatsInOccupiedArea
(List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, Set<Rectangle> nonChildFloatingRendererAreas) (package private) static void
FloatingHelper.includeChildFloatsInOccupiedArea
(List<Rectangle> floatRendererAreas, IRenderer renderer, Set<Rectangle> nonChildFloatingRendererAreas) (package private) static void
FloatingHelper.includeChildFloatsInOccupiedArea
(List<Rectangle> floatRendererAreas, IRenderer renderer, Set<Rectangle> nonChildFloatingRendererAreas) (package private) LayoutResult
BlockRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) (package private) LayoutResult
FlexContainerRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) (package private) static void
FloatingHelper.removeFloatsAboveRendererBottom
(List<Rectangle> floatRendererAreas, IRenderer renderer) Constructors in com.itextpdf.layout.renderer with parameters of type RectangleModifierConstructorDescriptionFlexItemInfo
(AbstractRenderer renderer, Rectangle rectangle) (package private)
GridSizer
(Grid grid, List<GridValue> templateColumns, List<GridValue> templateRows, GridValue columnAutoWidth, GridValue rowAutoHeight, float columnGap, float rowGap, Rectangle actualBBox) Creates new grid sizer instance. -
Uses of Rectangle in com.itextpdf.signatures
Fields in com.itextpdf.signatures declared as RectangleModifier and TypeFieldDescriptionprivate Rectangle
PdfSignatureAppearance.pageRect
Rectangle that represent the position and dimension of the signature in the page.private Rectangle
SignerProperties.pageRect
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.signatures that return RectangleModifier and TypeMethodDescriptionPdfSignatureAppearance.getPageRect()
Deprecated.won't be public in the next major release.PdfSigner.getPageRect()
Provides the rectangle that represent the position and dimension of the signature field in the page.SignerProperties.getPageRect()
Provides the rectangle that represent the position and dimension of the signature field in the page.protected Rectangle
PdfSigner.getWidgetRectangle
(PdfWidgetAnnotation widget) Get the rectangle associated to the provided widget.Methods in com.itextpdf.signatures with parameters of type RectangleModifier and TypeMethodDescriptionPdfSignatureAppearance.setPageRect
(Rectangle pageRect) Deprecated.won't be public in the next major release.PdfSigner.setPageRect
(Rectangle pageRect) Sets the rectangle that represent the position and dimension of the signature field in the page.SignerProperties.setPageRect
(Rectangle pageRect) Sets the rectangle that represent the position and dimension of the signature field in the page.Constructors in com.itextpdf.signatures with parameters of type RectangleModifierConstructorDescriptionprotected
PdfSignatureAppearance
(PdfDocument document, Rectangle pageRect, int pageNumber) Creates a PdfSignatureAppearance. -
Uses of Rectangle in com.itextpdf.styledxmlparser.css.page
Fields in com.itextpdf.styledxmlparser.css.page declared as RectangleModifier and TypeFieldDescriptionprivate Rectangle
PageMarginBoxContextNode.containingBlockForMarginBox
private Rectangle
PageMarginBoxContextNode.pageMarginBoxRectangle
Methods in com.itextpdf.styledxmlparser.css.page that return RectangleModifier and TypeMethodDescriptionPageMarginBoxContextNode.getContainingBlockForMarginBox()
PageMarginBoxContextNode.getPageMarginBoxRectangle()
Gets the rectangle in which page margin box contents should be shown.Methods in com.itextpdf.styledxmlparser.css.page with parameters of type RectangleModifier and TypeMethodDescriptionvoid
PageMarginBoxContextNode.setContainingBlockForMarginBox
(Rectangle containingBlockForMarginBox) Sets the containing block rectangle for the margin box, which is used for calculating some of the margin box properties relative values.void
PageMarginBoxContextNode.setPageMarginBoxRectangle
(Rectangle pageMarginBoxRectangle) Sets the rectangle in which page margin box contents are shown. -
Uses of Rectangle in com.itextpdf.svg.renderers
Fields in com.itextpdf.svg.renderers with type parameters of type RectangleMethods in com.itextpdf.svg.renderers that return RectangleModifier and TypeMethodDescriptionSvgDrawContext.getCurrentViewPort()
Get the current viewbox.ISvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) Calculates the current object bounding box.SvgDrawContext.getRootViewPort()
Get the viewbox which is the root viewport for the current document.Methods in com.itextpdf.svg.renderers with parameters of type RectangleModifier and TypeMethodDescriptionvoid
SvgDrawContext.addViewPort
(Rectangle viewPort) Adds a viewbox to the context.ISvgPaintServer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) Creates theColor
that represents the corresponding paint server for specified object box. -
Uses of Rectangle in com.itextpdf.svg.renderers.impl
Methods in com.itextpdf.svg.renderers.impl that return RectangleModifier and TypeMethodDescriptionprivate Rectangle
PatternSvgNodeRenderer.calculateAppliedViewBox
(Rectangle viewBox, double xStep, double yStep) private Rectangle
PatternSvgNodeRenderer.calculateOriginalPatternRectangle
(SvgDrawContext context, boolean isObjectBoundingBoxInPatternUnits) (package private) Rectangle
AbstractContainerSvgNodeRenderer.calculateViewPort
(SvgDrawContext context) Calculate the viewport based on the context.(package private) Rectangle
PdfRootSvgNodeRenderer.calculateViewPort
(SvgDrawContext context) ClipPathSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) DefsSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) EllipseSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) GroupSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) ImageSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) LinearGradientSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) LineSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) MarkerSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PathSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PatternSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PdfRootSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PolylineSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) RectangleSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) StopSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) SvgTagSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) SymbolSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) TextLeafSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) TextSvgBranchRenderer.getObjectBoundingBox
(SvgDrawContext context) TextSvgTSpanBranchRenderer.getObjectBoundingBox
(SvgDrawContext context) UseSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) Methods in com.itextpdf.svg.renderers.impl with parameters of type RectangleModifier and TypeMethodDescription(package private) void
AbstractBranchSvgNodeRenderer.calculateAndApplyViewBox
(SvgDrawContext context, float[] values, Rectangle currentViewPort) private Rectangle
PatternSvgNodeRenderer.calculateAppliedViewBox
(Rectangle viewBox, double xStep, double yStep) LinearGradientSvgNodeRenderer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) PatternSvgNodeRenderer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) private static PdfPattern.Tiling
PatternSvgNodeRenderer.createColoredTilingPatternInstance
(AffineTransform patternAffineTransform, Rectangle bbox, double xStep, double yStep) private PdfPattern.Tiling
PatternSvgNodeRenderer.createTilingPattern
(SvgDrawContext context, Rectangle objectBoundingBox) private AffineTransform
LinearGradientSvgNodeRenderer.getGradientTransformToUserSpaceOnUse
(Rectangle objectBoundingBox, boolean isObjectBoundingBox) private static AffineTransform
PatternSvgNodeRenderer.getTransformToUserSpaceOnUse
(Rectangle objectBoundingBox) -
Uses of Rectangle in com.itextpdf.svg.renderers.path
Methods in com.itextpdf.svg.renderers.path that return RectangleModifier and TypeMethodDescriptionIPathShape.getPathShapeRectangle
(Point lastPoint) Get bounding rectangle of the current path shape. -
Uses of Rectangle in com.itextpdf.svg.renderers.path.impl
Methods in com.itextpdf.svg.renderers.path.impl that return RectangleModifier and TypeMethodDescriptionAbstractPathShape.getPathShapeRectangle
(Point lastPoint) Get bounding rectangle of the current path shape.CurveTo.getPathShapeRectangle
(Point lastPoint) EllipticalCurveTo.getPathShapeRectangle
(Point lastPoint) QuadraticCurveTo.getPathShapeRectangle
(Point lastPoint) -
Uses of Rectangle in com.itextpdf.svg.utils
Subclasses of Rectangle in com.itextpdf.svg.utilsModifier and TypeClassDescriptionclass
A rectangle adapted for working with text elements.Methods in com.itextpdf.svg.utils that return RectangleModifier and TypeMethodDescriptionstatic Rectangle
SvgCoordinateUtils.applyViewBox
(Rectangle viewBox, Rectangle currentViewPort, String align, String meetOrSlice) Returns the viewBox received after scaling and displacement given preserveAspectRatio.Methods in com.itextpdf.svg.utils with parameters of type RectangleModifier and TypeMethodDescriptionstatic Rectangle
SvgCoordinateUtils.applyViewBox
(Rectangle viewBox, Rectangle currentViewPort, String align, String meetOrSlice) Returns the viewBox received after scaling and displacement given preserveAspectRatio.private static double
SvgCoordinateUtils.getScaleWidthHeight
(Rectangle viewBox, Rectangle currentViewPort, String meetOrSlice) -
Uses of Rectangle in com.itextpdf.svg.xobject
Constructors in com.itextpdf.svg.xobject with parameters of type RectangleModifierConstructorDescriptionSvgImageXObject
(Rectangle bBox, ISvgProcessorResult result, ResourceResolver resourceResolver) Creates a new instance of Form XObject for the SVG image.