<Window x:Class="_12_形状画刷和变换_2改变形状的尺寸和放置形状.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_形状画刷和变换_2改变形状的尺寸和放置形状" Height="800" Width="800">
    <Grid UseLayoutRounding="True" ShowGridLines="True">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <Ellipse Grid.Row="0" Fill="Peru" Stroke="Black" Stretch="Fill" />
        <!-- Stretch="None" 除非将高宽设置为非0否则不会显示 -->
        <Ellipse Grid.Row="1" Fill="Green" Stroke="Blue" Stretch="None" />
        <Ellipse Grid.Row="2" Fill="Yellow" Stroke="Blue" Stretch="Uniform" />
        <Ellipse Grid.Row="3" Fill="Red" Stroke="Blue" Stretch="UniformToFill" />
    </Grid>
</Window>