- From: Cameron McCormack <cam@mcc.id.au>
- Date: Mon, 12 Feb 2007 17:11:48 +1100
- To: www-smil@w3.org
Hi Roger.
Roger Chapman:
> I'm still learning SMIL, so I apologize if this is a naive question,
> but is it possible to animate drawing a line in SMIL?
In a SMIL document, I’m not sure. But in an SVG document, yes, for
example:
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
<line x1="50" y1="50" x2="150" y2="150">
<animate attributeName="y1" to="150" begin="0s" dur="2s"/>
<animate attributeName="y2" to="50" begin="0s" dur="2s"/>
</line>
</svg>
--
Cameron McCormack, http://mcc.id.au/
xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Received on Monday, 12 February 2007 06:12:00 UTC