-
-
Save andreymusth/72d854c010938bac16b52f974b8f20ba to your computer and use it in GitHub Desktop.
hit test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Executes a hit test on any appropriate type associated with this [LayoutNodeWrapper]. | |
* | |
* Override appropriately to either add a [PointerInputFilter] to [hitPointerInputFilters] or | |
* to pass the execution on. | |
* | |
* @param pointerPosition The tested pointer position, which is relative to | |
* the [LayoutNodeWrapper]. | |
* @param hitPointerInputFilters The collection that the hit [PointerInputFilter]s will be | |
* added to if hit. | |
*/ | |
abstract fun hitTest( | |
pointerPosition: Offset, | |
hitPointerInputFilters: MutableList<PointerInputFilter> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment