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

[C#]

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

[Visual Basic]

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

None.

Example

None.