Stay organized with collections
Save and categorize content based on your preferences.
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
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# OnMaskChangedListener\n=====================\n\n\n`\npublic\n\n\ninterface\nOnMaskChangedListener\n`\n\n\n`\n\n\n`\n\n|------------------------------------------------------------|\n| com.google.android.material.carousel.OnMaskChangedListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn interface that reports changes in mask values.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onMaskChanged](/reference/com/google/android/material/carousel/OnMaskChangedListener#onMaskChanged(android.graphics.RectF))`(RectF maskRect) ` Called when changes in a mask's [RectF](/reference/android/graphics/RectF) occur. |\n\nPublic methods\n--------------\n\n### onMaskChanged\n\n```\npublic abstract void onMaskChanged (RectF maskRect)\n```\n\nCalled when changes in a mask's [RectF](/reference/android/graphics/RectF) occur.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|-----------------------------------------------------------------------------------|\n| `maskRect` | `RectF`: the bounds of the mask relative to the drawing bounds of the View \u003cbr /\u003e |"]]