public class TextRectangle extends 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 |
---|---|
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, toString
public TextRectangle(float x, float y, float width, float height, float textBaseLineYCoordinate)
x
- the x coordinate of lower left point
y
- the y coordinate of lower left point
width
- the width value
height
- the height value
textBaseLineYCoordinate
- the y coordinate of the line on which the text is located.
public Point getTextBaseLineRightPoint()
Copyright © 1998–2023 iText Group NV. All rights reserved.