Interface IAnimation
Represents an entity able to animate a control.
Namespace: GraphShape.Controls
Assembly: GraphShape.Controls.dll
Syntax
public interface IAnimation
Methods
| Improve this Doc View SourceAnimate(IAnimationContext, Control, Double, Double, TimeSpan)
Animates the control
to a given position.
Declaration
void Animate(IAnimationContext context, Control control, double x, double y, TimeSpan duration)
Parameters
Type | Name | Description |
---|---|---|
IAnimationContext | context | The context of the animation. |
Control | control | The control which should be animated to its new position. |
System.Double | x | The new horizontal coordinate. |
System.Double | y | The new vertical coordinate. |
TimeSpan | duration | The duration of the animation. |