toCubic method
Converts this segment to a CubicSegment.
This method is used for morphing.
The algrithoms are from https://github.com/thednp/svg-path-commander 2.0.2
Implementation
@override
CubicSegment toCubic(Offset start) {
throw UnsupportedError('Close segment should not call this method.');
}