void quadraticCurveTo(double cpx, double cpy, double x, double y) { addAction((Canvas canvas, Size size) { path2d.quadraticCurveTo(cpx, cpy, x, y); }); }