interpolate
Sets this rounded rectangle with the result of interpolation from one rounded rectangle to another rounded rectangle by a factor.
Parameters
from
the rounded rectangle from which the interpolation starts.
to
the rounded rectangle at which the interpolation ends.
by
the interpolation factor which is expected to be in the range of [0, 1].