interpolated

Returns a copy of this rounded rectangle interpolated to other rounded rectangle by a factor.

Parameters

to

the rounded rectangle to which this rounded rectangle is interpolated.

by

the interpolation factor which is expected to be in the range of [0, 1].