lerp static method
Implementation
static Layout lerp(Layout from, Layout to, double f) {
double fi = 1.0 - f;
return Layout(to.left * f + from.left * fi, to.top * f + from.top * fi,
to.width * f + from.width * fi, to.height * f + from.height * fi);
}