indexOf

open override fun indexOf(element: Point): Int

Retrieves the position of the point in the mutable point collection. The first point that is equal to the supplied point is returned.

Return

The position of the point in the collection, -1 otherwise.