Link to home
Create AccountLog in
Avatar of engineer999

asked on

WPF Brush Animation

Can anybody suggest a way to animate a circle similar to the default Win7\Vista wait cursor.

I'm using a WPF Custom Control derived from FrameworkElement and I'm drawing filled ellipses using the DrawingContext > DrawEllipse method. However I'd like to have an animated edge to the circle which rotates around it... I've managed to animate the brush that paints the circle to 'fade in' using the opacity property - but I'm looking for a solution that will give it a 'glowing edge' that rotates around it...? Is this possible?

Any suggestions would be greatly appreciated.
Avatar of codenhack
Flag of India image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account