No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi. I am trying to perform a TranslateTransform on an Image using this code: double to; int increment = 2; TranslateTransform tt = new TranslateTransform(); background.RenderTransform = tt; to = Canvas.GetTop(background) + increment; DoubleAnimation da = new DoubleAnimation(to, TimeSpan.FromSeconds(0)); Canvas.SetTop(background, to); tt.BeginAnimation(TranslateTransform.YProperty, da); This works when the Image exists in … |
|
Hi. I am trying to display a JFrame containing a JLabel with an image, and I can't get the image to display. The text appears fine. I've done this before with no problem, so I have no idea what is wrong. I've tried everything I can think of to fix … |