isTapped

fun Offset.isTapped(tapOffset: Float, xOffset: Float): Boolean

Returns true if the given tap offset is selected point or not else false

Parameters

tapOffset

: Offset of the tapped point.

xOffset

: Distance between two points in X-Axis.