You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Alexandre (JIRA)" <ji...@apache.org> on 2018/11/04 16:57:00 UTC
[jira] [Comment Edited] (PDFBOX-4368) How to get the polygon
vertices of a bounding box ?
[ https://issues.apache.org/jira/browse/PDFBOX-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674439#comment-16674439 ]
Alexandre edited comment on PDFBOX-4368 at 11/4/18 4:56 PM:
------------------------------------------------------------
Is there a way to get the closest shape (polygon) in case the char is sheared in the document ?
was (Author: arelaxend):
Is there a way to get the closest shape (polygon) in case the char is sheared in the document ? !scan3.png!
> 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
> Attachments: scan3.png
>
>
> 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org