using Microsoft.Expression.Shapes; Arc a = new Arc(); a.ArcThicknessUnit = Microsoft.Expression.Media.UnitType.Pixel; a.ArcThickness = 10; a.StrokeThickness = 1; a.Fill = new SolidColorBrush(Colors.Aqua); a.Stroke = new SolidColorBrush(Colors.DarkMagenta); a.StartAngle = 0; a.EndAngle = 360; a.Width = 200; a.Height = 200; a.Stretch = Stretch.None; _myStackPanel.Children.Add(a); DispatcherTimer dt = new DispatcherTimer(); dt.Interval = TimeSpan.FromMilliseconds(1); dt.Tick += (s, e) => { a.StartAngle = a.StartAngle + 4; }; dt.Start();
I'm looking for a way to animate a Bezier curve.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)