public class TextRectangle
extends com.itextpdf.kernel.geom.Rectangle
| Constructor and Description |
|---|
TextRectangle(float x,
float y,
float width,
float height,
float textBaseLineYCoordinate)
Create new instance of text rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
com.itextpdf.kernel.geom.Point |
getTextBaseLineRightPoint()
Return the far right point of the rectangle with y on the baseline.
|
applyMargins, calculateBBox, clone, contains, createBoundingRectangleFromQuadPoint, createBoundingRectanglesFromQuadPoint, decreaseHeight, decreaseWidth, equalsWithEpsilon, equalsWithEpsilon, getBottom, getCommonRectangle, getHeight, getIntersection, getLeft, getRectangleOnRotatedPage, getRight, getTop, getWidth, getX, getY, increaseHeight, increaseWidth, intersectsLine, moveDown, moveLeft, moveRight, moveUp, overlaps, overlaps, setBbox, setHeight, setWidth, setX, setY, toPointsArray, toStringpublic TextRectangle(float x,
float y,
float width,
float height,
float textBaseLineYCoordinate)
x - the x coordinate of lower left pointy - the y coordinate of lower left pointwidth - the width valueheight - the height valuetextBaseLineYCoordinate - the y coordinate of the line on which the text is located.Copyright © 1998–2020 iText Group NV. All rights reserved.