Android APIs
public class

ViewAnimationUtils

extends Object
java.lang.Object
   ↳ android.view.ViewAnimationUtils

Class Overview

Defines common utilities for working with View's animations.

Summary

Public Methods
final static ValueAnimator createCircularReveal(View view, int centerX, int centerY, float startRadius, float endRadius)
Returns a ValueAnimator which can animate a clipping circle.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static final ValueAnimator createCircularReveal (View view, int centerX, int centerY, float startRadius, float endRadius)

Returns a ValueAnimator which can animate a clipping circle. Any shadow cast by the View will respect the circular clip from this animator.

Parameters
view The View will be clipped to the animating circle.
centerX The x coordinate of the center of the animating circle.
centerY The y coordinate of the center of the animating circle.
startRadius The starting radius of the animating circle.
endRadius The ending radius of the animating circle.