~ubuntu-branches/ubuntu/karmic/moon/karmic

« back to all changes in this revision

Viewing changes to test/xaml/torture/bug-346308-lineargradientbrush.xaml

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-14 12:01:08 UTC
  • Revision ID: james.westby@ubuntu.com-20090214120108-06539vb25vhbd8bn
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<Canvas xmlns="http://schemas.microsoft.com/client/2007">
 
2
        <!-- removing Canvas.Top gets Moonlight close to the right value -->
 
3
        <Rectangle Canvas.Top="200" Canvas.Left="10" Width="100" Height="200">
 
4
        <Rectangle.Fill>
 
5
                <LinearGradientBrush MappingMode="Absolute" StartPoint="40,100" EndPoint="0,150">
 
6
                        <GradientBrush.GradientStops>
 
7
                                <GradientStopCollection>
 
8
                                        <GradientStop Color="#FFFF0000" Offset="0.0" />
 
9
                                        <GradientStop Color="#FF00FF00" Offset="0.5" />
 
10
                                        <GradientStop Color="#FF0000FF" Offset="1.0" />
 
11
                                </GradientStopCollection>
 
12
                        </GradientBrush.GradientStops>
 
13
                </LinearGradientBrush>
 
14
        </Rectangle.Fill>
 
15
        </Rectangle>
 
16
</Canvas>