Trying to use two arcsegment-based geometries to move an image along a semi-ellipse in, well, two segments.
So, the image at 270 degrees for example, upon event, will translate clockwise to 180 degrees. Finish, stay there. Then another event will have it translate (continue) clockwise to 90 degrees.
I have all the arcsegments, path figures, path geometry, storyboard stuff working. In fact the second translation works correctley, i.e. correct rotation angle and "relative" path.
However, it seems that the myStoryboard.Begin(this,true); statement first sends the image element back to the first (original) starting point, but, then translates correctly but relative to that first starting point ... not where the first segment ends.
Using the image's RenderTransform property's X and Y to translate.
Like I said all that is working, but, the second time doesn't start from the end of the first, even though the image stays there. On call the image moves back to the original starting point, then does what it should, essentially ending at 0 degrees, not
90, since it does the second segment from 270, not 180.
I've tried all kinds of stuff for days (feeling a bit inept frankly :( Learned that animations hold properties at bay, so I've tried Remove, FillBehavior.Stop, and manually setting the new starting point. I've looked for GetC
View Complete Post