lerpFrom method
Linearly interpolate from other shape to this shape by an extrapolation factor t.
Implementation
@override
IGuiShape lerpFrom(IGuiShape shape, double t) {
  if (shape is GuiShapePolygon) {
    return GuiShapePolygon(
        sides: lerpDouble(shape.sides, sides, t)!.toInt(),
        startAngle: GeoAngle(
            radian:
                lerpDouble(shape.startAngle.radian, startAngle.radian, t)),
        clockwise: clockwise,
        boxFit: boxFit,
        cornerRadius: lerpDouble(shape.cornerRadius, cornerRadius, t)!);
  } else {
    return GuiShapePolygon(
        sides: sides,
        startAngle: startAngle,
        clockwise: clockwise,
        boxFit: boxFit,
        cornerRadius: cornerRadius);
  }
}