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

getLineCorners Method
In This Topic
Gets the display coordinates of the line 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[] getLineCorners()

#### Return Value

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

#### Reference

PDFTextLine Class
PDFTextLine Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.