combineWith method
Combines this alignment with other, averaging each axis.
Useful for interpolating between two anchor points without
pulling in Alignment.lerp semantics.
Implementation
Alignment combineWith(Alignment other, {double weight = 0.5}) {
final t = weight.clamp(0.0, 1.0);
return Alignment(
x + (other.x - x) * t,
y + (other.y - y) * t,
);
}