getRect
getRect() method
Get coordinates of rect that bounds portion. The rect includes all the lines of text in portion, including empty ones.
Returns
Rectangle2D.Float
Get coordinates of rect that bounds portion. The rect includes all the lines of text in portion, including empty ones.
Rectangle2D.Float