<Window x:Class="_12_形状画刷和变换_1矩形和椭圆.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Icon="public/003540AH4M72.jpg" Title="_12_形状画刷和变换_1矩形和椭圆" Height="450" Width="800">
    <StackPanel Margin="10">
        <Ellipse Width="100" Height="50" HorizontalAlignment="Left" StrokeThickness="8" Stroke="Blue" Fill="Yellow" />

        <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>
</Window>