curveVertex method
Implementation
void curveVertex(num x, num y) {
if (_shape == null) {
throw Exception("You need to call beginShape() before calling curveVertex().");
}
if (_shape!.mode != null) {
throw Exception("You can't add a curve vertex for a custom shape when using a non-default mode: ${_shape!.mode}");
}
_shape!.vertices.add(_CurveVertex(x, y));
// throw UnimplementedError("Flutter Processing doesn't know how to draw curve vertices, do you?");
}