Hi,
something like http://www.zuccaralloo.de/devgroup/samples/rotateRect.svg ? Regards- -Heiko http://www.zuccaralloo.de/devgroup/ --- In svg-developers@yahoogroups.com, pavan kumar <[EMAIL PROTECTED]> wrote: > > > yeah, i would like to rotate the rectangle with > animation about one of it sides (which is in along > z-axis). > > Thank you, > S.Pavan Kumar > > > > > --- Philippe Lhoste <[EMAIL PROTECTED]> wrote: > > > 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 > > -- -- -- -- -- -- -- -- -- -- -- -- -- > > -- > > > > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - What will yours do? > http://my.yahoo.com ----- 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/