pavan kumar wrote:
> How can i rotate a polygon about one of its sides
> using svg transformations .
>
> Thanking u,
> S.Pavan Kumar
I am not sure to understand your question.
You cannot rotate a polygon about one of its sides, unless you do it in
3D, which SVG cannot do.
You *can* rotate a polygon about one point on one of its sides, this is
quite trivial, I show it with a rectangle below.
<rect x="200" y="200" width="100" height="150"
fill="lightblue" stroke="cyan"/>
<rect x="200" y="200" width="100" height="150"
fill="blue" stroke="lightblue"
transform="rotate(30, 200,250)"/>
<circle cx="200" cy="250" r="2"
fill="red" stroke="lightred"/>
But perhaps you want to do animation?
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- For servers mangling my From and Reply-To fields,
-- please send private answers to PhiLho(a)GMX.net
-- -- -- -- -- -- -- -- -- -- -- -- -- --
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/