tags:

views:

9

answers:

1

I'm playing with WPF for the first time in an animation/graphics context, and I am wondering how you'd move sprites around. I googled and came up with this example, but the animation is done by increasing/decreasing the margins and padding.

My question is, is this normal? I would have thought you'd do animation by changing the x and y co-ordinates of a sprite, not its padding.

+1  A: 

Position and Margin are the same thing. Position is the distance to the edge of the screen, or the egde of the window. Margin is the same thing.

Guge
That's a good point...
SLC