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

« back to all changes in this revision

Viewing changes to test/xaml/test-shape-line-caps-stretch.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/winfx/2006/xaml/presentation" Width="220" Height="400">
 
2
        <Rectangle Canvas.Left="10" Width="200" Height="400" Fill="LightSteelBlue" Stretch="Fill" />
 
3
        <Line StrokeStartLineCap="Flat" StrokeEndLineCap="Flat" 
 
4
                Stroke="Black" Stretch="Fill" 
 
5
                Width="200" Height="50" 
 
6
                Canvas.Top="15" Canvas.Left="10" 
 
7
                StrokeThickness="20" 
 
8
                X1="20" Y1="20" X2="60" Y2="30" />
 
9
        <Line StrokeStartLineCap="Square" StrokeEndLineCap="Square" 
 
10
                Stroke="Blue" Stretch="Fill" 
 
11
                Width="200" Height="50" 
 
12
                Canvas.Top="40" Canvas.Left="10" 
 
13
                StrokeThickness="20" 
 
14
                X1="20" Y1="20" X2="60" Y2="30" />
 
15
        <Line StrokeStartLineCap="Round" StrokeEndLineCap="Round" 
 
16
                Stroke="Green" Stretch="Fill" 
 
17
                Width="200" Height="50" 
 
18
                Canvas.Top="65" Canvas.Left="10" 
 
19
                StrokeThickness="20" 
 
20
                X1="20" Y1="20" X2="60" Y2="30" />
 
21
        <Line StrokeStartLineCap="Round" StrokeEndLineCap="Flat" 
 
22
                Stroke="Red" Stretch="Fill" 
 
23
                Width="200" Height="50" 
 
24
                Canvas.Top="90" Canvas.Left="10" 
 
25
                StrokeThickness="20" 
 
26
                X1="20" Y1="20" X2="60" Y2="30" />
 
27
        <Line StrokeStartLineCap="Flat" StrokeEndLineCap="Round" 
 
28
                Stroke="Tomato" Stretch="Fill" 
 
29
                Width="200" Height="50" 
 
30
                Canvas.Top="115" Canvas.Left="10" 
 
31
                StrokeThickness="20" 
 
32
                X1="20" Y1="20" X2="60" Y2="30" />
 
33
        <Line StrokeStartLineCap="Triangle" StrokeEndLineCap="Square" 
 
34
                Stroke="Purple" Stretch="Fill" 
 
35
                Width="200" Height="50" 
 
36
                Canvas.Top="140" Canvas.Left="10" 
 
37
                StrokeThickness="20" 
 
38
                X1="20" Y1="20" X2="60" Y2="30" />
 
39
        <Line StrokeStartLineCap="Round" StrokeEndLineCap="Round" 
 
40
                Stroke="Yellow" Stretch="Fill" 
 
41
                Width="200" Height="50" 
 
42
                Canvas.Top="200" Canvas.Left="10" 
 
43
                StrokeThickness="20" 
 
44
                X1="20" Y1="20" X2="60" Y2="20" />
 
45
        <Line StrokeStartLineCap="Round" StrokeEndLineCap="Round" 
 
46
                Stroke="Gray" Stretch="Fill" 
 
47
                Width="200" Height="50" 
 
48
                Canvas.Top="230" Canvas.Left="10" 
 
49
                StrokeThickness="20" 
 
50
                X1="60" Y1="20" X2="20" Y2="20" />
 
51
        <Line StrokeStartLineCap="Flat" StrokeEndLineCap="Round" 
 
52
                Stroke="Silver" Stretch="Fill" 
 
53
                Width="200" Height="50" 
 
54
                Canvas.Top="260" Canvas.Left="10" 
 
55
                StrokeThickness="20" 
 
56
                X1="20" Y1="20" X2="60" Y2="20" />
 
57
        <Line StrokeStartLineCap="Round" StrokeEndLineCap="Triangle" 
 
58
                Stroke="DarkBlue" Stretch="Fill" 
 
59
                Width="200" Height="50" 
 
60
                Canvas.Top="290" Canvas.Left="10" 
 
61
                StrokeThickness="20" 
 
62
                X1="20" Y1="20" X2="60" Y2="20" />
 
63
</Canvas>