[
https://issues.apache.org/jira/browse/PDFBOX-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864766#action_12864766
]
Daniel Wilson commented on PDFBOX-722:
--------------------------------------
Thanks, Teka ... but I've got a couple questions:
1. Shouldn't drawPolygon use the *stroking* color?
2. Do these methods create components of the Path so they are rendered with
drawPath and fillPath?
3. Shouldn't fillPolygon create a Path and then fill it?
As I understand, Java sees a polygon as a special case of a path and PDF skips
the "special case" and just sees a path. If your methods work with that,
that's good. I'm just not sure ... so some clarification would be helpful.
Thanks.
> Add support to draw or fill a polygon
> -------------------------------------
>
> Key: PDFBOX-722
> URL: https://issues.apache.org/jira/browse/PDFBOX-722
> Project: PDFBox
> Issue Type: New Feature
> Components: Writing
> Affects Versions: 1.1.0
> Reporter: Teka
> Priority: Minor
> Fix For: 1.1.0
>
> Attachments: drawPolygon_and_FillPolygon.patch
>
>
> Add support to draw or fill a polygon.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.