interpolate


Description:

public Rect interpolate (Rect b, double factor)

Linearly interpolates the origin and size of the two given rectangles.

Parameters:

this

a Rect

b

a Rect

factor

the linear interpolation factor

res

return location for the interpolated rectangle