createCircularReveal

open fun createCircularReveal(@NonNull view: CircularRevealWidget, centerX: Float, centerY: Float, endRadius: Float): Animator

Returns an Animator to animate a clipping circle. The startRadius will be the current getRevealInfo's radius at the start of the animation.

This is meant to be used as a drop-in replacement for createCircularReveal. In pre-L APIs, a backwards compatible version of the Animator will be returned.

You must also call createCircularRevealListener and add the returned AnimatorListener to this Animator or preferably to the overall AnimatorSet.


open fun createCircularReveal(view: CircularRevealWidget, centerX: Float, centerY: Float, startRadius: Float, endRadius: Float): Animator

Returns an Animator to animate a clipping circle.

This is meant to be used as a drop-in replacement for createCircularReveal. In pre-L APIs, a backwards compatible version of the Animator will be returned.

You must also call createCircularRevealListener and add the returned AnimatorListener to this Animator or preferably to the overall AnimatorSet.