<svg width="500" height="500">
<line x1="20", y1="20" x2="100" y2="100" stroke-width="5" stroke="black"/>
<text x="15" y="15" style="font-family: Arial; fill: red">
Rotate 30
</text>
<line x1="20", y1="20" x2="100" y2="100" stroke-width="5" stroke="grey" transform="rotate(30)"/>
<rect x="100" y="100 " width="100" height="100" fill="red"/>
<rect x="100" y="100 " width="100" height="100" fill="orange" transform="rotate(5)"/>
<rect x="100" y="100 " width="100" height="100" fill="yellow" transform="rotate(10)"/>
<rect x="100" y="100 " width="100" height="100" fill="green" transform="rotate(15)"/>
<rect x="200" y="300 " width="100" height="100" fill="red"/>
<rect x="200" y="300 " width="100" height="100" fill="#FF9966" transform="rotate(5)"/>
<rect x="200" y="300 " width="100" height="100" fill="#EC5800" transform="rotate(10)"/>
<rect x="200" y="300 " width="100" height="100" fill="#D99058" transform="rotate(15)"/>
<rect x="200" y="300 " width="100" height="100" fill="orange" transform="rotate(20)"/>
<rect x="200" y="300 " width="100" height="100" fill="yellow" transform="rotate(20, 200, 300)"/>
</svg>
Rotate
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment