* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-lineargradientbrush-absolute-moire.xaml
blob443e41ff04038ec69c443dd05f288f49ead2941c
1 <Canvas
2   xmlns="http://schemas.microsoft.com/client/2007"
3   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4   Width="230" Height="340">
5   <Rectangle Width="100" Height="100" Canvas.Top="10" Canvas.Left="10">
6    <Rectangle.Fill>
7     <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="1,1" MappingMode="Absolute">
8      <LinearGradientBrush.GradientStops>
9       <GradientStop Color="Blue" Offset="0.0" />
10       <GradientStop Color="Red" Offset="1.0" />
11      </LinearGradientBrush.GradientStops> 
12     </LinearGradientBrush>
13    </Rectangle.Fill>
14   </Rectangle>
15   <Rectangle Width="100" Height="100" Canvas.Top="10" Canvas.Left="120">
16    <Rectangle.Fill>
17     <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="2,2" MappingMode="Absolute">
18      <LinearGradientBrush.GradientStops>
19       <GradientStop Color="Blue" Offset="0.0" />
20       <GradientStop Color="Red" Offset="1.0" />
21      </LinearGradientBrush.GradientStops> 
22     </LinearGradientBrush>
23    </Rectangle.Fill>
24   </Rectangle>
25   <Rectangle Width="100" Height="100" Canvas.Top="120" Canvas.Left="10">
26    <Rectangle.Fill>
27     <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="4,4" MappingMode="Absolute">
28      <LinearGradientBrush.GradientStops>
29       <GradientStop Color="Blue" Offset="0.0" />
30       <GradientStop Color="Red" Offset="1.0" />
31      </LinearGradientBrush.GradientStops> 
32     </LinearGradientBrush>
33    </Rectangle.Fill>
34   </Rectangle>
35   <Rectangle Width="100" Height="100" Canvas.Top="120" Canvas.Left="120">
36    <Rectangle.Fill>
37     <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="10,10" MappingMode="Absolute">
38      <LinearGradientBrush.GradientStops>
39       <GradientStop Color="Blue" Offset="0.0" />
40       <GradientStop Color="Red" Offset="1.0" />
41      </LinearGradientBrush.GradientStops> 
42     </LinearGradientBrush>
43    </Rectangle.Fill>
44   </Rectangle>
45   <Rectangle Width="100" Height="100" Canvas.Top="230" Canvas.Left="10">
46    <Rectangle.Fill>
47     <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="1,1" MappingMode="Absolute">
48      <LinearGradientBrush.GradientStops>
49       <GradientStop Color="Blue" Offset="0.0" />
50       <GradientStop Color="Red" Offset="0.2" />
51       <GradientStop Color="Yellow" Offset="0.4" />
52       <GradientStop Color="Green" Offset="0.6" />
53       <GradientStop Color="White" Offset="0.8" />
54       <GradientStop Color="Orange" Offset="1.0" />
55      </LinearGradientBrush.GradientStops> 
56     </LinearGradientBrush>
57    </Rectangle.Fill>
58   </Rectangle>
59   <Rectangle Width="100" Height="100" Canvas.Top="230" Canvas.Left="120">
60    <Rectangle.Fill>
61     <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="2,2" MappingMode="Absolute">
62      <LinearGradientBrush.GradientStops>
63       <GradientStop Color="Blue" Offset="0.0" />
64       <GradientStop Color="Red" Offset="0.2" />
65       <GradientStop Color="Yellow" Offset="0.4" />
66       <GradientStop Color="Green" Offset="0.6" />
67       <GradientStop Color="White" Offset="0.8" />
68       <GradientStop Color="Orange" Offset="1.0" />
69      </LinearGradientBrush.GradientStops> 
70     </LinearGradientBrush>
71    </Rectangle.Fill>
72   </Rectangle>
73 </Canvas>