setSnapToSelfEnabled

open fun setSnapToSelfEnabled(enabled: Boolean)

Enables snapping to itself at the end of shape