OnMaskChangedListener

public interface OnMaskChangedListener

com.google.android.material.carousel.OnMaskChangedListener


An interface that reports changes in mask values.

Summary

Public methods

abstract void onMaskChanged(RectF maskRect)

Called when changes in a mask's RectF occur.

Public methods

onMaskChanged

public abstract void onMaskChanged (RectF maskRect)

Called when changes in a mask's RectF occur.

Parameters
maskRect RectF: the bounds of the mask relative to the drawing bounds of the View