core-ktx / androidx.graphics / android.graphics.PointF / component2

component2

inline operator fun PointF.component2(): Float

Returns the y coordinate of this point.

This method allows to use destructuring declarations when working with points, for example:

val (x, y) = myPoint