endpoints

open override fun endpoints(start: Vec2, end: Vec2): Line2(source)

Return

an updated curve with the specified endpoints.