CircularRevealHelper

Helper class to implement circular reveal functionality.

A CircularRevealWidget subclass will call the corresponding method in this helper, which contains the actual implementations for circular reveal. This helper communicates back to the widget via the Delegate.

Constructors

Link copied to clipboard
constructor(delegate: CircularRevealHelper.Delegate)

Types

Link copied to clipboard
interface Delegate
Delegate interface to be implemented by the CircularRevealWidget that owns this helper.
Link copied to clipboard
annotation class Strategy
Which strategy this view should use to create the circular reveal effect.

Properties

Link copied to clipboard
Specify that this view should use a BitmapShader to create the circular reveal effect.
Link copied to clipboard
val CLIP_PATH: Int = 1
Specify that this view should use clipPath to create the circular reveal effect.
Link copied to clipboard
Specify that this view should use createCircularReveal to create the circular reveal effect.
Link copied to clipboard
The circular reveal representation which affects how the current frame will be drawn.
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun draw(@NonNull canvas: Canvas)
Link copied to clipboard
open fun isOpaque(): Boolean
Link copied to clipboard