Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 18e27e0

Browse files
committed
RectangleGeometry now works.
1 parent 6cd9cdd commit 18e27e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

UserInterface/ShapesDemos/ShapesDemos/Views/ClipDemoPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<StackLayout Margin="20">
88
<Label Text="Unclipped image" />
99
<Image Source="monkeyface.png" />
10-
<!--<Label Text="Clipped image with RectangleGeometry" />
10+
<Label Text="Clipped image with RectangleGeometry" />
1111
<Image Source="monkeyface.png">
1212
<Image.Clip>
1313
<RectangleGeometry Rect="0,15,150,150" />
1414
</Image.Clip>
15-
</Image>-->
15+
</Image>
1616
<Label Text="Clipped image with EllipseGeometry" />
1717
<Image Source="monkeyface.png">
1818
<Image.Clip>

UserInterface/ShapesDemos/ShapesDemos/Views/PathDemoPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</Path.Data>
7373
</Path>
7474
<Label Text="Overlapping rectangles" />
75-
<!--<Path Stroke="Red"
75+
<Path Stroke="Red"
7676
StrokeThickness="3"
7777
Fill="Red"
7878
Aspect="Uniform"
@@ -85,7 +85,7 @@
8585
<RectangleGeometry Rect="576,192,192,192" />
8686
</GeometryGroup>
8787
</Path.Data>
88-
</Path>-->
88+
</Path>
8989
<Label Text="EllipseGeometry" />
9090
<Path Stroke="Green"
9191
StrokeThickness="2"

0 commit comments

Comments
 (0)