public override void apply(Path path, float progress) { float dx = 0f, dy = 0f; AnimatedIconUtils._interpolateOffset(points, progress, ref dx, ref dy); path.lineTo(dx, dy); }
public override void apply(Path path, float progress) { float dx1 = 0f, dy1 = 0f, dx2 = 0f, dy2 = 0f, dx = 0f, dy = 0f; AnimatedIconUtils._interpolateOffset(controlPoints1, progress, ref dx1, ref dy1); AnimatedIconUtils._interpolateOffset(controlPoints2, progress, ref dx2, ref dy2); AnimatedIconUtils._interpolateOffset(targetPoints, progress, ref dx, ref dy); path.cubicTo( dx1, dy1, dx2, dy2, dx, dy ); }