Uses of Class
com.itextpdf.kernel.geom.Rectangle
-
-
Uses of Rectangle in com.itextpdf.barcodes
Methods in com.itextpdf.barcodes that return Rectangle Modifier and Type Method Description RectangleBarcode128. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.abstract RectangleBarcode1D. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.abstract RectangleBarcode2D. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcode39. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeCodabar. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeDataMatrix. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeDataMatrix. getBarcodeSize(float moduleHeight, float moduleWidth)Gets the barcode sizeRectangleBarcodeEAN. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeEANSUPP. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeInter25. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodeMSI. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodePDF417. getBarcodeSize()Gets the maximum area that the barcode and the text, if any, will occupy.RectangleBarcodePostnet. getBarcodeSize()RectangleBarcodeQRCode. getBarcodeSize()Gets the size of the barcode gridRectangleBarcodeQRCode. getBarcodeSize(float moduleSize)Gets the barcode sizeRectangleBarcode128. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.abstract RectangleBarcode1D. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.abstract RectangleBarcode2D. placeBarcode(PdfCanvas canvas, Color foreground)Places the barcode in aPdfCanvas.RectangleBarcode39. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeCodabar. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeDataMatrix. placeBarcode(PdfCanvas canvas, Color foreground)Places the barcode in aPdfCanvas.RectangleBarcodeDataMatrix. placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)Places the barcode in a PdfCanvasRectangleBarcodeEAN. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeEANSUPP. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeInter25. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeMSI. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodePDF417. placeBarcode(PdfCanvas canvas, Color foreground)Places the barcode in aPdfCanvas.RectangleBarcodePDF417. placeBarcode(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight)Places the barcode in aPdfCanvas.RectangleBarcodePostnet. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)RectangleBarcodeQRCode. placeBarcode(PdfCanvas canvas, Color foreground)RectangleBarcodeQRCode. 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 Rectangle Modifier and Type Method Description private AffineTransformPdfAcroForm. calcFieldAppTransformToAnnotRect(PdfFormXObject xObject, Rectangle annotBBox) -
Uses of Rectangle in com.itextpdf.forms.fields
Fields in com.itextpdf.forms.fields declared as Rectangle Modifier and Type Field Description private RectangleTerminalFormFieldBuilder. widgetRectangleRectangle which defines widget placement.Methods in com.itextpdf.forms.fields that return Rectangle Modifier and Type Method Description private RectanglePdfFormAnnotation. applyRotation(int fieldRotation, Rectangle rectangle)protected RectanglePdfFormAnnotation. getRect(PdfDictionary field)Gets aRectanglethat matches the current size and position of this form field.RectangleTerminalFormFieldBuilder. getWidgetRectangle()Gets rectangle which defines widget's placement.Methods in com.itextpdf.forms.fields with parameters of type Rectangle Modifier and Type Method Description private RectanglePdfFormAnnotation. applyRotation(int fieldRotation, Rectangle rectangle)PdfFormAnnotationRadioFormFieldBuilder. createRadioButton(java.lang.String appearanceName, Rectangle rectangle)Creates radio button form field instance based on provided parameters.private static booleanPdfFormAnnotation. isFieldInvisible(Rectangle rect)Gets the visibility status of the signature.private voidPdfFormAnnotation. setModelElementProperties(Rectangle rectangle)TTerminalFormFieldBuilder. 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 Rectangle Modifier and Type Method Description protected RectangleCheckBoxRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)Applies the given border box (borders) on the given rectangleprotected RectangleRadioRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)Applies the given border box (borders) on the given rectangleprotected RectangleCheckBoxRenderer. 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 Rectangle Modifier and Type Method Description private voidSignatureAppearanceRenderer. adjustChildrenLayout(SignatureAppearanceRenderer.DisplayOption displayOption, Rectangle signatureRect, Rectangle descriptionRect, int pageNum)(package private) voidAbstractTextFieldRenderer. adjustNumberOfContentLines(java.util.List<LineRenderer> lines, Rectangle bBox, float height)Adjust number of content lines.(package private) voidAbstractTextFieldRenderer. adjustNumberOfContentLines(java.util.List<LineRenderer> lines, Rectangle bBox, int rows)Adjust number of content lines.private static voidAbstractTextFieldRenderer. adjustNumberOfContentLines(java.util.List<LineRenderer> lines, Rectangle bBox, int linesNumber, float height)protected RectangleCheckBoxRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)Applies the given border box (borders) on the given rectangleprotected RectangleRadioRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)Applies the given border box (borders) on the given rectangleprotected RectangleCheckBoxRenderer. applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)Applies given paddings to the given rectangle.(package private) voidAbstractOneLineTextFieldRenderer. cropContentLines(java.util.List<LineRenderer> lines, Rectangle bBox)Crops the content lines.private voidTextAreaRenderer. cropContentLines(java.util.List<LineRenderer> lines, Rectangle bBox)(package private) floatAbstractTextFieldRenderer. getHeightRowsBased(java.util.List<LineRenderer> lines, Rectangle bBox, int rows)private voidSignatureAppearanceRenderer. relayoutImage(Rectangle signatureRect, int pageNum)private voidSignatureAppearanceRenderer. 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 Rectangle Modifier and Type Method Description private floatPdfCheckBoxRenderingStrategy. calculateFontSize(CheckBoxRenderer checkBoxRenderer, PdfFont fontContainingSymbols, java.lang.String text, Rectangle rectangle, float borderWidth)voidHtmlCheckBoxRenderingStrategy. drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)Draws a check box icon.voidICheckBoxRenderingStrategy. drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)Draws a check box icon.voidPdfACheckBoxRenderingStrategy. drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)Draws a check box icon.voidPdfCheckBoxRenderingStrategy. drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)Draws a check box icon.private static voidPdfACheckBoxRenderingStrategy. drawIcon(CheckBoxType type, PdfCanvas canvas1, Rectangle rectangle)private voidPdfCheckBoxRenderingStrategy. drawZapfdingbatsIcon(PdfFont fontContainingSymbols, java.lang.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 Rectangle Modifier and Type Method Description static floatFontSizeUtil. approximateFontSizeToFitSingleLine(PdfFont localFont, Rectangle bBox, java.lang.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 Rectangle Modifier and Type Method Description (package private) static RectangleXfdfObjectUtils. convertRectFromString(java.lang.String rectString)Converts a string containing 2 or 4 float values into aRectangle.Methods in com.itextpdf.forms.xfdf with parameters of type Rectangle Modifier and Type Method Description (package private) voidAnnotObject. addAttribute(java.lang.String name, Rectangle value)(package private) static java.lang.StringXfdfObjectUtils. 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 Rectangle Modifier and Type Method Description private static Point[]StrategyBasedLinearGradientBuilder. buildCentralRotationCoordinates(Rectangle targetBoundingBox, double angle)ColorAbstractLinearGradientBuilder. buildColor(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document)Builds theColorobject 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 PdfAxialShadingAbstractLinearGradientBuilder. createAxialShading(Point[] baseCoordinatesVector, java.util.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 AffineTransformAbstractLinearGradientBuilder. getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox, AffineTransform contextTransform)Returns the current space to gradient vector space transformations that should be applied to the shading color.AffineTransformLinearGradientBuilder. 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.geom Modifier and Type Class Description classPageSizeMethods in com.itextpdf.kernel.geom that return Rectangle Modifier and Type Method Description RectangleRectangle. applyMargins(float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse)Change the rectangle according the specified margins.static RectangleRectangle. calculateBBox(java.util.List<Point> points)Calculates the bounding box of passed points.RectanglePageSize. clone()Creates a "deep copy" of this PageSize, meaning the object returned by this method will be independent of the object being cloned.RectangleRectangle. clone()Creates a "deep copy" of this rectangle, meaning the object returned by this method will be independent of the object being cloned.static RectangleRectangle. createBoundingRectangleFromQuadPoint(PdfArray quadPoints)Create the bounding rectangle for the given array of quadpoints.RectangleRectangle. decreaseHeight(float extra)Decreases the height of rectangle by the given value.RectangleRectangle. decreaseWidth(float extra)Decreases the width of rectangle by the given value.RectangleLineSegment. getBoundingRectangle()Computes the bounding rectangle for this line segment.static RectangleRectangle. getCommonRectangle(Rectangle... rectangles)Calculates the common rectangle which includes all the input rectangles.RectangleRectangle. getIntersection(Rectangle rect)Get the rectangle representation of the intersection between this rectangle and the passed rectanglestatic RectangleRectangle. 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.RectangleRectangle. increaseHeight(float extra)Increases the height of rectangle by the given value.RectangleRectangle. increaseWidth(float extra)Increases the width of rectangle by the given value.RectangleRectangle. moveDown(float move)Decreases the y coordinate.RectangleRectangle. moveLeft(float move)Decreases the x coordinate.RectangleRectangle. moveRight(float move)Increases the x coordinate.RectangleRectangle. moveUp(float move)Increases the y coordinate.RectangleRectangle. setBbox(float llx, float lly, float urx, float ury)Sets the rectangle by the coordinates, specifying its lower left and upper right points.RectangleRectangle. setHeight(float height)Sets the height of rectangle.RectangleRectangle. setWidth(float width)Sets the width of rectangle.RectangleRectangle. setX(float x)Sets the X coordinate of lower left point.RectangleRectangle. setY(float y)Sets the Y coordinate of lower left point.Methods in com.itextpdf.kernel.geom that return types with arguments of type Rectangle Modifier and Type Method Description static java.util.List<Rectangle>Rectangle. 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 Rectangle Modifier and Type Method Description booleanRectangle. contains(Rectangle rect)Check if this rectangle contains the passed rectangle.booleanRectangle. equalsWithEpsilon(Rectangle that)Compares instance of this rectangle with given deviation equals to 0.0001booleanRectangle. equalsWithEpsilon(Rectangle that, float eps)Compares instance of this rectangle with given deviation.static RectangleRectangle. getCommonRectangle(Rectangle... rectangles)Calculates the common rectangle which includes all the input rectangles.RectangleRectangle. getIntersection(Rectangle rect)Get the rectangle representation of the intersection between this rectangle and the passed rectanglestatic RectangleRectangle. 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.booleanRectangle. overlaps(Rectangle rect)Check if this rectangle and the passed rectangle overlapbooleanRectangle. overlaps(Rectangle rect, float epsilon)Check if this rectangle and the passed rectangle overlapvoidPath. rectangle(Rectangle rect)Appends a rectangle to the current path as a complete subpath.Constructors in com.itextpdf.kernel.geom with parameters of type Rectangle Constructor Description PageSize(Rectangle box)Rectangle(Rectangle rect)Creates the copy of givenRectangle -
Uses of Rectangle in com.itextpdf.kernel.pdf
Methods in com.itextpdf.kernel.pdf that return Rectangle Modifier and Type Method Description RectanglePdfPage. getArtBox()Gets theRectangleobject 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.RectanglePdfDictionary. getAsRectangle(PdfName key)Returns the value associated to this key as a Rectangle.RectanglePdfPage. getBleedBox()Gets theRectangleobject 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.RectanglePdfPage. getCropBox()Gets theRectanglespecified by page's CropBox, that defines the visible region of default user space.RectanglePdfPage. getMediaBox()GetsRectangleobject specified by page's Media Box, that defines the boundaries of the physical medium on which the page shall be displayed or printedRectanglePdfPage. getPageSize()Gets page size, defined by media box object.RectanglePdfPage. getPageSizeWithRotation()Gets page size, considering page rotation.RectanglePdfPage. getTrimBox()Gets theRectangleobject specified by page's TrimBox object, that define the intended dimensions of the finished page after trimming.RectanglePdfArray. toRectangle()Returns the first four elements of this array as a PdfArray.Methods in com.itextpdf.kernel.pdf with parameters of type Rectangle Modifier and Type Method Description PdfPagePdfPage. setArtBox(Rectangle rectangle)Sets the ArtBox object, that define the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.PdfPagePdfPage. 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.PdfPagePdfPage. setCropBox(Rectangle rectangle)Sets the CropBox object, that defines the visible region of default user space.PdfPagePdfPage. 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.PdfPagePdfPage. 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 Constructor Description PdfArray(Rectangle rectangle)Create a new PdfArray. -
Uses of Rectangle in com.itextpdf.kernel.pdf.annot
Methods in com.itextpdf.kernel.pdf.annot that return Rectangle Modifier and Type Method Description RectanglePdf3DAnnotation. 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 Rectangle Modifier and Type Method Description static PdfTextMarkupAnnotationPdfTextMarkupAnnotation. createHighLight(Rectangle rect, float[] quadPoints)Creates a text markup annotation of highlight style subtype.static PdfPolyGeomAnnotationPdfPolyGeomAnnotation. createPolygon(Rectangle rect, float[] vertices)static PdfPolyGeomAnnotationPdfPolyGeomAnnotation. createPolyLine(Rectangle rect, float[] vertices)static PdfTextMarkupAnnotationPdfTextMarkupAnnotation. createSquiggly(Rectangle rect, float[] quadPoints)Creates a text markup annotation of squiggly-underline type.static PdfTextMarkupAnnotationPdfTextMarkupAnnotation. createStrikeout(Rectangle rect, float[] quadPoints)Creates a text markup annotation of strikeout style subtype.static PdfTextMarkupAnnotationPdfTextMarkupAnnotation. createUnderline(Rectangle rect, float[] quadPoints)Creates a text markup annotation of underline style subtype.Pdf3DAnnotationPdf3DAnnotation. setViewBox(Rectangle viewBox)Sets the 3D view box, which is the rectangular area in which the 3D artwork shall be drawn. -
Uses of Rectangle in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas with parameters of type Rectangle Modifier and Type Method Description private PdfCanvasPdfCanvas. addFormFittedIntoRectangle(PdfFormXObject form, Rectangle rect)AddsPdfFormXObjectfitted into specific rectangle on canvas.PdfXObjectPdfCanvas. addImageFittedIntoRectangle(ImageData image, Rectangle rect, boolean asInline)CreatesPdfImageXObjectfrom image and fitted into specific rectangle on canvas.private PdfCanvasPdfCanvas. addImageFittedIntoRectangle(PdfImageXObject image, Rectangle rect)AddsPdfImageXObjectfitted into specific rectangle on canvas.PdfCanvasPdfCanvas. addXObjectFittedIntoRectangle(PdfXObject xObject, Rectangle rect)AddsPdfXObjectfitted into specific rectangle on canvas.PdfCanvasPdfCanvas. rectangle(Rectangle rectangle)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 Rectangle Modifier and Type Method Description voidDashedLine. draw(PdfCanvas canvas, Rectangle drawArea)voidDottedLine. draw(PdfCanvas canvas, Rectangle drawArea)voidILineDrawer. draw(PdfCanvas canvas, Rectangle drawArea)Performs configurable drawing operations related to specific region coordinates on a canvas.voidSolidLine. draw(PdfCanvas canvas, Rectangle drawArea) -
Uses of Rectangle in com.itextpdf.kernel.pdf.canvas.parser.filter
Fields in com.itextpdf.kernel.pdf.canvas.parser.filter declared as Rectangle Modifier and Type Field Description private RectangleTextRegionEventFilter. filterRectConstructors in com.itextpdf.kernel.pdf.canvas.parser.filter with parameters of type Rectangle Constructor Description TextRegionEventFilter(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 Rectangle Modifier and Type Field Description private RectangleCharacterRenderInfo. boundingBoxprivate RectangleDefaultPdfTextLocation. rectangleprivate RectangleTextMarginFinder. textRectangleMethods in com.itextpdf.kernel.pdf.canvas.parser.listener that return Rectangle Modifier and Type Method Description RectangleCharacterRenderInfo. getBoundingBox()RectangleDefaultPdfTextLocation. getRectangle()RectangleIPdfTextLocation. getRectangle()RectangleTextMarginFinder. 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 Rectangle Modifier and Type Method Description protected java.util.List<Rectangle>RegexBasedLocationExtractionStrategy. toRectangles(java.util.List<CharacterRenderInfo> cris)ConvertsCharacterRenderInfoobjects toRectangles 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 Rectangle Modifier and Type Method Description DefaultPdfTextLocationDefaultPdfTextLocation. setRectangle(Rectangle rectangle)Sets text rectangle (occupied area) for this pdf text location.Constructors in com.itextpdf.kernel.pdf.canvas.parser.listener with parameters of type Rectangle Constructor Description DefaultPdfTextLocation(Rectangle rect, java.lang.String text)Creates new pdf text location. -
Uses of Rectangle in com.itextpdf.kernel.pdf.colorspace
Methods in com.itextpdf.kernel.pdf.colorspace that return Rectangle Modifier and Type Method Description RectanglePdfPattern.Tiling. getBBox()Gets the pattern cell's bounding box.Methods in com.itextpdf.kernel.pdf.colorspace with parameters of type Rectangle Modifier and Type Method Description voidPdfPattern.Tiling. setBBox(Rectangle bbox)Sets the pattern cell's bounding box.Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type Rectangle Constructor Description Tiling(Rectangle bbox)Creates a new Tiling instance.Tiling(Rectangle bbox, boolean colored)Creates a new Tiling instance.Tiling(Rectangle bbox, float xStep, float yStep)Creates a new Tiling instance.Tiling(Rectangle bbox, float xStep, float yStep, boolean colored)Creates a new Tiling instance. -
Uses of Rectangle in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject that return Rectangle Modifier and Type Method Description static RectanglePdfFormXObject. calculateBBoxMultipliedByMatrix(PdfFormXObject form)Calculates the coordinates of the xObject BBox multiplied by the Matrix field.static RectanglePdfXObject. 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 RectanglePdfXObject. 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 Rectangle Constructor Description PdfFormXObject(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 Rectangle Modifier and Type Method Description java.lang.StringCompareTool. 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)Compares two PDF documents by content starting from page dictionaries and then recursively comparing corresponding objects which are referenced from them.java.lang.StringCompareTool. 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, byte[] outPass, byte[] cmpPass)This method overload is used to compare two encrypted PDF documents.private java.lang.StringCompareTool. compareByContent(java.lang.String outPath, java.lang.String differenceImagePrefix, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas)java.lang.StringCompareTool. compareVisually(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)Compares two documents visually.private java.lang.StringCompareTool. compareVisually(java.lang.String outPath, java.lang.String differenceImagePrefix, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas)private java.lang.StringCompareTool. compareVisually(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)private java.lang.StringCompareTool. compareVisuallyAndCombineReports(java.lang.String compareByFailContentReason, 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)private voidCompareTool. createIgnoredAreasPdfs(java.lang.String outPath, java.util.Map<java.lang.Integer,java.util.List<Rectangle>> ignoredAreas) -
Uses of Rectangle in com.itextpdf.kernel.utils.annotationsflattening
Methods in com.itextpdf.kernel.utils.annotationsflattening with parameters of type Rectangle Modifier and Type Method Description private static float[]AbstractTextMarkupAnnotationFlattener. convertFloatToQuadPoints(Rectangle rectangle) -
Uses of Rectangle in com.itextpdf.layout
Fields in com.itextpdf.layout declared as Rectangle Modifier and Type Field Description protected Rectangle[]ColumnDocumentRenderer. columnsprotected RectangleCanvas. rootAreaMethods in com.itextpdf.layout that return Rectangle Modifier and Type Method Description RectangleDocument. getPageEffectiveArea(PageSize pageSize)Returns the area that will actually be used to write on the page, given the current margins.RectangleCanvas. getRootArea()Gets the root area rectangle.Constructors in com.itextpdf.layout with parameters of type Rectangle Constructor Description Canvas(PdfCanvas pdfCanvas, Rectangle rootArea)Creates a new Canvas to manipulate a specific content stream, which might be for example a page orPdfFormXObjectstream.Canvas(PdfCanvas pdfCanvas, Rectangle rootArea, boolean immediateFlush)Creates a new Canvas to manipulate a specific document and page.Canvas(PdfPage page, Rectangle rootArea)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 Rectangle Modifier and Type Method Description voidBorder. draw(PdfCanvas canvas, Rectangle rectangle)Draw borders around the target rectangle.protected voidBorder. 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 Rectangle Modifier and Type Field Description protected RectangleLayoutArea. bBoxThe area's bounding boxFields in com.itextpdf.layout.layout with type parameters of type Rectangle Modifier and Type Field Description protected java.util.List<Rectangle>LayoutContext. floatRendererAreasThe list ofRectangleobjects.Methods in com.itextpdf.layout.layout that return Rectangle Modifier and Type Method Description RectangleLayoutArea. getBBox()Gets theboxwhich bounds the area.Methods in com.itextpdf.layout.layout that return types with arguments of type Rectangle Modifier and Type Method Description java.util.List<Rectangle>LayoutContext. getFloatRendererAreas()Gets list ofRectangleobjects.Methods in com.itextpdf.layout.layout with parameters of type Rectangle Modifier and Type Method Description voidLayoutArea. setBBox(Rectangle bbox)Sets theboxwhich bounds the area.Constructors in com.itextpdf.layout.layout with parameters of type Rectangle Constructor Description LayoutArea(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 Rectangle Constructor Description LayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, java.util.List<Rectangle> floatedRendererAreas)Creates the layout context.LayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, java.util.List<Rectangle> floatedRendererAreas, boolean clippedHeight)Creates the layout context.LineLayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, java.util.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 Rectangle Modifier and Type Field Description private RectangleMarginsCollapseHandler. backupLayoutBoxMethods in com.itextpdf.layout.margincollapse with parameters of type Rectangle Modifier and Type Method Description private voidMarginsCollapseHandler. addNotYetAppliedTopMargin(Rectangle layoutBox)private voidMarginsCollapseHandler. applyBottomMargin(Rectangle box, float bottomIndent)private voidMarginsCollapseHandler. applySelfCollapsedKidMarginWithClearance(Rectangle layoutBox)private voidMarginsCollapseHandler. applyTopMargin(Rectangle box, float topIndent)voidMarginsCollapseHandler. endChildMarginsHandling(Rectangle layoutBox)This method shall be called after child occupied area is included into parent occupied area.voidMarginsCollapseHandler. endMarginsCollapse(Rectangle layoutBox)private voidMarginsCollapseHandler. prepareBoxForLayoutAttempt(Rectangle layoutBox, int childIndex, boolean childIsBlockElement)private voidMarginsCollapseHandler. processUsedChildBufferSpaceOnTop(Rectangle layoutBox)private voidMarginsCollapseHandler. restoreLayoutBoxAfterFailedLayoutAttempt(Rectangle layoutBox)MarginsCollapseInfoMarginsCollapseHandler. startChildMarginsHandling(IRenderer child, Rectangle layoutBox)voidMarginsCollapseHandler. startMarginsCollapse(Rectangle parentBBox) -
Uses of Rectangle in com.itextpdf.layout.minmaxwidth
Methods in com.itextpdf.layout.minmaxwidth with parameters of type Rectangle Modifier and Type Method Description static doubleRotationMinMaxWidth. 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 Rectangle Modifier and Type Method Description PointBackgroundRepeat. prepareRectangleToDrawingAndGetWhitespace(Rectangle imageRectangle, Rectangle backgroundArea, BackgroundSize backgroundSize)Prepares the image rectangle for drawing.private PointBackgroundRepeat. processSpaceValueAndCalculateWhitespace(Rectangle imageRectangle, Rectangle backgroundArea) -
Uses of Rectangle in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as Rectangle Modifier and Type Field Description private RectangleGridSizer. actualBBoxprivate RectangleImageRenderer. initialOccupiedAreaBBoxprivate RectangleGridCell. layoutAreaprivate RectangleFlexItemInfo. rectangleFields in com.itextpdf.layout.renderer with type parameters of type Rectangle Modifier and Type Field Description (package private) java.util.List<Rectangle>RootRenderer. floatRendererAreasprivate java.util.List<Rectangle>RootRendererAreaStateHandler. storedNextFloatRenderAreasprivate java.util.List<Rectangle>RootRendererAreaStateHandler. storedPreviousFloatRenderAreasMethods in com.itextpdf.layout.renderer that return Rectangle Modifier and Type Method Description private RectangleAbstractRenderer. applyBackgroundBoxProperty(Rectangle rectangle, BackgroundBox clip)RectangleAbstractRenderer. 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 RectangleAbstractRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)Applies the given border box (borders) on the given rectangleprotected RectangleCellRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)protected RectangleTableRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)RectangleAbstractRenderer. applyMargins(Rectangle rect, boolean reverse)Applies margins of the renderer on the given rectangleprotected RectangleAbstractRenderer. applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse)Applies given margins on the given rectangleprotected RectangleCellRenderer. applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse)(package private) RectangleAbstractRenderer. applyMarginsBordersPaddings(Rectangle rect, boolean reverse)Applies margins, borders and paddings of the renderer on the given rectangle.RectangleAbstractRenderer. applyPaddings(Rectangle rect, boolean reverse)Applies paddings of the renderer on the given rectangleprotected RectangleAbstractRenderer. applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)Applies given paddings to the given rectangle.protected RectangleImageRenderer. applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)RectangleTableRenderer. applyPaddings(Rectangle rect, boolean reverse)protected RectangleTableRenderer. applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)private RectangleTableRenderer. applySingleSpacing(Rectangle rect, float spacing, boolean isHorizontal, boolean reverse)Applies the given horizontal or vertical spacing on the given rectangleprivate RectangleTableRenderer. applySpacing(Rectangle rect, float horizontalSpacing, float verticalSpacing, boolean reverse)Applies the given spacings on the given rectangleprotected RectangleCellRenderer. applySpacings(Rectangle rect, boolean reverse)Applies spacings on the given rectangle.protected RectangleCellRenderer. applySpacings(Rectangle rect, float[] spacings, boolean reverse)Applies given spacings on the given rectangle.protected RectangleAbstractRenderer. calculateAbsolutePdfBBox()Calculates the bounding box of the content in the coordinate system of the pdf entity on which content is placed, e.g.protected RectangleAbstractRenderer. calculateBBox(java.util.List<Point> points)Calculates bounding box around points.private static Rectangle[]FloatingHelper. findLastLeftAndRightBoxes(Rectangle layoutBox, java.util.List<Rectangle> yLevelBoxes)private static RectangleInlineVerticalAlignmentHelper. getAdjustedArea(IRenderer renderer)protected RectangleAbstractRenderer. getBackgroundArea(Rectangle occupiedAreaWithMargins)Evaluate the actual backgroundprotected RectangleTextRenderer. getBackgroundArea(Rectangle occupiedAreaWithMargins)RectangleAbstractRenderer. getBorderAreaBBox()Gets the border box of a renderer.RectangleImageRenderer. getBorderAreaBBox()private RectangleDocumentRenderer. getCurrentPageEffectiveArea(PageSize pageSize)RectangleAbstractRenderer. getInnerAreaBBox()(package private) RectangleGridCell. getLayoutArea()RectangleAbstractRenderer. getOccupiedAreaBBox()Gets the bounding box that contains all content written to theDrawContextby thisIRenderer.RectangleBlockRenderer. getOccupiedAreaBBox()RectangleFlexItemInfo. getRectangle()(package private) static RectangleFloatingHelper. includeChildFloatsInOccupiedArea(java.util.List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, java.util.Set<Rectangle> nonChildFloatingRendererAreas)(package private) RectangleBlockRenderer. recalculateLayoutBoxBeforeChildLayout(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox)(package private) RectangleFlexContainerRenderer. recalculateLayoutBoxBeforeChildLayout(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox)RectangleFlexUtil.FlexItemCalculationInfo. toRectangle()Methods in com.itextpdf.layout.renderer that return types with arguments of type Rectangle Modifier and Type Method Description private static java.util.List<Rectangle>FloatingHelper. getBoxesAtYLevel(java.util.List<Rectangle> floatRendererAreas, float currY)java.util.List<Rectangle>AbstractRenderer. initElementAreas(LayoutArea area)Gets all rectangles that thisIRenderercan draw upon in the given area.Methods in com.itextpdf.layout.renderer with parameters of type Rectangle Modifier and Type Method Description private static voidFloatingHelper. adjustBlockAreaAccordingToFloatRenderers(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox, float blockWidth, boolean isFloatLeft)(package private) static floatFloatingHelper. adjustBlockFormattingContextLayoutBox(BlockRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox, float blockWidth, float clearHeightCorrection)private static voidFloatingHelper. adjustBoxForFloatRight(Rectangle layoutBox, float blockWidth)private voidTableRenderer. 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 java.lang.FloatFloatingHelper. adjustFloatedBlockLayoutBox(AbstractRenderer renderer, Rectangle parentBBox, java.lang.Float blockWidth, java.util.List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue, OverflowPropertyValue overflowX)(package private) static voidFloatingHelper. adjustFloatedTableLayoutBox(TableRenderer tableRenderer, Rectangle layoutBox, float tableWidth, java.util.List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue)private voidTableRenderer. 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 floatFloatingHelper. adjustLayoutBoxAccordingToFloats(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox, java.lang.Float boxWidth, float clearHeightCorrection, MarginsCollapseHandler marginsCollapseHandler)(package private) static voidFloatingHelper. adjustLineAreaAccordingToFloats(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox)private voidLineRenderer. adjustLineOnFloatPlaced(Rectangle layoutBox, int childPos, FloatPropertyValue kidFloatPropertyVal, Rectangle justPlacedFloatBox)private voidAbstractRenderer. adjustPositionedRendererLayoutBoxWidth(IRenderer renderer, Rectangle fullBbox, java.lang.Float left, java.lang.Float right)(package private) static LayoutAreaFloatingHelper. adjustResultOccupiedAreaForFloatAndClear(IRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, boolean marginsCollapsingEnabled)(package private) static LayoutAreaFloatingHelper. adjustResultOccupiedAreaForFloatAndClear(IRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, float bfcHeightCorrection, boolean marginsCollapsingEnabled)protected voidAbstractRenderer. alignChildHorizontally(IRenderer childRenderer, Rectangle currentArea)protected voidAbstractRenderer. applyAbsolutePosition(Rectangle parentRect)private static voidFlexUtil. applyAlignContent(java.util.List<java.util.List<FlexUtil.FlexItemCalculationInfo>> lines, FlexContainerRenderer renderer, java.lang.Float crossSize, Rectangle layoutBox)private RectangleAbstractRenderer. applyBackgroundBoxProperty(Rectangle rectangle, BackgroundBox clip)RectangleAbstractRenderer. 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 RectangleAbstractRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)Applies the given border box (borders) on the given rectangleprotected RectangleCellRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)protected RectangleTableRenderer. applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)protected TableBordersCollapsedTableBorders. applyBottomTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse)protected TableBordersCollapsedTableBorders. applyBottomTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse)protected TableBordersSeparatedTableBorders. applyBottomTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse)protected TableBordersSeparatedTableBorders. applyBottomTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse)protected abstract TableBordersTableBorders. applyBottomTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse)protected abstract TableBordersTableBorders. applyBottomTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse)protected TableBordersCollapsedTableBorders. applyCellIndents(Rectangle box, float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse)protected TableBordersSeparatedTableBorders. applyCellIndents(Rectangle box, float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse)protected abstract TableBordersTableBorders. applyCellIndents(Rectangle box, float topIndent, float rightIndent, float bottomIndent, float leftIndent, boolean reverse)(package private) static voidFloatingHelper. applyClearance(Rectangle layoutBox, MarginsCollapseHandler marginsCollapseHandler, float clearHeightAdjustment, boolean isFloat)private voidTableRenderer. applyFixedXOrYPosition(boolean isXPosition, Rectangle layoutBox)protected TableBordersCollapsedTableBorders. applyLeftAndRightTableBorder(Rectangle layoutBox, boolean reverse)protected TableBordersSeparatedTableBorders. applyLeftAndRightTableBorder(Rectangle layoutBox, boolean reverse)protected abstract TableBordersTableBorders. applyLeftAndRightTableBorder(Rectangle layoutBox, boolean reverse)RectangleAbstractRenderer. applyMargins(Rectangle rect, boolean reverse)Applies margins of the renderer on the given rectangleprotected RectangleAbstractRenderer. applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse)Applies given margins on the given rectangleprotected RectangleCellRenderer. applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse)(package private) voidTableRenderer. applyMarginsAndPaddingsAndCalculateColumnWidths(Rectangle layoutBox)(package private) RectangleAbstractRenderer. applyMarginsBordersPaddings(Rectangle rect, boolean reverse)Applies margins, borders and paddings of the renderer on the given rectangle.(package private) booleanBlockRenderer. applyMaxHeight(Rectangle parentBBox, java.lang.Float blockMaxHeight, MarginsCollapseHandler marginsCollapseHandler, boolean isCellRenderer, boolean wasParentsHeightClipped, OverflowPropertyValue overflowY)(package private) AbstractRendererBlockRenderer. applyMinHeight(OverflowPropertyValue overflowY, Rectangle layoutBox)RectangleAbstractRenderer. applyPaddings(Rectangle rect, boolean reverse)Applies paddings of the renderer on the given rectangleprotected RectangleAbstractRenderer. applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)Applies given paddings to the given rectangle.protected RectangleImageRenderer. applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)RectangleTableRenderer. applyPaddings(Rectangle rect, boolean reverse)protected RectangleTableRenderer. applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse)protected voidBlockRenderer. applyRotationLayout(Rectangle layoutBox)This method rotates content of the renderer and calculates correct occupied area for the rotated element.private RectangleTableRenderer. applySingleSpacing(Rectangle rect, float spacing, boolean isHorizontal, boolean reverse)Applies the given horizontal or vertical spacing on the given rectangleprivate RectangleTableRenderer. applySpacing(Rectangle rect, float horizontalSpacing, float verticalSpacing, boolean reverse)Applies the given spacings on the given rectangleprotected RectangleCellRenderer. applySpacings(Rectangle rect, boolean reverse)Applies spacings on the given rectangle.protected RectangleCellRenderer. applySpacings(Rectangle rect, float[] spacings, boolean reverse)Applies given spacings on the given rectangle.private voidParagraphRenderer. applyTextAlignment(TextAlignment textAlignment, LineLayoutResult result, LineRenderer processedRenderer, Rectangle layoutBox, java.util.List<Rectangle> floatRendererAreas, boolean onlyOverflowedFloatsLeft, float lineIndent)protected TableBordersCollapsedTableBorders. applyTopTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse)protected TableBordersCollapsedTableBorders. applyTopTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse)protected TableBordersSeparatedTableBorders. applyTopTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse)protected TableBordersSeparatedTableBorders. applyTopTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse)protected abstract TableBordersTableBorders. applyTopTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean reverse)protected abstract TableBordersTableBorders. applyTopTableBorder(Rectangle occupiedBox, Rectangle layoutBox, boolean isEmpty, boolean force, boolean reverse)(package private) voidBlockRenderer. applyWidth(Rectangle parentBBox, java.lang.Float blockWidth, OverflowPropertyValue overflowX)private voidMulticolRenderer. applyWidth(Rectangle parentBbox, float originalWidth)private MulticolRenderer.MulticolLayoutResultMulticolRenderer. balanceContentAndLayoutColumns(LayoutContext prelayoutContext, Rectangle actualBbox)static java.util.List<java.util.List<FlexItemInfo>>FlexUtil. calculateChildrenRectangles(Rectangle flexContainerBBox, FlexContainerRenderer flexContainerRenderer)Performs flex layout algorithm.(package private) static floatFloatingHelper. calculateClearHeightCorrection(IRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox)private voidImageRenderer. calculateImageDimensions(Rectangle layoutBox, AffineTransform t, PdfXObject xObject)(package private) static java.lang.FloatFloatingHelper. calculateLineShiftUnderFloats(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox)private static floatFloatingHelper. calculateLowestFloatBottom(boolean isLeftOrBoth, boolean isRightOrBoth, float lowestFloatBottom, Rectangle[] lastLeftAndRightBoxes, java.util.List<Rectangle> floatRendererAreas)private static floatInlineVerticalAlignmentHelper. 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 floatLineRenderer. calculateTab(Rectangle layoutBox, float curWidth, TabStop tabStop, java.util.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 booleanAbstractRenderer. clipArea(DrawContext drawContext, Rectangle outerBorderBox, boolean clipOuter, boolean clipInner, boolean considerBordersBeforeOuterClipping, boolean considerBordersBeforeInnerClipping)protected booleanAbstractRenderer. clipBackgroundArea(DrawContext drawContext, Rectangle outerBorderBox)protected booleanAbstractRenderer. clipBackgroundArea(DrawContext drawContext, Rectangle outerBorderBox, boolean considerBordersBeforeClipping)protected booleanAbstractRenderer. clipBorderArea(DrawContext drawContext, Rectangle outerBorderBox)private static GridGridContainerRenderer. constructGrid(GridContainerRenderer renderer, Rectangle actualBBox)(package private) voidBlockRenderer. correctFixedLayout(Rectangle layoutBox)private voidTableRenderer. correctLayoutedCellsOccupiedAreas(LayoutResult[] splits, int row, int[] targetOverflowRowIndex, java.lang.Float blockMinHeight, Rectangle layoutBox, java.util.List<java.lang.Boolean> rowsHasCellWithSetHeight, boolean isLastRenderer, boolean processBigRowspan, boolean skip)static PdfFormXObjectAbstractRenderer. createXObject(AbstractLinearGradientBuilder linearGradientBuilder, Rectangle xObjectArea, PdfDocument document)Create aPdfFormXObjectwith the given area and containing a linear gradient inside.(package private) voidBlockRenderer. decreaseLayoutBoxAfterChildPlacement(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer)(package private) voidFlexContainerRenderer. decreaseLayoutBoxAfterChildPlacement(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer)(package private) voidFlexContainerRenderer. decreaseLayoutBoxAfterChildPlacementColumnLayout(Rectangle layoutBox, IRenderer childRenderer)(package private) voidFlexContainerRenderer. decreaseLayoutBoxAfterChildPlacementRowLayout(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer)private java.lang.FloatMulticolRenderer. determineHeight(Rectangle parentBBox)private voidAbstractRenderer. drawBackgroundImage(BackgroundImage backgroundImage, DrawContext drawContext, Rectangle backgroundArea)private booleanAbstractRenderer. drawBackgroundImagesList(java.util.List<BackgroundImage> backgroundImagesList, boolean backgroundAreaIsClipped, DrawContext drawContext, Rectangle backgroundArea)private voidAbstractRenderer. drawColorBackground(Background background, DrawContext drawContext, Rectangle colorBackgroundArea)private static voidAbstractRenderer. drawPdfXObject(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, Rectangle originBackgroundArea)private static voidAbstractRenderer. drawPdfXObjectHorizontally(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, boolean firstDraw, float xWhitespace)protected voidTableRenderer. extendLastRow(CellRenderer[] lastRow, Rectangle freeBox)private static Rectangle[]FloatingHelper. findLastLeftAndRightBoxes(Rectangle layoutBox, java.util.List<Rectangle> yLevelBoxes)protected TableBordersCollapsedTableBorders. fixHeaderOccupiedArea(Rectangle occupiedBox, Rectangle layoutBox)protected TableBordersSeparatedTableBorders. fixHeaderOccupiedArea(Rectangle occupiedBox, Rectangle layoutBox)protected abstract TableBordersTableBorders. fixHeaderOccupiedArea(Rectangle occupiedBox, Rectangle layoutBox)(package private) voidBlockRenderer. fixOccupiedAreaIfOverflowedX(OverflowPropertyValue overflowX, Rectangle layoutBox)(package private) voidFlexContainerRenderer. fixOccupiedAreaIfOverflowedX(OverflowPropertyValue overflowX, Rectangle layoutBox)(package private) voidBlockRenderer. fixOccupiedAreaIfOverflowedY(OverflowPropertyValue overflowY, Rectangle layoutBox)protected RectangleAbstractRenderer. getBackgroundArea(Rectangle occupiedAreaWithMargins)Evaluate the actual backgroundprotected RectangleTextRenderer. getBackgroundArea(Rectangle occupiedAreaWithMargins)private static LayoutContextGridContainerRenderer. getCellLayoutContext(LayoutContext layoutContext, Rectangle actualBBox, GridCell cell)private static java.lang.Float[]FlexUtil. getCrossSizes(FlexContainerRenderer renderer, Rectangle layoutBox)private static java.lang.FloatRotationUtils. getLayoutRotatedWidth(AbstractRenderer renderer, float availableWidth, Rectangle previousBBox, double angle)(package private) static floatFlexUtil. getMainSize(FlexContainerRenderer renderer, Rectangle layoutBox)(package private) static voidFlexUtil. handleAlignContentStretch(FlexContainerRenderer flexContainerRenderer, java.util.List<java.util.List<FlexUtil.FlexItemCalculationInfo>> lines, java.lang.Float crossSize, java.util.List<java.lang.Float> lineCrossSizes, Rectangle layoutBox)(package private) static RectangleFloatingHelper. includeChildFloatsInOccupiedArea(java.util.List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, java.util.Set<Rectangle> nonChildFloatingRendererAreas)(package private) booleanLineRenderer. 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.private MulticolRenderer.MulticolLayoutResultMulticolRenderer. layoutColumnsAndReturnOverflowRenderer(LayoutContext preLayoutContext, Rectangle actualBBox, float workingHeight)private GridContainerRenderer.GridLayoutResultGridContainerRenderer. layoutGrid(LayoutContext layoutContext, Rectangle actualBBox, Grid grid)protected MulticolRenderer.MulticolLayoutResultMulticolRenderer. layoutInColumns(LayoutContext layoutContext, Rectangle actualBBox)Layouts multicol in the passed area.(package private) voidAbstractRenderer. preparePositionedRendererAndAreaForLayout(IRenderer childPositionedRenderer, Rectangle fullBbox, Rectangle parentBbox)(package private) LayoutResultBlockRenderer. processNotFullChildResult(LayoutContext layoutContext, java.util.Map<java.lang.Integer,IRenderer> waitingFloatsSplitRenderers, java.util.List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, java.util.List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, java.util.List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, java.util.Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result)(package private) LayoutResultFlexContainerRenderer. processNotFullChildResult(LayoutContext layoutContext, java.util.Map<java.lang.Integer,IRenderer> waitingFloatsSplitRenderers, java.util.List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, java.util.List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, java.util.List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, java.util.Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result)(package private) RectangleBlockRenderer. recalculateLayoutBoxBeforeChildLayout(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox)(package private) RectangleFlexContainerRenderer. recalculateLayoutBoxBeforeChildLayout(Rectangle layoutBox, IRenderer childRenderer, Rectangle initialLayoutBox)(package private) voidBlockRenderer. recalculateOccupiedAreaAfterChildLayout(Rectangle resultBBox, java.lang.Float blockMaxHeight)(package private) voidFlexContainerRenderer. recalculateOccupiedAreaAfterChildLayout(Rectangle resultBBox, java.lang.Float blockMaxHeight)protected java.util.List<Point>AbstractRenderer. rectangleToPointsList(Rectangle rect)private static java.util.List<java.lang.Float>FlexUtil. retrieveCurrentPageLineCrossSizes(FlexContainerRenderer flexContainerRenderer, java.util.List<java.util.List<FlexUtil.FlexItemCalculationInfo>> lines, java.util.List<java.lang.Float> lineCrossSizes, java.lang.Float crossSize, Rectangle layoutBox)private java.util.List<IRenderer>FlexContainerRenderer. retrieveRenderersToOverflow(Rectangle flexContainerBBox)(package private) MarginsCollapseInfoBlockRenderer. startChildMarginsHandling(IRenderer childRenderer, Rectangle layoutBox, MarginsCollapseHandler marginsCollapseHandler)(package private) MarginsCollapseInfoFlexContainerRenderer. startChildMarginsHandling(IRenderer childRenderer, Rectangle layoutBox, MarginsCollapseHandler marginsCollapseHandler)private voidAbstractRenderer. updateMinHeightForAbsolutelyPositionedRenderer(IRenderer renderer, Rectangle parentRendererBox, java.lang.Float top, java.lang.Float bottom)Method parameters in com.itextpdf.layout.renderer with type arguments of type Rectangle Modifier and Type Method Description private static voidFloatingHelper. adjustBlockAreaAccordingToFloatRenderers(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox, float blockWidth, boolean isFloatLeft)(package private) static floatFloatingHelper. adjustBlockFormattingContextLayoutBox(BlockRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox, float blockWidth, float clearHeightCorrection)(package private) static java.lang.FloatFloatingHelper. adjustFloatedBlockLayoutBox(AbstractRenderer renderer, Rectangle parentBBox, java.lang.Float blockWidth, java.util.List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue, OverflowPropertyValue overflowX)(package private) static voidFloatingHelper. adjustFloatedTableLayoutBox(TableRenderer tableRenderer, Rectangle layoutBox, float tableWidth, java.util.List<Rectangle> floatRendererAreas, FloatPropertyValue floatPropertyValue)(package private) static floatFloatingHelper. adjustLayoutBoxAccordingToFloats(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox, java.lang.Float boxWidth, float clearHeightCorrection, MarginsCollapseHandler marginsCollapseHandler)(package private) static voidFloatingHelper. adjustLineAreaAccordingToFloats(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox)(package private) static LayoutAreaFloatingHelper. adjustResultOccupiedAreaForFloatAndClear(IRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, boolean marginsCollapsingEnabled)(package private) static LayoutAreaFloatingHelper. adjustResultOccupiedAreaForFloatAndClear(IRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox, float clearHeightCorrection, float bfcHeightCorrection, boolean marginsCollapsingEnabled)private voidParagraphRenderer. applyTextAlignment(TextAlignment textAlignment, LineLayoutResult result, LineRenderer processedRenderer, Rectangle layoutBox, java.util.List<Rectangle> floatRendererAreas, boolean onlyOverflowedFloatsLeft, float lineIndent)(package private) static floatFloatingHelper. calculateClearHeightCorrection(IRenderer renderer, java.util.List<Rectangle> floatRendererAreas, Rectangle parentBBox)(package private) static java.lang.FloatFloatingHelper. calculateLineShiftUnderFloats(java.util.List<Rectangle> floatRendererAreas, Rectangle layoutBox)private static floatFloatingHelper. calculateLowestFloatBottom(boolean isLeftOrBoth, boolean isRightOrBoth, float lowestFloatBottom, Rectangle[] lastLeftAndRightBoxes, java.util.List<Rectangle> floatRendererAreas)private static Rectangle[]FloatingHelper. findLastLeftAndRightBoxes(Rectangle layoutBox, java.util.List<Rectangle> yLevelBoxes)private static java.util.List<Rectangle>FloatingHelper. getBoxesAtYLevel(java.util.List<Rectangle> floatRendererAreas, float currY)(package private) static RectangleFloatingHelper. includeChildFloatsInOccupiedArea(java.util.List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, java.util.Set<Rectangle> nonChildFloatingRendererAreas)(package private) static RectangleFloatingHelper. includeChildFloatsInOccupiedArea(java.util.List<Rectangle> floatRendererAreas, Rectangle occupiedAreaBbox, java.util.Set<Rectangle> nonChildFloatingRendererAreas)(package private) static voidFloatingHelper. includeChildFloatsInOccupiedArea(java.util.List<Rectangle> floatRendererAreas, IRenderer renderer, java.util.Set<Rectangle> nonChildFloatingRendererAreas)(package private) static voidFloatingHelper. includeChildFloatsInOccupiedArea(java.util.List<Rectangle> floatRendererAreas, IRenderer renderer, java.util.Set<Rectangle> nonChildFloatingRendererAreas)(package private) LayoutResultBlockRenderer. processNotFullChildResult(LayoutContext layoutContext, java.util.Map<java.lang.Integer,IRenderer> waitingFloatsSplitRenderers, java.util.List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, java.util.List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, java.util.List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, java.util.Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result)(package private) LayoutResultFlexContainerRenderer. processNotFullChildResult(LayoutContext layoutContext, java.util.Map<java.lang.Integer,IRenderer> waitingFloatsSplitRenderers, java.util.List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, java.util.List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, java.util.List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, java.util.Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result)(package private) static voidFloatingHelper. removeFloatsAboveRendererBottom(java.util.List<Rectangle> floatRendererAreas, IRenderer renderer)Constructors in com.itextpdf.layout.renderer with parameters of type Rectangle Constructor Description FlexItemInfo(AbstractRenderer renderer, Rectangle rectangle)GridSizer(Grid grid, java.util.List<GridValue> templateColumns, java.util.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 Rectangle Modifier and Type Field Description private RectangleSignerProperties. pageRectMethods in com.itextpdf.signatures that return Rectangle Modifier and Type Method Description RectangleSignerProperties. getPageRect()Provides the rectangle that represent the position and dimension of the signature field in the page.protected RectanglePdfSigner. getWidgetRectangle(PdfWidgetAnnotation widget)Get the rectangle associated to the provided widget.Methods in com.itextpdf.signatures with parameters of type Rectangle Modifier and Type Method Description SignerPropertiesSignerProperties. setPageRect(Rectangle pageRect)Sets the rectangle that represent the position and dimension of the signature field in the page. -
Uses of Rectangle in com.itextpdf.styledxmlparser.css.page
Fields in com.itextpdf.styledxmlparser.css.page declared as Rectangle Modifier and Type Field Description private RectanglePageMarginBoxContextNode. containingBlockForMarginBoxprivate RectanglePageMarginBoxContextNode. pageMarginBoxRectangleMethods in com.itextpdf.styledxmlparser.css.page that return Rectangle Modifier and Type Method Description RectanglePageMarginBoxContextNode. getContainingBlockForMarginBox()RectanglePageMarginBoxContextNode. getPageMarginBoxRectangle()Gets the rectangle in which page margin box contents should be shown.Methods in com.itextpdf.styledxmlparser.css.page with parameters of type Rectangle Modifier and Type Method Description voidPageMarginBoxContextNode. 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.voidPageMarginBoxContextNode. setPageMarginBoxRectangle(Rectangle pageMarginBoxRectangle)Sets the rectangle in which page margin box contents are shown. -
Uses of Rectangle in com.itextpdf.svg.processors.impl
Fields in com.itextpdf.svg.processors.impl declared as Rectangle Modifier and Type Field Description private RectangleSvgConverterProperties. customViewportMethods in com.itextpdf.svg.processors.impl that return Rectangle Modifier and Type Method Description RectangleSvgConverterProperties. getCustomViewport()Gets the custom viewport of SVG.Methods in com.itextpdf.svg.processors.impl with parameters of type Rectangle Modifier and Type Method Description voidSvgConverterProperties. setCustomViewport(Rectangle customViewport)Sets the custom viewport of SVG. -
Uses of Rectangle in com.itextpdf.svg.renderers
Fields in com.itextpdf.svg.renderers declared as Rectangle Modifier and Type Field Description private RectangleSvgDrawContext. customViewportFields in com.itextpdf.svg.renderers with type parameters of type Rectangle Modifier and Type Field Description private java.util.Deque<Rectangle>SvgDrawContext. viewportsMethods in com.itextpdf.svg.renderers that return Rectangle Modifier and Type Method Description RectangleSvgDrawContext. getCurrentViewPort()Get the current viewbox.RectangleSvgDrawContext. getCustomViewport()Gets the custom viewport of SVG.RectangleISvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)Calculates the current object bounding box.RectangleSvgDrawContext. getRootViewPort()Get the viewbox which is the root viewport for the current document.Methods in com.itextpdf.svg.renderers with parameters of type Rectangle Modifier and Type Method Description voidSvgDrawContext. addViewPort(Rectangle viewPort)Adds a viewbox to the context.private voidSvgImageRenderer. calculateRelativeSizedSvgSize(SvgImage svgImage, Rectangle layoutBox)ColorISvgPaintServer. createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)Creates theColorthat represents the corresponding paint server for specified object box.voidSvgDrawContext. setCustomViewport(Rectangle customViewport)Sets the custom viewport of SVG. -
Uses of Rectangle in com.itextpdf.svg.renderers.impl
Fields in com.itextpdf.svg.renderers.impl declared as Rectangle Modifier and Type Field Description private RectangleTextSvgBranchRenderer. objectBoundingBoxMethods in com.itextpdf.svg.renderers.impl that return Rectangle Modifier and Type Method Description private RectanglePatternSvgNodeRenderer. calculateAppliedViewBox(Rectangle viewBox, double xStep, double yStep)private RectanglePatternSvgNodeRenderer. calculateOriginalPatternRectangle(SvgDrawContext context, boolean isObjectBoundingBoxInPatternUnits)(package private) RectangleAbstractContainerSvgNodeRenderer. calculateViewPort(SvgDrawContext context)Calculate the viewport based on the context.(package private) static RectanglePdfRootSvgNodeRenderer. calculateViewPort(SvgDrawContext context)private static RectangleAbstractBranchSvgNodeRenderer. getBBoxAccordingToVisibleOverflow(SvgDrawContext context)When in the svg elementoverflowisvisiblethe corresponding formXObject should have a BBox (form XObject’s bounding box; see PDF 32000-1:2008 - 8.10.2 Form Dictionaries) that should cover the entire svg space (page in pdf) in order to be able to show parts of the element which are outside the current element viewPort.private static RectangleTextSvgBranchRenderer. getCommonRectangleWithAnchor(Rectangle commonRect, Rectangle textChunkRect, float absoluteX, java.lang.String textAnchorValue)Adjust absolutely positioned text chunk (shift it to the start of view port, apply text anchor) and merge it with the common text rectangle.RectangleAbstractSvgNodeRenderer. getCurrentViewBox(SvgDrawContext context)Gets the viewbox from the first parent element which can define it.RectangleClipPathSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleDefsSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleEllipseSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleGroupSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleImageSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleLinearGradientSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleLineSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleMarkerSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectanglePathSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectanglePatternSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectanglePdfRootSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectanglePolylineSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleRectangleSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleStopSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleSvgTagSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleSymbolSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleTextLeafSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleTextSvgBranchRenderer. getObjectBoundingBox(SvgDrawContext context)RectangleUseSvgNodeRenderer. getObjectBoundingBox(SvgDrawContext context)Methods in com.itextpdf.svg.renderers.impl with parameters of type Rectangle Modifier and Type Method Description (package private) voidAbstractBranchSvgNodeRenderer. calculateAndApplyViewBox(SvgDrawContext context, float[] values, Rectangle currentViewPort)private RectanglePatternSvgNodeRenderer. calculateAppliedViewBox(Rectangle viewBox, double xStep, double yStep)ColorLinearGradientSvgNodeRenderer. createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)ColorPatternSvgNodeRenderer. createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)private static PdfPattern.TilingPatternSvgNodeRenderer. createColoredTilingPatternInstance(AffineTransform patternAffineTransform, Rectangle bbox, double xStep, double yStep)private PdfPattern.TilingPatternSvgNodeRenderer. createTilingPattern(SvgDrawContext context, Rectangle objectBoundingBox)private static RectangleTextSvgBranchRenderer. getCommonRectangleWithAnchor(Rectangle commonRect, Rectangle textChunkRect, float absoluteX, java.lang.String textAnchorValue)Adjust absolutely positioned text chunk (shift it to the start of view port, apply text anchor) and merge it with the common text rectangle.private AffineTransformLinearGradientSvgNodeRenderer. getGradientTransformToUserSpaceOnUse(Rectangle objectBoundingBox, boolean isObjectBoundingBox)private static AffineTransformPatternSvgNodeRenderer. getTransformToUserSpaceOnUse(Rectangle objectBoundingBox) -
Uses of Rectangle in com.itextpdf.svg.renderers.path
Methods in com.itextpdf.svg.renderers.path that return Rectangle Modifier and Type Method Description RectangleIPathShape. 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 Rectangle Modifier and Type Method Description RectangleAbstractPathShape. getPathShapeRectangle(Point lastPoint)Get bounding rectangle of the current path shape.RectangleCurveTo. getPathShapeRectangle(Point lastPoint)RectangleEllipticalCurveTo. getPathShapeRectangle(Point lastPoint)RectangleQuadraticCurveTo. getPathShapeRectangle(Point lastPoint) -
Uses of Rectangle in com.itextpdf.svg.utils
Subclasses of Rectangle in com.itextpdf.svg.utils Modifier and Type Class Description classTextRectangleA rectangle adapted for working with text elements.Methods in com.itextpdf.svg.utils that return Rectangle Modifier and Type Method Description static RectangleSvgCoordinateUtils. applyViewBox(Rectangle viewBox, Rectangle currentViewPort, java.lang.String align, java.lang.String meetOrSlice)Returns the viewBox received after scaling and displacement given preserveAspectRatio.static RectangleSvgCssUtils. extractWidthAndHeight(ISvgNodeRenderer svgRenderer, float em, SvgDrawContext context)Extract width and height of the passed SVGNodeRenderer, defaulting toSvgDrawContext.getCustomViewport()if either one is not present.Methods in com.itextpdf.svg.utils with parameters of type Rectangle Modifier and Type Method Description static RectangleSvgCoordinateUtils. applyViewBox(Rectangle viewBox, Rectangle currentViewPort, java.lang.String align, java.lang.String meetOrSlice)Returns the viewBox received after scaling and displacement given preserveAspectRatio.private static doubleSvgCoordinateUtils. getScaleWidthHeight(Rectangle viewBox, Rectangle currentViewPort, java.lang.String meetOrSlice) -
Uses of Rectangle in com.itextpdf.svg.xobject
Constructors in com.itextpdf.svg.xobject with parameters of type Rectangle Constructor Description SvgImageXObject(Rectangle bBox, ISvgProcessorResult result, ResourceResolver resourceResolver)Creates a new instance of Form XObject for the SVG image.
-