How to set rotation using an existing API

fireball <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
I am using AffineTransform to rotate SVG elements but as far as I understand
it only provides two methods to rotate. One sets it identity matrix with a
rotation (setToRotation(theta)) and another rotates by a delta
(rotate(theta)).

What I want to do is set rotation to specific angle. I.e. I don't want to
set its matrix to identity matrix nor do I want to rotate by delta. I want
to be able to set rotation like we can by setting 'rotate' attribute. Is
there a way to do it using AffineTransform or another API?



--
View this message in context: http://batik.2283329.n4.nabble.com/How-to-set-rotation-using-an-existing-API-tp4655329.html
Sent from the Batik - Users mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.