Basic square skewed by 18 degrees on both the x and y-axes in Silverlight

A SkewTransform warps the coordinate space in a divergent manner. By skewing or shearing an element, you basically slant the element in a direction.

<Rectangle Width="75" Height="75" Fill="Green"
Stroke="Black" Canvas.Left="12" Canvas.Top="12">
<Rectangle.RenderTransform>
<TransformGroup>
<SkewTransform AngleX="18" AngleY="18"/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.