13/11/2012, 13:30
|
| Moderador | | Fecha de Ingreso: abril-2002 Ubicación: Torremolinos (Málaga)
Mensajes: 19.607
Antigüedad: 22 años, 9 meses Puntos: 1284 | |
Respuesta: Rotar, mover, escalar y cambiar el color de un PNG Hola:
Un ejemplo de rotación:
El código:
Código:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="40" height="40" preserveAspectRatio="yes">
<image x="0px" y="0px" width="40px" height="40px" xlink:href="http://www.pepemolina.com/logo.png">
<animateTransform attributeType="xml"
attributeName="transform"
type="rotate"
from="0 20 20"
to="360 20 20"
dur="6s"
repeatCount="indefinite"/>
</image>
</svg>
Saludos
__________________ Por favor:
No hagan preguntas de temas de foros en mensajes privados... no las respondo |