endpoints

open override fun endpoints(start: Vec2, end: Vec2): Bezier2.CubicBezier2(source)

Return

an updated curve with the specified endpoints.