endpoints

abstract fun endpoints(start: Vec2, end: Vec2): Curve2(source)

Return

an updated curve with the specified endpoints.