Angle units are not consistent
------------------------------
Key: PDFBOX-1224
URL: https://issues.apache.org/jira/browse/PDFBOX-1224
Project: PDFBox
Issue Type: Wish
Affects Versions: 1.6.0
Environment: ubuntu 10.04
Reporter: jypllx
Priority: Minor
Hi Devs,
I've noticed that the angle units are not consistent throughout pdfbox. For
instance, org.apache.pdfbox.pdmodel.PDPage.setRotation() needs a angle in
degrees while
org.apache.pdfbox.pdmodel.edit.PDPageContentStream.setTextRotation() needs an
angle in radians...
The javadoc does not specify which units are taken as arguments.
It would save devs a bit of time to know that all angles are to be provided in
degrees or radians.
Thanks and keep up the good work !!
jy
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira