1 <Canvas x:Name="page0" xmlns="http://schemas.microsoft.com/client/2007"
2 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Background="blue" Loaded="OnLoaded"
3 Width="500" Height="500">
4 <!-- We can't nest a Canvas.Clip inside a RenderTransform, make sure we deal -->
5 <!-- with that safely -->
6 <Canvas.RenderTransform>
10 <LineSegment x:Name="clipPoint0" Point="0,570"/>
11 <LineSegment x:Name="clipPoint1" Point="0,570"/>
12 <LineSegment x:Name="clipPoint2" Point="0,570"/>
13 <LineSegment x:Name="clipPoint3" Point="0,570"/>
14 <LineSegment x:Name="clipPoint4" Point="0,570"/>
18 </Canvas.RenderTransform>
19 <Rectangle Height="1000" Width="20" Opacity="0.6" Fill="Red">
21 <Canvas Width="25" Height="25" Fill="Yellow"/>