Skip to content

Commit

Permalink
线段
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Nov 25, 2016
1 parent 3dddb5b commit 70e220e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion uwp/control/Button/Button/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@
mc:Ignorable="d">

<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

<Grid Margin="10,10,10,10">
<Canvas>
<Line X1="0" X2="200" Y1="10" Y2="200"
Stroke="Black" StrokeThickness="5"></Line>
<!--<Line X2="500"
Y2="300"
Stroke="Red"
StrokeThickness="170"
StrokeDashArray="0.02 0.06">
<Line.Clip>
<RectangleGeometry Rect="0 0 500 200" />
</Line.Clip>
--><!--<Line.Clip>
<RectangleGeometry Rect="0 0 400 200" />
</Line.Clip>--><!--
</Line>-->
</Canvas>
</Grid>
</Grid>
</Page>

0 comments on commit 70e220e

Please sign in to comment.