Constructors
GH_Motion
#Constructor. Create a new stack keyframe animator.
public GH_Motion()
Rectangle
rec_0,
Initial dimensions of stack element.
Rectangle
rec_1,
Final dimensions of stack element.
duration
The duration, in milliseconds, for the animation
Properties
CurrentBox
#Gets the rectangle that describes the shape of the box at the current instant.
public Rectangle CurrentBox { get; }
Interpolation
#Gets or sets the interpolation method for blending frames.
public GH_Interpolation Interpolation { get; set; }
Methods
ResizeContainer
#Call this function to override the width or height without interfering with the animation.