12-形状画刷和变换-1矩形和椭圆
This commit is contained in:
parent
bf62bb283d
commit
1f10d0861e
|
@ -5,8 +5,23 @@
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="_12_形状画刷和变换_1矩形和椭圆" Height="450" Width="800">
|
Title="_12_形状画刷和变换_1矩形和椭圆" Height="450" Width="800">
|
||||||
<StackPanel>
|
<StackPanel Margin="10">
|
||||||
<Ellipse Fill="Yellow " Stroke="Blue" Height="50" Width="100" HorizontalAlignment="Left" />
|
<Ellipse Width="100" Height="50" HorizontalAlignment="Left" StrokeThickness="8" Stroke="Blue" Fill="Yellow" />
|
||||||
<Rectangle Fill="Yellow" Stroke="Blue" Height="50" Width="100" Margin="5" HorizontalAlignment="Left" />
|
|
||||||
|
<Label Margin="0 10 0 0 " Content="圆角为5" />
|
||||||
|
<Rectangle Width="100" Height="50" HorizontalAlignment="Left" Stroke="Blue" StrokeThickness="4" Fill="Yellow"
|
||||||
|
RadiusX="5" RadiusY="5" />
|
||||||
|
|
||||||
|
<Label Margin="0 10 0 0 " Content="圆角为10" />
|
||||||
|
<Rectangle Width="100" Height="50" HorizontalAlignment="Left" Stroke="Blue" StrokeThickness="4" Fill="Yellow"
|
||||||
|
RadiusX="10" RadiusY="10" />
|
||||||
|
|
||||||
|
<Label Margin="0 10 0 0 " Content="圆角为x10 y25" />
|
||||||
|
<Rectangle Width="100" Height="50" HorizontalAlignment="Left" Stroke="Blue" StrokeThickness="4" Fill="Yellow"
|
||||||
|
RadiusX="10" RadiusY="25" />
|
||||||
|
|
||||||
|
<Label Margin="0 10 0 0 " Content="圆角为x100 y60" />
|
||||||
|
<Rectangle Width="100" Height="50" HorizontalAlignment="Left" Stroke="Blue" StrokeThickness="4" Fill="Yellow"
|
||||||
|
RadiusX="100" RadiusY="60" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
Loading…
Reference in New Issue