Find a rectangle between two other rectangles using linear interpolation.
Syntax

[C#]

static Rectangle Tween(Rectangle first, Rectangle last, double t);

[Visual Basic]

Shared Function Tween(first As Rectangle, last As Rectangle, t As Double) As Rectangle
Params
Name Description
first The first rectangle.
last The last rectangle.
t A tween value between 0 and 1.
Notes

None.

Example

None.