[ 
https://issues.apache.org/jira/browse/PDFBOX-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674436#comment-16674436
 ] 

Tilman Hausherr commented on PDFBOX-4368:
-----------------------------------------

A bounding box is a rectangle. The two other points would beĀ [getLowerLeftX() 
{color:#333333}getUpperLeftY(){color}]{color:#333333} and 
{color}[getUpperLeftX() {color:#333333}getLowerLeftY(){color}]. There is no 
such thing as a rotated or shrinked char in a font. What's in the font is what 
you get. You can rotate / zoom later. See also the DrawPrintTextLocations.javva 
example from the source code download.

> How to get the polygon vertices of a bounding box ?
> ---------------------------------------------------
>
>                 Key: PDFBOX-4368
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4368
>             Project: PDFBox
>          Issue Type: Wish
>    Affects Versions: 2.0.12
>            Reporter: Alexandre
>            Priority: Minor
>              Labels: how-to
>
> Dear contributors,
> Is there a way to get the vertices (x,y) of a bounding box ? The current 
> object BoundingBox from font.getBoundingBox() returns two points 
> [getLowerLeftX() getLowerLeftY()] and [getUpperLeftX() getUpperLeftY()]. 
> I wish I could get the two other points when the box is not rectangle (for 
> rotated or shrinked chars).
> A.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to