I have a scattered image with some elements in it that I post in Orientation und Center. Now I want to be able to reset reset the scatter points after scaling, rotating and moving them while the program is running.
At the moment, I am doing this:
private void Reset_ContactTapGesture (object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
{
item1.Center = new Point(150,150);
item1.Orientation = 15;
item1.Width = 100;
item1.Height = 150;
}
Is there a better way to do this?
sofri source
share