A square that has been rotated by 30 degrees using rotatetransform in Silverlight

<Rectangle Width="50" Height="50" Fill="Green" Stroke="Black">
<Rectangle.RenderTransform>
<TransformGroup>
<RotateTransform Angle="30"/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.