equals

open operator override fun equals(other: Any?): Boolean(source)

Checks if other is a Line2D and if it coincidesWith this one.