Author: toshok Date: 2007-06-30 14:05:07 -0400 (Sat, 30 Jun 2007) New Revision: 81118
Added: trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml Log: add a test for an animated stroke thickness to check on the bounding box computation Added: trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml =================================================================== --- trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml 2007-06-30 18:04:37 UTC (rev 81117) +++ trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml 2007-06-30 18:05:07 UTC (rev 81118) @@ -0,0 +1,20 @@ +<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <Ellipse x:Name="ellipse" Canvas.Left="83" Canvas.Top="135" Stroke="red" StrokeThickness="1" Width="300" Height="150" RenderTransformOrigin="0.5,0.5"> + + <Ellipse.Triggers> + <EventTrigger RoutedEvent="Ellipse.Loaded"> + <BeginStoryboard> + <Storyboard x:Name="animation"> + <DoubleAnimation + Storyboard.TargetName="ellipse" + Storyboard.TargetProperty="StrokeThickness" + To="10" Duration="0:0:3" + AutoReverse="True" RepeatBehavior="Forever" /> + </Storyboard> + </BeginStoryboard> + </EventTrigger> + </Ellipse.Triggers> + </Ellipse> +</Canvas> _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
