PDF4Java Reference Documentation
com.o2sol.pdf4java.content.text Package / PDFTextRun Class / getCorners Method
Collapse All Expand All
In This Topic

getCorners Method
In This Topic
Gets the coordinates of the text run corners.
The order of the corners in the array is the following: lower left, lower right, upper right, upper left. These corners match the text baseline for the lower corners. The method considers the font's Descent for the lower corners.
Syntax

    public PDFPoint[] getCorners()

#### Return Value

The coordinates on the page of the text fragment's corners.
See Also

#### Reference

PDFTextRun Class
PDFTextRun Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.