quadraticBezierTo method

  1. @override
void quadraticBezierTo(
  1. PointT control,
  2. PointT p,
  3. bool shorthand
)
override

Add a quadraticBezierTo to the path

Implementation

@override
void quadraticBezierTo(PointT control, PointT p, bool shorthand) {
  if (shorthand) {
    _result.write('T ');
  } else {
    _result.write('Q ${control.x} ${control.y} ');
  }
  _result.write('${p.x} ${p.y} ');
}