toCubic method

  1. @override
CubicSegment toCubic(
  1. Offset start
)
override

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('Move segment can not be converted to cubic.');
}